Quantcast
Channel: Windows Server 2012 Essentials forum
Viewing all articles
Browse latest Browse all 6303

Issue with Task Scheduler on win 2012 R2

$
0
0

Hi All,

I am running a powershell script on windows server 2012 R2. It runs fine when i run it with powershell.

And when i create task and choose option " Run only when the user is logged in" it works fine.

But the issue is when i select "Run whether is the user is logged in or not" And with highest privilege it doesn't work.

Tried solution:

created a folder (or two on a 64bit-windows):

(32Bit, always)
C:\Windows\System32\config\systemprofile\Dektop

(64Bit)
C:\Windows\SysWOW64\config\systemprofile\Desktop

as the powershell creates a excel and saves it in the some folder.

not sure what is causing it.

Any help on this will be appreciated.



Viewing all articles
Browse latest Browse all 6303

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>