{}
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.
How can we help you today?
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.x
Power Monitoring Expert 8.0

Environment
Windows Server 2012 R2

Cause
Scheduled tasks do not have permission to create folders necessary to run task.

Resolution
Folders must be created manually using an elevated command prompt.

To open an elevated command prompt:
  1. Click Start
  2. In the search box type in command
  3. Right-click 'Command Prompt' in the search results list
  4. Click 'Run as administrator' from the popup menu
  5. 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

Schneider Electric India

Explore more
Range:
Explore more
Range:
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range:
Explore more
Range:
move-arrow-top
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.