Popasmurf Posted October 8, 2004 Share Posted October 8, 2004 I don't know if this is the right forum to post this in, but I thought I would start here:Has anyone written a script (VB or otherwise) that runs on the local workstation, or developed some other automated way to remove a workstation from the domain before Ghosting? We don't want to go in and remove all the workstations that are going to be Ghosted that night at 3:00 AM by hand. It would be nice if we could run a script in Windows on each workstation, or on the server that removed itself or a group of machines from the domain before Ghosting, or on the CD we use to boot to DOS to Ghost the PC's. We are talking about 50-100 different workstations per night that will need to be removed. They might be the same every week or they may forget one or two, so I don't think we can pull from a file to get the workstation names. Any thoughts on this? If you need further clarification, let me know.Thanks,Matthew Link to comment Share on other sites More sharing options...
/\/\o\/\/ Posted October 14, 2004 Share Posted October 14, 2004 if the clients are XP you can use WMI the Win32_ComputerSystem Classmethod : UnjoinDomainOrWorkgroupparams : string Password, string UserName, uint32 FUnjoinOptions = 0greetings/\/\o\/\/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now