Henrik is correct. I reviewed the .NET code they are using for VC and it (not suprised) is exactly the way it needs to be in order for it to work. Never had any doubts ;-)
To that end, I cannot get the local restart task to fail. It works 100% of the time when trying to reboot 'Local'. The scenarios below are what i've tried with success:
I tried running the VC service as the default LOCAL SYSTEM account (NT AUTHORITY\SYSTEM)
I tried running the VC service as my own ID (Domain Admin)
I tried running the VC service as a non-domain local user/admin on the server (2008) with no domain privelages.
I tried running the VC service as LOCAL SYSTEM and using my ID as a Credential for the task
Then I thought.. maybe UAC (User Account Control) might be messing with it, assuming its a 2008 server... So I set UAC back to 'default' instead of 'Never' (our standard). It still continued to work just fine, scenarios below:
I tried running the VC service as a non-domain local user/admin
I tried running the VC service as LOCAL SYSTEM.
I did run into trouble when I tried starting the service as a generic user (non admin) the service wouldn't even start. Not sure whats needed at a minimum, but its not likely the service is running under a plain/new user account that isn't admin.
I wonder what your local security policy is configured for. If you could give us the following information that'd be helpful:
1. What Operating System are you running?
2. What Version of VisualCron are you running?
3. Is the VisualCron Service running as LOCAL SYSTEM, or an Account you've created
4. If Account you've created, what groups is the ID a member of?
5. In Local Policy (run gpedit.msc) what users/groups have the "shutdown the system" and "force shutdown from a remote system" privileges?
The above settings can be found in 2008 if you expand "Computer Configuation"-->Windows Settings -->Security Settings -->Local Policies-->User Rights Assignment:
Brian
Edited by user
2013-01-07T17:11:59Z
|
Reason: Not specified