This is basically what I want to happen: Admin logs on to server. Script checks whether admin is logging onto a server in the local domain. If not, Quit. If it is, script checks if server is in the correct OU. If not, move server to correct OU. If it is, Quit.
That's it. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding, Devon Sent: Friday, February 24, 2006 6:12 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Auto move computer Just servers for now. We'll do workstations later. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, February 24, 2006 5:05 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Auto move computer What would? You mean you only plan to move servers and not workstations? Or do you mean that the script would only move servers and not workstation? If you are talking about the script, I don't see why it would not move anything you tell it to move. This here http://www.akomolafe.com/Portals/1/Move%20Computers%20to%20Specific%20OUs%20b ased%20on%20their%20IP.txt will give you an idea of post-join mass movement of computers. If I were to rewrite that today, I'd not use expensive query or ping. But it's a start. Sincerely, Dèjì Akómöláfé, MCSE+M MCSA+M MCT Microsoft MVP - Directory Services www.readymaids.com - we know IT www.akomolafe.com Do you now realize that Today is the Tomorrow you were worried about Yesterday? -anon ________________________________ From: [EMAIL PROTECTED] on behalf of Harding, Devon Sent: Fri 2/24/2006 12:37 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Auto move computer This would only be for servers, not workstations. ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ulf B. Simon-Weidner Sent: Friday, February 24, 2006 1:49 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Auto move computer Hi Devon, you know that you are able to change the default location where computer accounts are created when joining a domain in a Windows Server 2003 Active Directory with redircmp.exe? However - here's a script which moves a computer to another OU: http://www.microsoft.com/technet/scriptcenter/scripts/ad/computer/cptrvb11.ms px Gruesse - Sincerely, Ulf B. Simon-Weidner MVP-Book "Windows XP - Die Expertentipps": http://tinyurl.com/44zcz <http://tinyurl.com/44zcz> Weblog: http://msmvps.org/UlfBSimonWeidner <http://msmvps.org/UlfBSimonWeidner> Website: http://www.windowsserverfaq.org <http://www.windowsserverfaq.org/> Profile: http://mvp.support.microsoft.com/profile=35E388DE-4885-4308-B489-F2F1214C811D ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding, Devon Sent: Friday, February 24, 2006 6:46 PM To: ActiveDir@mail.activedir.org Subject: [ActiveDir] Auto move computer Does any have a script that will auto-move a server into another OU after joining a domain? Devon Harding Windows Systems Engineer Southern Wine & Spirits - BSG 954-602-2469 ________________________________ __________________________________ This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use or distribution of the information included in the message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank You. List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/