![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Disable a Local User Account
|
||
' Description: Disables the local Guest account on a computer named atl-ws-01.
strComputer = "atl-ws-01" Set objUser = GetObject("WinNT://" & strComputer & "/Guest") objUser.AccountDisabled = True objUser.SetInfo | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |