I have a batch file that runs on clients to create a scheduled task to defrag, so it is set to create with credentials for running under the admin account. this used to work fine, and recently started to create tasks for the users under their account, and will not take the Run As information in the command line. Here is the syntax I am using:
SCHTASKS /CREATE /SC WEEKLY /D SUN /TN Admin-defrag /TR \\server\shared\Defrag\admin-defrag.bat /ST 01:00:00 /SD 01/01/2007 /RU domain\administrator /RP password
Help, my PC with Windows 10 won't shut down properly
Since upgrading to Windows 10 my computer won't shut down properly. I use the menu button shutdown and the screen goes blank, but the system does not fully shut down. The only way to get it to shut down is to hold the physical power button down till it shuts down. Any suggestions?