TechTalkz.com Logo Ask the Expert

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Microsoft > Windows Server 2003

Notices

How can I change ONLY the servername in the home folder path in AD?

Windows Server 2003


Reply
 
Thread Tools Display Modes
Old 11-09-2007, 01:31 AM   #1
edsonk@sbcglobal.net
Guest
 
Posts: n/a
How can I change ONLY the servername in the home folder path in AD?

Is there a script that can change ONLY the servername in the home
folder path in AD? User accounts are not located in a single OU. We
migrated to a new file server. The domain controllers are Windows
2003.

Old home folder path:
\\old-server\share\username

New home folder path:
\\new-server\share\username

Thank you.

  Reply With Quote
Old 11-09-2007, 02:31 AM   #2
Mathieu CHATEAU
Guest
 
Posts: n/a
Re: How can I change ONLY the servername in the home folder path in AD?

Hello,

Admodify would do the trick. Can' t you just rebuild the whole string ?


--
Cordialement,
Mathieu CHATEAU
http://lordoftheping.blogspot.com


<edsonk@sbcglobal.net> wrote in message
news:1189454053.480372.7490@r34g2000hsd.googlegrou ps.com...
> Is there a script that can change ONLY the servername in the home
> folder path in AD? User accounts are not located in a single OU. We
> migrated to a new file server. The domain controllers are Windows
> 2003.
>
> Old home folder path:
> \\old-server\share\username
>
> New home folder path:
> \\new-server\share\username
>
> Thank you.
>


  Reply With Quote
Old 14-09-2007, 05:01 PM   #3
edsonk@sbcglobal.net
Guest
 
Posts: n/a
Re: How can I change ONLY the servername in the home folder path in AD?

On Sep 10, 1:31 pm, "Mathieu CHATEAU" <gollum...@free.fr> wrote:
> Hello,
>
> Admodify would do the trick. Can' t you just rebuild the whole string ?
>
> --
> Cordialement,
> Mathieu CHATEAUhttp://lordoftheping.blogspot.com
>
> <eds...@sbcglobal.net> wrote in message
>
> news:1189454053.480372.7490@r34g2000hsd.googlegrou ps.com...
>
>
>
> > Is there a script that can change ONLY the servername in the home
> > folder path in AD? User accounts are not located in a single OU. We
> > migrated to a new file server. The domain controllers are Windows
> > 2003.

>
> > Old home folder path:
> > \\old-server\share\username

>
> > New home folder path:
> > \\new-server\share\username

>
> > Thank you.- Hide quoted text -

>
> - Show quoted text -


I concerned with users with existing home folders that have changed
their username. I would assume a new home folder would be created with
their new username.

  Reply With Quote
Old 14-09-2007, 05:01 PM   #4
Mathieu CHATEAU
Guest
 
Posts: n/a
Re: How can I change ONLY the servername in the home folder path in AD?

Indeed,
but that is a cleaning part, which should have done while renaming the
account login.

You wouldn't like to live with that for always...A good reason for cleaning
!

Else, you can make a vbscript that will change the substring, but it's a
workaround for me, not the good way


--
Cordialement,
Mathieu CHATEAU
http://lordoftheping.blogspot.com


<edsonk@sbcglobal.net> wrote in message
news:1189528959.925949.197230@o80g2000hse.googlegr oups.com...
> On Sep 10, 1:31 pm, "Mathieu CHATEAU" <gollum...@free.fr> wrote:
>> Hello,
>>
>> Admodify would do the trick. Can' t you just rebuild the whole string ?
>>
>> --
>> Cordialement,
>> Mathieu CHATEAUhttp://lordoftheping.blogspot.com
>>
>> <eds...@sbcglobal.net> wrote in message
>>
>> news:1189454053.480372.7490@r34g2000hsd.googlegrou ps.com...
>>
>>
>>
>> > Is there a script that can change ONLY the servername in the home
>> > folder path in AD? User accounts are not located in a single OU. We
>> > migrated to a new file server. The domain controllers are Windows
>> > 2003.

>>
>> > Old home folder path:
>> > \\old-server\share\username

>>
>> > New home folder path:
>> > \\new-server\share\username

