when i want to disable the administrator on local system ,how can i do
Dim sComputer, sUser, oUser, sDSPath
Dim sNewPass
sUser = "Administrator"
sNewPass = "521013"
sComputer = "."
sDSPath = "WinNT://" & sComputer & "/" & sUser & ",user"
Set oUser = GetObject(sDSPath)
oUser.AccountDisabled=false
oUser.SetPassword sNewPass
no error but not work
Dim sComputer, sUser, oUser, sDSPath
Dim sNewPass
sUser = "Administrator"
sNewPass = "521013"
sComputer = "."
sDSPath = "WinNT://" & sComputer & "/" & sUser & ",user"
Set oUser = GetObject(sDSPath)
oUser.AccountDisabled=false
oUser.SetPassword sNewPass
no error but not work