Get control of your severs using Startup/Shutdown Script
In many situations we need to reset the Local Administrator password and add Domain Admins to the Local Administrator group on a server or client machine without visiting each machine. If you don’t know the password and don’t have access to the severs, you can run this simple script as a Startup/Shutdown script in conjunction with Group Policy.
In many situations we need to reset the Local Administrator password and add Domain Admins to the Local Administrator group on a server or client machine without visiting each machines. If you don’t know the password and don’t have access to the severs, you can run this simple script as a Startup/Shutdown script (Computer Configuration->Windows Settings-> Scripts (Startup/Shutdown) in conjunction with Group Policy. Create batch file (.bat extension) using notepad and add the following commands:
Net User Administrator
Net Localgroup /Add “Administrators” “Domain Admins”
The first command changes the Administrator password to . The second command will add the Domain Admins group to the Local Administers group on the local machine. Add this batch file as either a Startup or Shutdown script. Leave it there for a while or enable the “force restart” of the servers. Have fun!
Article written by MyComputerAid.com
2003 server - Sep 30, 2008 22:34 - 0 Comments
instant messaging srv records
More In Computers & PC
- Howto secure wordpress
- Simple wordpress upgrade from SSH howto
- permanently delete your facebook account
- Creating a Sound File
- Talking to the Mouse
Microsoft Outlook - Mar 22, 2009 11:22 - 0 Comments
Outlook: Duplicates in Mailbox
More In Computers & PC
- Howto secure wordpress
- Simple wordpress upgrade from SSH howto
- permanently delete your facebook account
- Creating a Sound File
- Talking to the Mouse
Microsoft Desktop, Web browsers and Internet, Windows 2000, Windows 7, Windows 98, Windows Firewall and networking, Windows Vista, Windows XP - Feb 8, 2010 18:09 - 0 Comments
Disable Proxy settings in IE
More In Computers & PC
- Howto secure wordpress
- Simple wordpress upgrade from SSH howto
- permanently delete your facebook account
- Creating a Sound File
- Talking to the Mouse
Leave a Reply
You must be logged in to post a comment.