Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


MikeyP
2015-04-21T17:39:06Z
I have a job with a task that runs a powershell script that has to interact with the desktop (run an application, send keypresses). This worked on Server 2003 but no longer works on Server 2012. I have:
- upgraded to the latest version of VC
- Enabled the security policy setting to not require Ctrl+Alt+Del
- tried every permutation I could think of for credentials options and execution context
Nothing seems to work. Please help! I have gotten it to work when I run task manually, but I need it to run without anyone being logged in to the server.
Sponsor
Forum information
Support
2015-04-22T08:06:14Z
Please test this version: http://www.visualcron.co....aspx?g=posts&t=4907 

Then attach the file server_startup.txt from the log directory. This should give us more hints why.

Also, turn on Extended debugging in Server settings->Log. Run the Task and attach the log log_serverDATE.txt here.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
MikeyP
2015-04-22T12:45:06Z
I have substituted the account name that the task runs under with XXaccount@localmachineXX and my user ID with XXMyAccountNameXX for security reasons  server_startup.txt (13kb) downloaded 54 time(s).
Support
2015-04-22T21:28:32Z
Is this a vanilla W2012 or have you enabled any special policies? Which version of 2012?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
MikeyP
2015-04-23T12:02:17Z
Windows Server 2012 R2.
There may be policies in play that I am not directly aware of.

Something else came to light though - there was an issue with the server's computer object in the domain. Not sure if/why that would affect a local account but let me do some more testing today now that has been resolved and let you know if I still have an issue.

Mike
MikeyP
2015-04-27T13:13:10Z
Support
2015-04-27T17:49:02Z
Do you know of the best way to compare permissions between a vanilla install and your install?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
MikeyP
2015-04-27T19:34:15Z
Would gpresult give you what you need?
Support
2015-04-28T07:55:16Z
Originally Posted by: parentmj 

Would gpresult give you what you need?



I mean, if you knew the differences we could apply one security change at a time to test what causes the problem.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
MikeyP
2015-04-28T15:26:37Z
I don't really have the authority to remove or apply security patches to this server unfortunately.

I thought you were referring to group policy settings being pushed down
Support
2015-04-28T15:45:33Z
Yes, it could be group policy settings. But first we just wanted to know if it works before applying your group policy settings.

The test should be something like this:

1. install VisualCron
2. apply the CTRL+ALT+DELETE policy
3. reboot
4. confirm that it works with foreground execution
5. apply group policy settings
6. does it work now?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
MikeyP
2015-04-28T15:51:22Z
The ability to apply or not apply GPO is not within my ability. It is controlled centrally outside of my team. All I can realistically do is run a report so show what GPOs are in effect.
Support
2015-04-28T15:59:02Z
Yes, please run a report and export to us if possible.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
MikeyP
2015-05-14T14:41:03Z
Sent via private message due to security risk.
MikeyP
2015-06-19T18:12:18Z
Support
2015-06-23T06:50:39Z
Sorry for the late response. Unfortunately we have not found a way to determine which setting is causing the problem for you. Maybe some IT guy at your place can compare the vanilla install of Windows 2012 (that works) with your security settings to determine this?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
MikeyP
2015-06-23T11:51:51Z
Its not a vanilla install of 2012 that works, its Server 2003.
Support
2015-06-23T15:25:40Z
Originally Posted by: parentmj 

Its not a vanilla install of 2012 that works, its Server 2003.



I mean, if you install Windows 2012 with default settings it will work. But you seem to apply specific security on your install. That is the difference.


Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top