Forum Search:
Forum.Brain-Cluster.com: Brain Cluster Technical Forum
Ultimate forum for Technical Discussions

Home » Microsoft » Windows Server » Active Directory » Replaced domain controller...
Replaced domain controller... [message #160474] Sat, 29 August 2009 23:12 Go to next message
Mike  is currently offline Mike  United States
Messages: 503
Registered: July 2009
Senior Member
I finally was able to replace my win2k DC with a new & improved win2k3
model.
I added the win2k3 server to the network, ran adprep & forrestprep to
prepare my domain for the addition of the new server.
I ran dcpromo, added dns & it was a domain controller.
Using pspad, I was able to change all my login scripts to reflect the new
name & replaced all the scripts currently in the sysvol folder.
I ran dcpromo on the old server to get it out of the mix & now have the
following questions.
I have tried logging on with users computers & my new login scripots aren't
working.
Probably because drives are already mapped?
Other than logging i to each users computer, disconnecting all mapped drives
that were on old server & then re-starting, is there an easier way to get
all clients to run new login scripts?
What about an automated way to change printers?
Thanks for any suggestions!
Re: Replaced domain controller... [message #160475 is a reply to message #160474] Sun, 30 August 2009 00:38 Go to previous messageGo to next message
meiweb  is currently offline meiweb  Germany
Messages: 2225
Registered: September 2009
Senior Member
Hello Mike,

What error message do you get? Normally they should work as before, if you
have changed the name to the new one and didn't change anything else.

Also the script content can be helpful.

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm


> I finally was able to replace my win2k DC with a new & improved win2k3
> model.
> I added the win2k3 server to the network, ran adprep & forrestprep to
> prepare my domain for the addition of the new server.
> I ran dcpromo, added dns & it was a domain controller.
> Using pspad, I was able to change all my login scripts to reflect the
> new
> name & replaced all the scripts currently in the sysvol folder.
> I ran dcpromo on the old server to get it out of the mix & now have
> the
> following questions.
> I have tried logging on with users computers & my new login scripots
> aren't
> working.
> Probably because drives are already mapped?
> Other than logging i to each users computer, disconnecting all mapped
> drives
> that were on old server & then re-starting, is there an easier way to
> get
> all clients to run new login scripts?
> What about an automated way to change printers?
> Thanks for any suggestions!
Re: Replaced domain controller... [message #160482 is a reply to message #160475] Sun, 30 August 2009 07:53 Go to previous messageGo to next message
Mike  is currently offline Mike  United States
Messages: 503
Registered: July 2009
Senior Member
No error messages - just when logging on, none of the mapped drives change.
Script content is just
net use \\servername\sharename

"Meinolf Weber [MVP-DS]" <meiweb@(nospam)gmx.de> wrote in message
news:6cb2911d4bf38cbf76452c82a52@msnews.microsoft.com...
> Hello Mike,
>
> What error message do you get? Normally they should work as before, if you
> have changed the name to the new one and didn't change anything else.
>
> Also the script content can be helpful.
>
> Best regards
>
> Meinolf Weber
> Disclaimer: This posting is provided "AS IS" with no warranties, and
> confers no rights.
> ** Please do NOT email, only reply to Newsgroups
> ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
>
>> I finally was able to replace my win2k DC with a new & improved win2k3
>> model.
>> I added the win2k3 server to the network, ran adprep & forrestprep to
>> prepare my domain for the addition of the new server.
>> I ran dcpromo, added dns & it was a domain controller.
>> Using pspad, I was able to change all my login scripts to reflect the
>> new
>> name & replaced all the scripts currently in the sysvol folder.
>> I ran dcpromo on the old server to get it out of the mix & now have
>> the
>> following questions.
>> I have tried logging on with users computers & my new login scripots
>> aren't
>> working.
>> Probably because drives are already mapped?
>> Other than logging i to each users computer, disconnecting all mapped
>> drives
>> that were on old server & then re-starting, is there an easier way to
>> get
>> all clients to run new login scripts?
>> What about an automated way to change printers?
>> Thanks for any suggestions!
>
>
Re: Replaced domain controller... [message #160483 is a reply to message #160482] Sun, 30 August 2009 08:15 Go to previous messageGo to next message
florian  is currently offline florian  Germany
Messages: 484
Registered: July 2009
Senior Member
Mike,

Mike schrieb:
> No error messages - just when logging on, none of the mapped drives change.
> Script content is just
> net use \\servername\sharename

Does that script work if you run it manually (execute it via double
click)? I doubt it'll work as you mandatorily need to specify a drive
letter for the drive to map to:

NET USE X: \\servername\sharename

Cheers,
Florian
--
Microsoft MVP - Group Policy
eMail: prename [at] frickelsoft [dot] net.
blog: http://www.frickelsoft.net/blog.
Maillist (german): http://frickelsoft.net/cms/index.php?page=mailingliste
Re: Replaced domain controller... [message #160484 is a reply to message #160482] Sun, 30 August 2009 14:07 Go to previous messageGo to next message
aceman  is currently offline aceman  United States
Messages: 5816
Registered: July 2009
Senior Member
"Mike" <mikey117@hotmail.com> wrote in message
news:%23Ars$kXKKHA.1248@TK2MSFTNGP04.phx.gbl...
> No error messages - just when logging on, none of the mapped drives
> change.
> Script content is just
> net use \\servername\sharename
>


Mike, as Florian said, that's not a recommended way to map drives.

Can you post the script to take a closer look? We can possibly make
recommendations to add commands to delete the current drive mappings, and
then map. Many use this method just in case someone had disconnected the
mapping and mapped it to something else, otherwise a script won't map it if
the letter is in use.

Also, you said you copied it to the Sysvol volume. I just want to make sure
you copied it to where it belongs to. Where exactly (what folder) did you
copy it to? Did you copy it to the Netlogon share
(C:\Windows\SYSVOL\sysvol\yourDomanName.com\scripts)?

One other thing, did you make sure the logon script name is specified in the
user's AD properties, Profile tab, logon script section?

Sorry about asking specifics, but when diagnosing anything, it is better to
understand the exact setup, otherwise we may be assuming it was yet find out
later otherwise.

--
Ace

This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.

Please reply back to the newsgroup or forum for collaboration benefit among
responding engineers, and to help others benefit from your resolution.

Ace Fekay, MCT, MCTS Exchange, MCSE, MCSA 2003 & 2000, MCSA Messaging
Microsoft Certified Trainer

For urgent issues, please contact Microsoft PSS directly. Please check
http://support.microsoft.com for regional support phone numbers.
Re: Replaced domain controller... [message #160485 is a reply to message #160484] Sun, 30 August 2009 14:21 Go to previous messageGo to next message
Mike  is currently offline Mike  United States
Messages: 503
Registered: July 2009
Senior Member
Here's the content of one of them;

net use H: \\pdc\jdoe$
net use I: \\pdc\Inventory
net use J: \\pdc\Scheduling

(Actually, what I wrote in an earlier message wasn't correct!)

It will run by double-clicking it.
I even tried adding this to the script;
net use h: /delete
net use i: /delete
net use j: /delete

If I manually disconnected the shares & then logged back on, the script
would run.
FOrtunatley, I don't have 1000s of computers to run this on!


"Ace Fekay [MCT]" <aceman@mvps.RemoveThisPart.org> wrote in message
news:eJQQD2aKKHA.3632@TK2MSFTNGP05.phx.gbl...
> "Mike" <mikey117@hotmail.com> wrote in message
> news:%23Ars$kXKKHA.1248@TK2MSFTNGP04.phx.gbl...
>> No error messages - just when logging on, none of the mapped drives
>> change.
>> Script content is just
>> net use \\servername\sharename
>>
>
>
> Mike, as Florian said, that's not a recommended way to map drives.
>
> Can you post the script to take a closer look? We can possibly make
> recommendations to add commands to delete the current drive mappings, and
> then map. Many use this method just in case someone had disconnected the
> mapping and mapped it to something else, otherwise a script won't map it
> if the letter is in use.
>
> Also, you said you copied it to the Sysvol volume. I just want to make
> sure you copied it to where it belongs to. Where exactly (what folder) did
> you copy it to? Did you copy it to the Netlogon share
> (C:\Windows\SYSVOL\sysvol\yourDomanName.com\scripts)?
>
> One other thing, did you make sure the logon script name is specified in
> the user's AD properties, Profile tab, logon script section?
>
> Sorry about asking specifics, but when diagnosing anything, it is better
> to understand the exact setup, otherwise we may be assuming it was yet
> find out later otherwise.
>
> --
> Ace
>
> This posting is provided "AS-IS" with no warranties or guarantees and
> confers no rights.
>
> Please reply back to the newsgroup or forum for collaboration benefit
> among responding engineers, and to help others benefit from your
> resolution.
>
> Ace Fekay, MCT, MCTS Exchange, MCSE, MCSA 2003 & 2000, MCSA Messaging
> Microsoft Certified Trainer
>
> For urgent issues, please contact Microsoft PSS directly. Please check
> http://support.microsoft.com for regional support phone numbers.
Re: Replaced domain controller... [message #160486 is a reply to message #160485] Sun, 30 August 2009 14:45 Go to previous messageGo to next message
aceman  is currently offline aceman  United States
Messages: 5816
Registered: July 2009
Senior Member
"Mike" <mikey117@hotmail.com> wrote in message
news:uyHO%239aKKHA.4928@TK2MSFTNGP03.phx.gbl...
> Here's the content of one of them;
>
> net use H: \\pdc\jdoe$
> net use I: \\pdc\Inventory
> net use J: \\pdc\Scheduling
>
> (Actually, what I wrote in an earlier message wasn't correct!)
>
> It will run by double-clicking it.
> I even tried adding this to the script;
> net use h: /delete
> net use i: /delete
> net use j: /delete
>
> If I manually disconnected the shares & then logged back on, the script
> would run.
> FOrtunatley, I don't have 1000s of computers to run this on!


So you're saying that when you alter the script to show as:

===
net use h: /delete
net use i: /delete
net use j: /delete
net use H: \\pdc\jdoe$
net use I: \\pdc\Inventory
net use J: \\pdc\Scheduling
===

How about trying this:

===
if exist net use h: /d
if exist net use i: /d
if exist net use j: /d
net use H: \\pdc\jdoe$
net use I: \\pdc\Inventory
net use J: \\pdc\Scheduling
===


Now if neither of these work, try putting a pause in between the statements,
save it as a different name, choose a test account, specify this script name
in AD properties, Profile tab, Logon script section, and test it. It will
pause waiting for you to hit a key to continue, and you can watch Windows
Explorer show the new mapping.

===
if exist net use h: /d
pause
echo did this work? press any key to continue even if it doesn't
if exist net use i: /d
pause
echo did this work? press any key to continue even if it doesn't
if exist net use j: /d
pause
echo did this work? press any key to continue even if it doesn't
net use H: \\pdc\jdoe$
pause
echo did this work? press any key to continue even if it doesn't
net use I: \\pdc\Inventory
pause
echo did this work? press any key to continue even if it doesn't
net use J: \\pdc\Scheduling
pause
echo did this work? press any key to continue even if it doesn't
===


If it doesn't connect or pause, then it may not even be accessing the
script, then something else is up.


Ace
Re: Replaced domain controller... [message #160487 is a reply to message #160486] Sun, 30 August 2009 19:28 Go to previous messageGo to next message
Mike  is currently offline Mike  United States
Messages: 503
Registered: July 2009
Senior Member
Thank you, I'll try that on my remaining computers.

"Ace Fekay [MCT]" <aceman@mvps.RemoveThisPart.org> wrote in message
news:u9TCILbKKHA.1488@TK2MSFTNGP03.phx.gbl...
> "Mike" <mikey117@hotmail.com> wrote in message
> news:uyHO%239aKKHA.4928@TK2MSFTNGP03.phx.gbl...
>> Here's the content of one of them;
>>
>> net use H: \\pdc\jdoe$
>> net use I: \\pdc\Inventory
>> net use J: \\pdc\Scheduling
>>
>> (Actually, what I wrote in an earlier message wasn't correct!)
>>
>> It will run by double-clicking it.
>> I even tried adding this to the script;
>> net use h: /delete
>> net use i: /delete
>> net use j: /delete
>>
>> If I manually disconnected the shares & then logged back on, the script
>> would run.
>> FOrtunatley, I don't have 1000s of computers to run this on!
>
>
> So you're saying that when you alter the script to show as:
>
> ===
> net use h: /delete
> net use i: /delete
> net use j: /delete
> net use H: \\pdc\jdoe$
> net use I: \\pdc\Inventory
> net use J: \\pdc\Scheduling
> ===
>
> How about trying this:
>
> ===
> if exist net use h: /d
> if exist net use i: /d
> if exist net use j: /d
> net use H: \\pdc\jdoe$
> net use I: \\pdc\Inventory
> net use J: \\pdc\Scheduling
> ===
>
>
> Now if neither of these work, try putting a pause in between the
> statements, save it as a different name, choose a test account, specify
> this script name in AD properties, Profile tab, Logon script section, and
> test it. It will pause waiting for you to hit a key to continue, and you
> can watch Windows Explorer show the new mapping.
>
> ===
> if exist net use h: /d
> pause
> echo did this work? press any key to continue even if it doesn't
> if exist net use i: /d
> pause
> echo did this work? press any key to continue even if it doesn't
> if exist net use j: /d
> pause
> echo did this work? press any key to continue even if it doesn't
> net use H: \\pdc\jdoe$
> pause
> echo did this work? press any key to continue even if it doesn't
> net use I: \\pdc\Inventory
> pause
> echo did this work? press any key to continue even if it doesn't
> net use J: \\pdc\Scheduling
> pause
> echo did this work? press any key to continue even if it doesn't
> ===
>
>
> If it doesn't connect or pause, then it may not even be accessing the
> script, then something else is up.
>
>
> Ace
>
>
Re: Replaced domain controller... [message #160488 is a reply to message #160487] Sun, 30 August 2009 20:15 Go to previous messageGo to next message
aceman  is currently offline aceman  United States
Messages: 5816
Registered: July 2009
Senior Member
"Mike" <mikey117@hotmail.com> wrote in message
news:e9amfpdKKHA.4236@TK2MSFTNGP04.phx.gbl...
> Thank you, I'll try that on my remaining computers.


Actually, I meant to test it with one user.

Ace
Re: Replaced domain controller... [message #160489 is a reply to message #160488] Sun, 30 August 2009 23:38 Go to previous messageGo to next message
Mike  is currently offline Mike  United States
Messages: 503
Registered: July 2009
Senior Member
Then I will do that.

"Ace Fekay [MCT]" <aceman@mvps.RemoveThisPart.org> wrote in message
news:ejLIfDeKKHA.3424@TK2MSFTNGP02.phx.gbl...
> "Mike" <mikey117@hotmail.com> wrote in message
> news:e9amfpdKKHA.4236@TK2MSFTNGP04.phx.gbl...
>> Thank you, I'll try that on my remaining computers.
>
>
> Actually, I meant to test it with one user.
>
> Ace
Re: Replaced domain controller... [message #160495 is a reply to message #160489] Mon, 31 August 2009 07:05 Go to previous message
aceman  is currently offline aceman  United States
Messages: 5816
Registered: July 2009
Senior Member
"Mike" <mikey117@hotmail.com> wrote in message
news:e09n00fKKHA.4376@TK2MSFTNGP03.phx.gbl...
> Then I will do that.
>


Ok. Curious if it works.
Previous Topic:How can I move the user accounts in between 2 child domain?
Next Topic:Remove orphaned computer accounts from AD?
Goto Forum:
  


Current Time: Tue Jan 23 16:39:59 MST 2018

Total time taken to generate the page: 0.05817 seconds
.:: Contact :: Home ::Sitemap::.

Powered by: FUDforum 3.0.0RC2.
Copyright ©2001-2009 FUDforum Bulletin Board Software