Winhance icon indicating copy to clipboard operation
Winhance copied to clipboard

[BUG] Updated to new version last night, now my startup programs do not start on boot

Open PlutoMiner opened this issue 10 months ago • 26 comments

Please confirm these before moving forward

  • [x] I have searched for my issue and have not found a similiar in the Open or Closed issues.
  • [x] I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • [x] I have checked the Discussions section for solutions.
  • [x] This issue is about a bug (if it is not, please use the correct template).

Winhance Version

v26.01.26

Windows version, edition, and architecture

Windows 11 Enterprise

Describe your issue

Opened Winhance last night, updated to new version (v26.01.26), did not change anything, did not install anything. Started my desktop this morning, now my startup programs do not start on boot (they are enabled), my vpn does not start, the only icons in my system tray are volume and the time. No Windows security icon, no USB icon, no network activity icon. Went into taskbar settings, enabled/disabled icons, rebooted after trying that ( rebooted after each troubleshooting step) nothing worked. Went into task manager, fortunately my antivirus was running, but not my VPN (checked settings in vpn to make sure run on startup was still selected) Multiple reboots, no change.

Steps to reproduce the issue

Open a previous version of Winhance, update to new version (v26.01.26), after update goes through, launch Winhance, do not change anything, do not install any 3rd party apps, close Winhance, reboot system.

Expected behavior

I expected normal Windows behavior since I did not change anything, aside from clicking yes on the update prompt after opening Winhance

Actual behavior

Now my startup programs do not start, I have to manually start my VPN, No icons show next to the clock, except the VPN (after I start it) and my antivirus (after I double click on the desktop shortcut) and the volume.

Screenshots or Logs (if applicable)

Winhance_Log_20260128_172405.log

Winhance_Log_20260129_111705.log

Additional context

Windows 11 Enterprise, User with Admin rights, on my personal PC at home. Not on Active Directory. My current employment is as a senior pc technician since 2001 at a large shipping company, multiple certs.

PlutoMiner avatar Jan 29 '26 19:01 PlutoMiner

Experiencing the same thing after the update, my adguard doesn't start up, have to manually open it. One additional thing I noticed is while booting up to the desktop, the desktop will refresh, which I'm assuming is has something to do with the explorer.exe after the update.

afr628 avatar Jan 30 '26 06:01 afr628

Hey there,

Thanks for reporting this issue.

I'm experiencing the same thing on my pc and I am actively investigating the cause of this. It looks like it might be related to the additional cleanup tasks I added to either the EdgeRemoval or OneDriveRemoval scripts.

@afr628

One additional thing I noticed is while booting up to the desktop, the desktop will refresh, which I'm assuming is has something to do with the explorer.exe after the update.

Yes, this is normal in the new OneDriveRemoval script, however, it should not happen every single time the computer starts up, it should only happen when it removes OneDrive. If it happens every single time the computer starts up, it means there is a file related to OneDrive it cannot clean up.

I will provide a fix and more details about the startup programs later once I have it.

memstechtips avatar Jan 30 '26 06:01 memstechtips

@PlutoMiner @afr628

Please run this in PowerShell(Admin):

Disable-ScheduledTask -TaskPath "\Winhance\" -TaskName "OneDriveRemoval"

After that, restart the computer and on the next launch, tell me if the startup programs are back.

memstechtips avatar Jan 30 '26 07:01 memstechtips

Thanks for notifying me of this, it has been fixed in the dev branch in 7c7b4cd and will be implemented in the next release.

For now, just disable the problematic scheduled task using:

Disable-ScheduledTask -TaskPath "\Winhance\" -TaskName "OneDriveRemoval"

When the new version of Winhance is released, it will automatically update the problematic script. If you disabled the task as a workaround, you can re-enable it with:

Enable-ScheduledTask -TaskPath "\Winhance\" -TaskName "OneDriveRemoval"

memstechtips avatar Jan 30 '26 07:01 memstechtips

Hi, no, I do not have this folder, C:\Program Files\Microsoft OneDrive

Thank you for your fast response.

