Re: Change local administrator password ? through GPO or push script ?



Hello Pascal,

Maybe try this one. Create a batch file pass.bat (or whatever) with the content

net user administrator %1 (%1 describes the first entry in the parameter field)

OR

net user %1 %2 (you also can use %1 %2 and add "Username Password" in the parameter field (be aware of the space))

Add this file via GPO to the Default domain policy>Computer configuration>Windows settings>Scripts, STARTUP script and set the parameter with the new parameters you like to use. At the next time the workstation starts up in the domain the local admin password get changed.
The password will only be visible for your domain admins not for the normal user even if he has adminpak installed. The GPO he can not open as a normal user.

Best regards

Myweb
Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights.
Hi Myweb,

indeed it could be a nice idea !
I will try on Monday to see if there is no way for a user to bypass this and let him see the parameters defined with the GPO !
I will let you know ;)

--
Pascal


.



Relevant Pages

  • Re: Change local administrator password ? through GPO or push script ?
    ... Even if he finds the batch file via network neighborhood it will only provide %1 %2 and he can not really use this. ... the parameter field ) ... Add this file via GPO to the Default domain policy>Computer ... starts up in the domain the local admin password get changed. ...
    (microsoft.public.windows.server.active_directory)
  • Re: LogOff Script
    ... Enable loopback processing in a GPO ... >then associate the logon script with that loopback GPO. ... >> My batch file will do this, however I do not want the ...
    (microsoft.public.windows.group_policy)
  • Group Policy for System Reboot
    ... I placed this GPO on a test GPO and tried testing it on an XP box which is ... I see the following event logs when this batch file ... Shutdown Type: reboot ... I linked the same GPO to the other OU's where the workstations need to be ...
    (microsoft.public.windows.group_policy)
  • Re: Change local administrator password ? through GPO or push script ?
    ... Even if he finds the batch file via network neighborhood it will only provide %1 %2 and he can not really use this. ... Add this file via GPO to the Default domain policy>Computer ... starts up in the domain the local admin password get changed. ...
    (microsoft.public.windows.server.active_directory)