Disable Built-In Administrator account for windows 7

Posted on 2011-03-16
Last Modified: 2012-05-11
I am looking for a script/code that will disable the Built-In Administrator account after deploying my windows 7 image.
Question by:cmartineau
  • 2
LVL 27

Accepted Solution

michko earned 500 total points
ID: 35147935
Actually, the local built-in administrator account for Win 7 is disabled by default.

If for some reason your image has this account as enabled, the below link from technet shows how to disable (and enable, if you wanted)


Expert Comment

ID: 35147947

net user administrator /active:no is the command to run once the system is built.

You could probably build your machine, run that command, then create your image?

Author Closing Comment

ID: 35147966
Thank You
LVL 27

Expert Comment

ID: 35147976
You're welcome.  

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
wordcount challenge 11 121
audit software installed on each Personal computer in my company LAN 3 147
Advice in Xamarin 21 79
Not seen Link button 5 39
Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
There's a better way to communicate time sensitive or critical info.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question