Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Home Folder Under Profiles In AD

Status
Not open for further replies.

NinjaBeaver

IS-IT--Management
Dec 16, 2002
10
GB
Hi,

I need a quick method of changing the home folder under the Profiles Tab on a large amount of User Accounts in Active Directory.

At the minute it is set to Connect S: to \\Classlink\SJATeacher$.

I need to change this to Connect S: to \\2000server\SJATeacher$.

The only problem being I need to do this on about 1300 User
Accounts. I know the format should be \\2000Server\%UserName%$ but I just want a method to change every account in the Active Directory to this without clicking on each account and doing it manually?

Any ideas?

Cheers

Simon Anderson
Network Manager
The Park High School.
 
Hi

Could you not do this with the default logon script in the Group Policy??

Simon
 
Ok, This is my Logon.bat that all the Users run.

@ECHO OFF

REM ---=== Set Time To Same As Server ===---

NET TIME \\2000server /SET /Y



REM ---=== Map Network Drivers ===---

NET USE S: /HOME

NET USE X: \\2000server\Shared

NET USE Y: \\2000server\clipart$



REM ---=== SOPHOS ===---

REM ---=== Install Sophos AV If Not Already Installed On Workstation ===---

\\2000server\InterChk\W95Inst\setup.exe -inl -a
REM ---=== Set Up SAVAdmin To Monitor Workstations for Sophos Updates ===---

START /wait \\2000server\InterChk\SAVAgent.exe -update -poll=3600


As you can see it runs NET USE S: /HOME to set the home folder which is pointing to the wrong folder in all the user accounts. It is pointing to \\classlink\%UserName%$ and needs to be \\2000Server\%UserName%$ instead.

Is there any method of changing all the individual accounts in the AD where it is set in the Profile - Home Folder section?

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top