Re: Using the Shutdown command over a network




"Mike Spike" <Mike@xxxxxxxxxxxxxxxx> wrote in message news:e$MJeuImHHA.2060@xxxxxxxxxxxxxxxxxxxxxxx
Might be something to do with the account that the script is executing under, mabye one of the system accounts no longer supplies it's user credentials when challenged for access to a network resource.

Try making sure that the script is executing as a normal user that you have created and assigned the correct rights over the client computers.

The user that this task runs as is a member of the Domain Admins group. The user account has not changed in all the time we have made use of this scheduled task.

If I log onto an XP workstation as a member of the Domain Admins group and then run that script, it works for most PCs, but there will still be an occasional one that gives the same "Access denied" error message.

.



Relevant Pages

  • Re: active directory question
    ... Thank you for the time you took to review this script. ... Later you seem to use ADO to find the trustee. ... The only attribute you need retrieve is "member". ...
    (microsoft.public.scripting.vbscript)
  • Re: Script to populate Distribution list
    ... that list several diffrent zip codes for the same location is there a way to ... > ' Check if user already a member of the group. ... This would slow the script ... > methods require the AdsPath of the user. ...
    (microsoft.public.scripting.vbscript)
  • Re: Error using LDAP query
    ... I know you said this line is failing: ... CreateObject) failed to set oADSysInfo to a valid object. ... try running this simple script as a user (non-Domain ... >> member of at least 2 other groups, ...
    (microsoft.public.windows.server.scripting)
  • Re: Login Script group membership
    ... Would it be more managable to write this as a vbs instead of a batch file? ... script, as not all o/s's can run a .vbs file directly as a logon script. ... - you'd need to write a wrapper function to invoke ifmember and return the ... In the general case a user can be a member of any number of ...
    (microsoft.public.windows.server.scripting)
  • Re: I need to change the group membership using a logon script
    ... admins group in order to run the script. ... I believe users need to be members of the local Administrators group to run ... "Domain Admins" is made a member of the local Administrators group on the ... Administrators groups on the computers. ...
    (microsoft.public.scripting.vbscript)