Windows Server 2012 R2 scheduled task fails when "Run Whether User is Logged On or Not" is selected
Issue
When running a scheduled task either manually or on a schedule on a Windows Server 2012 R2, the scheduled task will get stuck on Running if "Run Whether User is Logged On or Not" is selected
Product Line
Power Monitoring Expert 7.2
Power Monitoring Expert 8.x
Power Monitoring Expert 9.x
Power Monitoring Expert 2021
Please Note:
Starting with PME 2022 and all new versions, PME does not support Windows Server 2012 R2
Environment
Windows Server 2012 R2
Cause
Scheduled tasks do not have permission to create the necessary folders to run task.
Resolution
Folders must be created manually using an elevated command prompt.
To open an elevated command prompt:
- Click Start
- In the search box, type inthe command
- Right-click 'Command Prompt' in the search results list
- Click 'Run as administrator' from the popup menu
- If you are not an administrator of the computer a dialog box will be shown prompting for the administrator password
Create folders named Desktop in directories C:\Windows\System32\config\systemprofile and C:\Windows\SysWOW64\config\systemprofile\ using the command prompt by running the following commands:
md C:\Windows\System32\config\systemprofile\Desktop and
md C:\Windows\SysWOW64\config\systemprofile\Desktop
Publikováno pro: Schneider Electric Česká republika
Potřebujete pomoc?
Nástroj pro výběr produktů
Rychle a snadno vyhledávejte správné produkty a příslušenství pro vaše aplikace.
Získejte nabídku
Poptejte se nás online a náš lokální specialista se s vámi spojí!
Kde nakoupit?
Jednoduše najděte nejbližšího distributora výrobků Schneider Electric ve vašem okolí.
Centrum nápovědy
Zdroje podpory pro všechny své potřeby najdete na jednom místě.