From: Marco du Plessis @.> Sent: Friday, January 30, 2026 12:59 AM To: memstechtips/Winhance @.> Cc: PlutoMiner @.>; Mention @.> Subject: Re: [memstechtips/Winhance] [BUG] Updated to new version last night, now my startup programs do not start on boot (Issue #377)

https://avatars.githubusercontent.com/u/172593213?s=20&v=4 memstechtips left a comment (memstechtips/Winhance#377) https://github.com/memstechtips/Winhance/issues/377#issuecomment-3822185429

@PlutoMiner https://github.com/PlutoMiner @afr628 https://github.com/afr628

Do any of you have this folder or files in this folder? C:\Program Files\Microsoft OneDrive

— Reply to this email directly, view it on GitHub https://github.com/memstechtips/Winhance/issues/377#issuecomment-3822185429 , or unsubscribe https://github.com/notifications/unsubscribe-auth/B5Q7C5J45PKPJRGQXXVQHXL4JL6JTAVCNFSM6AAAAACTLFPGLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTQMRSGE4DKNBSHE . You are receiving this because you were mentioned. https://github.com/notifications/beacon/B5Q7C5PMUH4JRWJE5JC7VW34JL6JTA5CNFSM6AAAAACTLFPGLCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTXD2HV5K.gif Message ID: @.*** @.***> >

PlutoMiner avatar Jan 30 '26 15:01 PlutoMiner

Hi, yes, it did work. After launch, all the startup programs are back.

Thank you

From: Marco du Plessis @.> Sent: Friday, January 30, 2026 1:29 AM To: memstechtips/Winhance @.> Cc: PlutoMiner @.>; Mention @.> Subject: Re: [memstechtips/Winhance] [BUG] Updated to new version last night, now my startup programs do not start on boot (Issue #377)

https://avatars.githubusercontent.com/u/172593213?s=20&v=4 memstechtips left a comment (memstechtips/Winhance#377) https://github.com/memstechtips/Winhance/issues/377#issuecomment-3822274143

@PlutoMiner https://github.com/PlutoMiner @afr628 https://github.com/afr628

Please run this in PowerShell(Admin):

Disable-ScheduledTask -TaskPath "\Winhance" -TaskName "OneDriveRemoval"

After that, restart the computer and on the next launch, tell me if the startup programs are back.

— Reply to this email directly, view it on GitHub https://github.com/memstechtips/Winhance/issues/377#issuecomment-3822274143 , or unsubscribe https://github.com/notifications/unsubscribe-auth/B5Q7C5N47DTL665S7KNK4G34JMB4FAVCNFSM6AAAAACTLFPGLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTQMRSGI3TIMJUGM . You are receiving this because you were mentioned. https://github.com/notifications/beacon/B5Q7C5O25TJGYOMUBR4S4HT4JMB4FA5CNFSM6AAAAACTLFPGLCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTXD2NDF6.gif Message ID: @.*** @.***> >

PlutoMiner avatar Jan 30 '26 16:01 PlutoMiner

Boy am I glad I checked here! PC Manager wasn't starting with Windows and I tried everything; even a repair install. But this worked. Thanks, Memory!

cammy85 avatar Jan 30 '26 16:01 cammy85

No problem all, glad the workaround works for now 😀

memstechtips avatar Jan 31 '26 11:01 memstechtips

Hey there, just chiming in. I had the same problem and the script workaround did the trick! Looking forward to the next update!

TheClemensBerger avatar Jan 31 '26 15:01 TheClemensBerger

I installed the same version brand new in my Windows laptop. This is stuck at startup. Please advise. I don't have the onedrive job scheduled. So that command not working.

PowerShell 7.5.4 PS C:\Windows\System32> Disable-ScheduledTask -TaskPath "\Winhance" -TaskName "OneDriveRemoval" Disable-ScheduledTask: The system cannot find the file specified.

ahrooran-r avatar Feb 01 '26 04:02 ahrooran-r

that powershell command works.

But it would be nice to have an option in the user interface that lets users determine if they want to keep their current startup programs like i also have Roland and Waves services running. It was confusing to note that this all stopped sworking even if I reconfigured these services (like corsair, discord) to start on boot...

RealCosmicD avatar Feb 03 '26 10:02 RealCosmicD

Appreciate the workaround!

Veutexus avatar Feb 06 '26 10:02 Veutexus

I tried the solution here, but startup apps still took long to start, Google Drive took over 3 minute to get going.

2wice2 avatar Feb 09 '26 08:02 2wice2

My startup apps are still taking very long to start. I don't have the onedrive job scheduled. So that command not working. I installed the newest version yesterday, what do i have to set to fix this?

16BitZen avatar Feb 14 '26 08:02 16BitZen

My startup apps are still taking very long to start. I don't have the onedrive job scheduled. So that command not working. I installed the newest version yesterday, what do i have to set to fix this?

In the Gaming and Performance section there is a toggle to "Delay Startup Apps". What is it set to at the moment for interests sake? Should probably be ON right now, right?

Please toggle it to the other state (probably OFF), restart your pc and let me know if that fixes the issue.

memstechtips avatar Feb 14 '26 09:02 memstechtips

I disabled the option, but it didn't work; my apps still start with a delay. I also set the 'StartupDelayInMSec' from the registry to 0, but that didn't work either.

16BitZen avatar Feb 14 '26 11:02 16BitZen

I disabled the option, but it didn't work; my apps still start with a delay. I also set the 'StartupDelayInMSec' from the registry to 0, but that didn't work either.

Okay this is very strange. Could you tell me, what did you do after you installed the new version of Winhance? Did you toggle any specifc settings, apply a config or what?

Because just installing the new version doesn't do anything, it doesn't change any settings by itself so something specific must've caused this.

memstechtips avatar Feb 14 '26 11:02 memstechtips

Sorry, I wasn't clear before. I installed WinHace about a week ago and loaded the preset. After a restart, I noticed a significant delay, so I turned the Startup delay setting back off, but it didn't help. I've been experiencing heavy startup delays ever since I first loaded that preset. I only mentioned yesterday's update to let you know that updating the software didn't fix the issue.

16BitZen avatar Feb 14 '26 11:02 16BitZen

Sorry, I wasn't clear before. I installed WinHace about a week ago and loaded the preset. After a restart, I noticed a significant delay, so I turned the Startup delay setting back off, but it didn't help. I've been experiencing heavy startup delays ever since I first loaded that preset. I only mentioned yesterday's update to let you know that updating the software didn't fix the issue.

Okay thanks for the clarification.

Can you please check this for me:

  1. Do you have a OneDriveRemoval.ps1 file in C:\ProgramData\Winhance\Scripts ?
  2. Do you have a OneDriveRemoval Scheduled Task in Task Scheduler in the Winhance subfolder in Task Scheduler?

Please check it manually, because I think you said you didn't remove OneDrive, but I need manual verification that those items don't exist.

memstechtips avatar Feb 14 '26 11:02 memstechtips

  1. There is only "BloatRemoval.ps1".
  2. In the Task Scheduler, there is only "BloatRemoval" as well. I already disabled it for testing, but it didn't make any difference.

16BitZen avatar Feb 14 '26 12:02 16BitZen