run psexec as admin mode win2008 with UAC mode 4 (powershell maybe?) -
I am trying to run the following commands in CMD with the administrator command:
Psexec - u mindmen \ micor-p mypass net time / set / domain:% USERDOMAIN% / y I'm getting: 'Pure error code 2 gets out' < P> This is only working when I change the UAC level to 3 (instead of 4)
How can I solve this problem? How can I sync the server clock?
Thank you
You can access your account with a script language of your choice Will need to be picked up. All processes run with user rights on the host 7 / Vista / Win 2008 unless you extend them to the administrator. A script will be required to lift the rights.
You can use the following WMI short sample code with the correct "Impersonal Evolution = Cloning" syntax, where "cloning" with "code" is replaced if you sign your code Set to cebv2 objWMIService = GetObject ("winmgmts:" & amp; _ "{Impersonation LIVE = impersonate}! //:
set to remote host strComputer "& Amp; Struct Computer & amp;" \ Root \ cimv2 ")
Comments
Post a Comment