New to dos scripting need some help !

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Meganic
Posts: 2
Joined: 25 Nov 2011 02:57

New to dos scripting need some help !

#1 Post by Meganic » 25 Nov 2011 03:03

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

Meganic
Posts: 2
Joined: 25 Nov 2011 02:57

Re: New to dos scripting need some help !

#2 Post by Meganic » 25 Nov 2011 04:42

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 ?

Post Reply