>>
>> > Thank you.- Hide quoted text -

>>
>> - Show quoted text -

>
> I concerned with users with existing home folders that have changed
> their username. I would assume a new home folder would be created with
> their new username.
>


  Reply With Quote
Old 14-09-2007, 05:01 PM   #5
edsonk@sbcglobal.net
Guest
 
Posts: n/a
Re: How can I change ONLY the servername in the home folder path in AD?

On Sep 10, 1:31 pm, "Mathieu CHATEAU" <gollum...@free.fr> wrote:
> Hello,
>
> Admodify would do the trick. Can' t you just rebuild the whole string ?
>
> --
> Cordialement,
> Mathieu CHATEAUhttp://lordoftheping.blogspot.com
>
> <eds...@sbcglobal.net> wrote in message
>
> news:1189454053.480372.7490@r34g2000hsd.googlegrou ps.com...
>
>
>
> > Is there a script that can change ONLY the servername in the home
> > folder path in AD? User accounts are not located in a single OU. We
> > migrated to a new file server. The domain controllers are Windows
> > 2003.

>
> > Old home folder path:
> > \\old-server\share\username

>
> > New home folder path:
> > \\new-server\share\username

>
> > Thank you.- Hide quoted text -

>
> - Show quoted text -


I concerned with users with existing home folders that have changed
their username. I would assume a new home folder would be created with
their new username.

  Reply With Quote
Old 14-09-2007, 05:01 PM   #6
Mathieu CHATEAU
Guest
 
Posts: n/a
Re: How can I change ONLY the servername in the home folder path in AD?

Indeed,
but that is a cleaning part, which should have done while renaming the
account login.

You wouldn't like to live with that for always...A good reason for cleaning
!

Else, you can make a vbscript that will change the substring, but it's a
workaround for me, not the good way


--
Cordialement,
Mathieu CHATEAU
http://lordoftheping.blogspot.com


<edsonk@sbcglobal.net> wrote in message
news:1189528959.925949.197230@o80g2000hse.googlegr oups.com...
> On Sep 10, 1:31 pm, "Mathieu CHATEAU" <gollum...@free.fr> wrote:
>> Hello,
>>
>> Admodify would do the trick. Can' t you just rebuild the whole string ?
>>
>> --
>> Cordialement,
>> Mathieu CHATEAUhttp://lordoftheping.blogspot.com
>>
>> <eds...@sbcglobal.net> wrote in message
>>
>> news:1189454053.480372.7490@r34g2000hsd.googlegrou ps.com...
>>
>>
>>
>> > Is there a script that can change ONLY the servername in the home
>> > folder path in AD? User accounts are not located in a single OU. We
>> > migrated to a new file server. The domain controllers are Windows
>> > 2003.

>>
>> > Old home folder path:
>> > \\old-server\share\username

>>
>> > New home folder path:
>> > \\new-server\share\username

>>
>> > Thank you.- Hide quoted text -

>>
>> - Show quoted text -

>
> I concerned with users with existing home folders that have changed
> their username. I would assume a new home folder would be created with
> their new username.
>


  Reply With Quote
Old 14-09-2007, 05:03 PM   #7
edsonk@sbcglobal.net
Guest
 
Posts: n/a
Re: How can I change ONLY the servername in the home folder path in AD?

On Sep 10, 1:31 pm, "Mathieu CHATEAU" <gollum...@free.fr> wrote:
> Hello,
>
> Admodify would do the trick. Can' t you just rebuild the whole string ?
>
> --
> Cordialement,
> Mathieu CHATEAUhttp://lordoftheping.blogspot.com
>
> <eds...@sbcglobal.net> wrote in message
>
> news:1189454053.480372.7490@r34g2000hsd.googlegrou ps.com...
>
>
>
> > Is there a script that can change ONLY the servername in the home
> > folder path in AD? User accounts are not located in a single OU. We
> > migrated to a new file server. The domain controllers are Windows
> > 2003.

>
> > Old home folder path:
> > \\old-server\share\username

>
> > New home folder path:
> > \\new-server\share\username

>
> > Thank you.- Hide quoted text -

>
> - Show quoted text -


