Notices
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

XP User Folder

Old 14th October 2010 | 21:05
  #1 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
XP User Folder

One for the Windows genii--

In the process of helping a friend with a second-hand 'puter formerly owned by Fred Smith.

I have changed the reg owner key and now have him logging on to his own name, but Windows is still calling for the 'Fred Smith' user folder. Where do I find the pointer for this setting so I can redirect the 'puter to a folder with his own name?

Edit for spelling!

Last edited by BOAC; 14th October 2010 at 22:17.
BOAC is offline  
Reply
Old 14th October 2010 | 21:53
  #2 (permalink)  
 
Joined: Nov 2000
Posts: 3,443
Likes: 1
From: Cambridge, England, EU
Complete change of ownership of a computer is about the one case in which I would recommend, and have done, "wipe the disk and reinstall Windows".

As a bonus, that gets rid of all Fred Smith's viruses, and all Fred Smith's illegal kiddie porn, and no doubt other stuff that neither of us has even thought of.
Gertrude the Wombat is offline  
Reply
Old 14th October 2010 | 22:18
  #3 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
Granted the possible risks etc, but so far it has gone ok. and all virus scans clean so far - machine is over 1 year in current ownership.
BOAC is offline  
Reply
Old 14th October 2010 | 22:40
  #4 (permalink)  
15 Anniversary
 
Joined: Jan 2008
Posts: 300
Likes: 0
From: London, England
Create new account, with desired name.
Give it administration rights.
Log out of the old unwanted account.
Log into the new account.
Delete the old account.
MacBoero is offline  
Reply
Old 14th October 2010 | 23:29
  #5 (permalink)  
 
Joined: May 2003
Posts: 154
Likes: 0
From: UK
Yep, that's the best way to do it.
gizmocat is offline  
Reply
Old 15th October 2010 | 07:31
  #6 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
Mac - all done bar the deletion because the 'old' user profile (with the wrong name) was the one with all the desired set up. I am trying to get his original stuff into the new folder - a lot is there already, favourites, emails, contacts etc etc but I would like to know how Win XP determines the location of the user folder at logon.
BOAC is offline  
Reply
Old 15th October 2010 | 08:01
  #7 (permalink)  
15 Anniversary
 
Joined: Jan 2008
Posts: 300
Likes: 0
From: London, England
Its all done through the use of black magic and voodoo, otherwise known as the "Registry". The registry is not something to mess around with, unless you really know what you're doing, as one wrong move can render the machine unbootable and useless, and require a complete reinstall. Most techniques for changing the identity of a user usually only result in partial changes. For example changing the user name from John to Fred, will on the face of it appear to work, but when you look deeper you'll find that most of the underlying folder structures and registry entries will still retain the old John names. To change them would break all sorts of dependencies throughout the system file structure, and is therefore not really worth attempting.

The technique I listed is the simplest way, to create a new clean account with the details you want. Copying stuff into it from a previous account can be problematic. It might require you to reboot the machine into safe mode, log in as administrator and take ownership of certain files and folders in order to be able to copy them to the new location.
MacBoero is offline  
Reply
Old 15th October 2010 | 08:10
  #8 (permalink)  
 
Joined: Oct 2009
Posts: 63
Likes: 0
From: Greece
Listen to the Gertrude.

Complete change of ownership of a computer is about the one case in which I would recommend, and have done, "wipe the disk and reinstall Windows".

As a bonus, that gets rid of all Fred Smith's viruses, and all Fred Smith's illegal kiddie porn, and no doubt other stuff that neither of us has even thought of.
recommended.

\It only takes a minute (and by minute, I mean two hours) but the piece of mind earned (as well as added reliability, speed) is priceless.

How much time has he wasted with "Fred Smith" that could have been better spent?
tailstrikecharles is offline  
Reply
Old 15th October 2010 | 13:17
  #9 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
Ah! Time is never wasted!

Anyway - all sorted - he is now running as login in his own name with a user folder called Fred Smith (no real hardship so I'm going no further) and all his 'old' settings as he wants them.

Thanks all.
BOAC is offline  
Reply
Old 16th October 2010 | 07:47
  #10 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
I wonder if, now I have sorted out the immediate issue, someone knows
I have changed the reg owner key and now have him logging on to his own name, but Windows is still calling for the 'Fred Smith' user folder. Where do I find the pointer for this setting so I can redirect the 'puter to a folder with his own name?
I assume it would not be anywhere as 'Fred Smith' but as some code?
BOAC is offline  
Reply
Old 16th October 2010 | 11:16
  #11 (permalink)  
Administrator
 
Joined: Mar 2001
Aviation Qualifications: PPL
Posts: 8,121
Likes: 686
From: Twickenham, home of rugby
Search the registry for "Fred Smith".

It might also / alternatively be stored as the SID for FS.

SD
Saab Dastard is offline  
Reply
Old 16th October 2010 | 11:57
  #12 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
SD - reliable as ever - thanks - that is it. I had not come across 'SID' before but the first Google hit took me straight to the reg key.

Since this info needs to be there before user logon do I assume it is merged from allusers/ntuser.dat?

Is there any way I can view allusers/ntuser.dat (importing to regedit??) without screwing up my own registry?

Last edited by BOAC; 16th October 2010 at 12:25.
BOAC is offline  
Reply
Old 16th October 2010 | 15:51
  #13 (permalink)  
15 Anniversary
 
Joined: Jan 2008
Posts: 1,133
Likes: 0
From: Bracknell, Berks, UK
1) Log in as an administrator who's not the user in question
2) Take a copy of the offending folder in question and delete it.
3) Go into the registry, find the SID, and delete the registry key with the SID.
4) Log in as the user in question and let it create it's own folder
5) Copy all the items except NTUSER.DAT from #2 into the folder in #4
Mike-Bracknell is offline  
Reply
Old 16th October 2010 | 16:00
  #14 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
MB - I reckon I can get away with just changing the SID stuff to correct folder? Would that not work? The folder in use is absolutely correct, just the wrong 'name', so I would copy it all to a correctly named folder and then make the reg change via a different user.

Any ideas on
Since this info needs to be there before user logon do I assume it is merged from allusers/ntuser.dat?
AND
Is there any way I can view allusers/ntuser.dat (importing to regedit??) without screwing up my own registry?

That is what is bothering me - if the SID info comes from there I canna change it.
BOAC is offline  
Reply
Old 16th October 2010 | 16:33
  #15 (permalink)  
15 Anniversary
 
Joined: Jan 2008
Posts: 1,133
Likes: 0
From: Bracknell, Berks, UK
You probably could, but i've not investigated whether the SID is also kept in NTUSER.DAT.
I do know that if you don't get it quite right it'll create a folder with (1) appended to it though - hence my solution which allows Windows to do the hard work
Mike-Bracknell is offline  
Reply
Old 16th October 2010 | 18:50
  #16 (permalink)  
Administrator
 
Joined: Mar 2001
Aviation Qualifications: PPL
Posts: 8,121
Likes: 686
From: Twickenham, home of rugby
Map User account names to SIDs:

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

SD
Saab Dastard is offline  
Reply

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Thread Tools
Search this Thread

Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.