Hello,
ive got a question,
i need to make an dos script for an windows vista pc for the company only cant figure out how.
have googled a lot only dont know where to look for.
can some one send me an script ? or help me out ?
the script needs this to do.
1. Remove computer out of the domain
2. Administrator password needs to be removed
3. Force update of vista(gpupdate /force ?)
4. update Mc cafee
gratz,
meganic
New to dos scripting need some help !
Moderator: DosItHelp
Re: New to dos scripting need some help !
Already found this out.
:RemoveDomain
Echo Removing Domain
REM
REM remove Domain
REM
NETDOM remove %ComputerName% /Domain:(DOMAIN NAME) /OU:"ou=desktops,ou=Computers,ou=Client Objects,dc=Alfa-College,dc=intern" /Userid:(userid domain) /PASSWORDD:domain password
doesnt work right ?
:RemoveDomain
Echo Removing Domain
REM
REM remove Domain
REM
NETDOM remove %ComputerName% /Domain:(DOMAIN NAME) /OU:"ou=desktops,ou=Computers,ou=Client Objects,dc=Alfa-College,dc=intern" /Userid:(userid domain) /PASSWORDD:domain password
doesnt work right ?