How can I run scheduled tasks in the background when they run as the currently logged-on user?
John Savill
January 31, 2002
1 Min Read
A. Scheduled tasks usually run under the SYSTEM context and run in the background. However, if you change a service to run as a user account and that account is currently logged on to the machine, the scheduled task will run in the foreground. To change this behavior, perform the following steps:
Start a registry editor (e.g., regedit.exe).
Navigate to HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon.
Double-click Shell (which is explorer.exe).
Modify this value to 'Explorer.exe,' (don't type the quotes but do type the comma) where is your local machine's system root.
Click OK.
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like