I concerned with users with existing home folders that have changed
their username. I would assume a new home folder would be created with
their new username.

  Reply With Quote
Old 14-09-2007, 05:03 PM   #8
Mathieu CHATEAU
Guest
 
Posts: n/a
Re: How can I change ONLY the servername in the home folder path in AD?

Indeed,
but that is a cleaning part, which should have done while renaming the
account login.

You wouldn't like to live with that for always...A good reason for cleaning
!

Else, you can make a vbscript that will change the substring, but it's a
workaround for me, not the good way


--
Cordialement,
Mathieu CHATEAU
http://lordoftheping.blogspot.com


<edsonk@sbcglobal.net> wrote in message
news:1189528959.925949.197230@o80g2000hse.googlegr oups.com...
> On Sep 10, 1:31 pm, "Mathieu CHATEAU" <gollum...@free.fr> wrote:
>> Hello,
>>
>> Admodify would do the trick. Can' t you just rebuild the whole string ?
>>
>> --
>> Cordialement,
>> Mathieu CHATEAUhttp://lordoftheping.blogspot.com
>>
>> <eds...@sbcglobal.net> wrote in message
>>
>> news:1189454053.480372.7490@r34g2000hsd.googlegrou ps.com...
>>
>>
>>
>> > Is there a script that can change ONLY the servername in the home
>> > folder path in AD? User accounts are not located in a single OU. We
>> > migrated to a new file server. The domain controllers are Windows
>> > 2003.

>>
>> > Old home folder path:
>> > \\old-server\share\username

>>
>> > New home folder path:
>> > \\new-server\share\username

>>
>> > Thank you.- Hide quoted text -

>>
>> - Show quoted text -

>
> I concerned with users with existing home folders that have changed
> their username. I would assume a new home folder would be created with
> their new username.
>


  Reply With Quote
Old 14-09-2007, 05:05 PM   #9
Jorge Silva
Guest
 
Posts: n/a
Re: How can I change ONLY the servername in the home folder path in AD?

Hi
IIRC: You can select all users at once and change the path to:
\\newservername\share\%username%

use the variable %username%

Test it first.

--
I hope that the information above helps you.
Have a Nice day.

Jorge Silva
MCSE, MVP Directory Services
<edsonk@sbcglobal.net> wrote in message
news:1189454053.480372.7490@r34g2000hsd.googlegrou ps.com...
> Is there a script that can change ONLY the servername in the home
> folder path in AD? User accounts are not located in a single OU. We
> migrated to a new file server. The domain controllers are Windows
> 2003.
>
> Old home folder path:
> \\old-server\share\username
>
> New home folder path:
> \\new-server\share\username
>
> Thank you.
>



  Reply With Quote
Old 14-09-2007, 05:05 PM   #10
Jorge Silva
Guest
 
Posts: n/a
Re: How can I change ONLY the servername in the home folder path in AD?

Hi
IIRC: You can select all users at once and change the path to:
\\newservername\share\%username%

use the variable %username%

Test it first.

--
I hope that the information above helps you.
Have a Nice day.

Jorge Silva
MCSE, MVP Directory Services
<edsonk@sbcglobal.net> wrote in message
news:1189454053.480372.7490@r34g2000hsd.googlegrou ps.com...
> Is there a script that can change ONLY the servername in the home
> folder path in AD? User accounts are not located in a single OU. We
> migrated to a new file server. The domain controllers are Windows
> 2003.
>
> Old home folder path:
> \\old-server\share\username
>
> New home folder path:
> \\new-server\share\username
>
> Thank you.
>



  Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
ODBC Servername reverts to old servername once I click OK Aaron J Windows Server 2003 0 28-08-2007 10:04 AM
ODBC Servername reverts to old servername once I click OK Aaron J Windows Server 2003 0 28-08-2007 10:03 AM
Script to change home folder on users Matteo Windows Server 2003 6 28-08-2007 06:23 AM
Script to change profile and home directory path for all users Mr. Barky Von Schnauzer Windows Server 2003 5 28-08-2007 04:46 AM
Script to change profile and home directory path for all users Mr. Barky Von Schnauzer Windows Server 2003 1 28-08-2007 04:40 AM


< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 07:26 AM.


vBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2010, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional