Scheduled PowerShell script cannot call external program on Windows Server 2012 R2


hi guys, 

we've migrated our solution/scripts windows server 2008 r2 (64-bit) to windows server 2012 r2 (64-bit). 1 of powershell scripts, scheduled run in taskscheduler, doesn't work expected. 1 command, calling external program decrypt pgp file, doesn't work. if user, under script scheduled, logged in, disconnected, script works. works interactively. doesn't work scheduled job if specific user not logged in. i've changed default powershell policy bypass, added user (domain user) local admin group, "log on batch job" group in local security policy, didn't help. i've changed pgp decrypting software (gpg4win 2.3 symantec pgp command line tool), played couple styles how call external program powershell, main issue remains: works if user logged in (even disconnected), doesn't work if user not logged in. did miss security setting? have idea/experience why happening?

thanks.

dragan

you posting in wrong forum.  post in ws2012 general forum desktop issues.

\_(ツ)_/



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Group Policy Event ID 1058 Error Code 1326 (The user name or password is incorrect)

Suspicious event log Event ID: 4905

DCOM received error "2147746132" from...