system
February 14, 2007, 6:18pm
1
(imported topic written by SystemAdmin)
Greetings all,
Is there a way in BigFix to delete a local computer account? I am working on removing IIS form servers that do not need it, I think I am hung up on the user accoun. The account in question is “IWAM_computer accounts”. Any help is greatly appreciated, thank you.
BenKus
February 15, 2007, 5:17am
2
(imported comment written by BenKus)
Hi Alfred,
Do you happen to know a way to delete the account from the command-line? If so, we can help you make a Fixlet for this task.
Ben
system
February 15, 2007, 7:19am
3
(imported comment written by brolly3391)
Hello Alfred,
If you are on Windows 2K3, XP or 2K then there is indeed a command (net) to delete a local account.
First run this from a command window to make sure it is doing what you desire:
net user “IWAM_computer accounts” /delete
If that works the way you want it too then in your fixlet would look something like this:
Relevance
exist local user whose (name of it as lowercase = “iwam_computer accounts”)
Action
runhidden “{pathname of system folder}\net.exe” user “IWAM_computer accounts” /delete
All the normal caveats about testing it before using it in production apply.
Cheers,
Brolly