![windows 10 startup folder not working windows 10 startup folder not working](https://i2.wp.com/www.urtech.ca/wp-content/uploads/2017/03/path-to-startup-windows-10.png)
- #Windows 10 startup folder not working windows 10#
- #Windows 10 startup folder not working windows 7#
doesn't work as a Windows 10 startup script Option Explicitĭim objWMIService, colItems, objItem, WSHShell, objREGĭim varRegKey, arrRegValueNames, arrRegValueTypes, varRegValueName, varRegValue works OK through Windows 10 task scheduler (under SYSTEM account with the option Highest privileges enabled)ģ. Certificate is trusted.īut this is not only related to my app. I will try and post this question under Windows forum, try and see if someone has some idea why this is happening. So, the problem is definitely related to the user rights (scripts and applications have to be executed as "Run as Administrator" even though they are being executed under SYSTEM account and with UAC disabled). And again, if I create a scheduled task to execute the application during computer startup and configure the task to run under "SYSTEM account with Highest privileges" Script executes just fine on Windows 10 (I write to event log when the script isĮxecuted, and the record is there), but application doesn't (not on Windows 10 machines). So, I have a script that executes the app and that script is a Computer startup script. App needs to do it's job during (you guessed it) Computer startup.īut Computer startup GPO doesn't support executing apps, only VBS or PowerShell scripts. I have an in-house application that we programed that relies on Administrative rights. Yeahh, something strange is going on? I even managed to test one more thing. Your input/explanation/help is very much appreciated. So, my question would be, is there a way for those VBS scripts to successfully do their job on Windows 10 machines, even when we are distributing them through Computer GPO at Startup? The task to run under "SYSTEM account with Highest privileges" then everything works fine even on Windows 10 machines. Also I noticed that if I create a scheduled task to execute the script during computer startup and configure
![windows 10 startup folder not working windows 10 startup folder not working](https://i.pinimg.com/originals/ae/fa/f2/aefaf2667b8e581b9d9ed69c9ee59a30.png)
Issue is related with SYSTEM no longer having Administrative rights during execution (UAC is disabled on the machine but this doesn't seem to matter). I investigated further and my conclusion so far is that this
![windows 10 startup folder not working windows 10 startup folder not working](https://helpdeskgeek.com/wp-content/pictures/2020/02/How-to-Access-the-Windows-10-Startup-Folder.png)
Unfortunately, I noticed scripts are not doing their job when executing through GPO on Windows 10 machines. scripts would be run as SYSTEM and everything worked fine.
#Windows 10 startup folder not working windows 7#
In Windows 7 I would distribute those scripts throughĬomputer GPO at Startup. I have some scripts (VBS scripts) that rely on Administrative rights (enumerating different keys in HKLM\System part of Registry and writing/changing some values in those keys).