Question

Locked

Home folder problems

By cbrennan ·
I am trying to change the profile path where the home folders are stored with Active Directory. I will move the folder to the new location, and then change the profile path in AD.

I am running into the problems when the user's log into a computer that already has a copy of their local profile in "C:\Documents And Settings." As soon as the user logs off, it is uploading their profile to the old home folder.

I can fix the problem by going to each computer and deleting the local profile, and deleting the one in the old home folder, but I was hoping there is an easier way out there than going to the 400 individual machines.

Thanks,
-Colin

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

You may need to sort the Registry entry

by neilb@uk In reply to Home folder problems

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\SID\CentralProfile

where the SID is the unique ID for each user.
The Expand_sz value ProfileImagePath in the same key will contain the user name.

The CentralProfile String value is a UNC path to the server where the Roaming Profile is stored.

Neil :)

Two things! First, this is just my guesswork as I've never had to move roaming profiles and secondly, this is for XP.

Collapse -

RE: You may need to sort the Registry entry

by cbrennan In reply to You may need to sort the ...

That does work, although I will still need to go to each machine to edit the registry it will save me time instead of having to delete their localy stored profile.

Thanks!
-Colin

Collapse -

Make the change on one...

by NaughtyMonkey In reply to RE: You may need to sort ...

and then create a registry edit file. have the logon script execute the file.

Collapse -

Or use

by Dumphrey In reply to Make the change on one...

remote registry to edit each machine from your desk.

some sort of for each %%a in %1 do reg delete <old reg key path>
then do the same but with reg add.

I may have the for each wrong... let me check, but this way you can use a text file of machine names as input, nice and automated.

EDIT: Correct code
for /f %%a in (list.txt) do reg query \\%%a\HKEY_LOCAL_MACHINE\SOFTWARE\7-Zip

this line in a bat file will read each line in a file called list .txt and use that machine name in the reg key and query for the 7-Zip reg key.
Reg restore or reg add should do the trick.

Collapse -

OK, this is how I think it goes

by neilb@uk In reply to RE: You may need to sort ...

You can connect remotely to each machine using the Connect Network Registry option in Regedit. Boring, but at least you'll have coffee to hand.

You can't - I can't think of any way, anyway - use any automated methods that use Regedit as the particular keys that you need to edit are referenced by their users' SIDs and there may well be more than one per machine. The value we want to change also contains the user's name. The only way that I can think of doing it it with a script. I'll see if I can find something.

Neil :)

Back to Desktop Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums