+ Post New Thread
Results 1 to 7 of 7
Windows Thread, Profile Backup & Restore in Technical; Soon we will be re-imaging all the staff PC's, but first we will need to backup their local profiles. We ...
  1. #1
    Gerry's Avatar
    Join Date
    Jun 2007
    Location
    North Wales
    Posts
    431
    Thank Post
    60
    Thanked 38 Times in 35 Posts
    Rep Power
    25

    Profile Backup & Restore

    Soon we will be re-imaging all the staff PC's, but first we will need to backup their local profiles. We use MS's Backup tool for that. The only problem is that to restore we need the person to log-in first on their freshly imaged PC. If they don't, XP creates a new profile for them called "username.domain".

    Is there a way around this?

    Preferably we want to be able to do it without the user being available as they will be "working" from home soon... I though just tweaking the permissions/ownership for the restored profile folder would work, but sadly, it doesn't.

  2. #2

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,617
    Thank Post
    747
    Thanked 1,707 Times in 1,520 Posts
    Rep Power
    437
    Why do they have local profiles on the pc's?

    Ben

  3. #3
    Gerry's Avatar
    Join Date
    Jun 2007
    Location
    North Wales
    Posts
    431
    Thank Post
    60
    Thanked 38 Times in 35 Posts
    Rep Power
    25
    Quote Originally Posted by plexer View Post
    Why do they have local profiles on the pc's?

    Ben
    It's how it's been done here for a while-before I started working for them. Thankfully, we'll be moving staff documents and settings over to a network storage device, but there's been a problem with the hardware we bought and it probably won't be up and running until the end of the summer hols.

  4. #4

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,158
    Thank Post
    116
    Thanked 529 Times in 452 Posts
    Blog Entries
    2
    Rep Power
    124
    It's messy but it's not impossible.

    if you look in the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList you'll find a list of profiles; export this key to a text file.

    Do the same thing at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileGUID

    Now open these two files in notepad and keep the bit from the first file which is relevant to the account(s) you want and the same from the second file (they're linked by the SID - you'll find it easier to read the profile path when it's in regedit). You should end up with something looking like this:
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileGuid\{12033caf-6bb6-4c5d-b5d2-ff37007e7acb}]
    "SidString"="S-1-5-21-243037206-41955558-561332275-210049"
    
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-243037206-41955558-561332275-210049]
    "ProfileImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,\
      00,69,00,76,00,65,00,25,00,5c,00,44,00,6f,00,63,00,75,00,6d,00,65,00,6e,00,\
      74,00,73,00,20,00,61,00,6e,00,64,00,20,00,53,00,65,00,74,00,74,00,69,00,6e,\
      00,67,00,73,00,5c,00,6a,00,72,00,31,00,30,00,37,00,00,00
    "Sid"=hex:01,05,00,00,00,00,00,05,15,00,00,00,16,74,7c,0e,e6,30,80,02,33,40,75,\
      21,81,34,03,00
    "Flags"=dword:00000000
    "State"=dword:00000014
    "CentralProfile"="\\\\icfs18.cc.ic.ac.uk\\jr107prof\\jr107.pds"
    "ProfileLoadTimeLow"=dword:f6e967de
    "ProfileLoadTimeHigh"=dword:01c9eb66
    "Guid"="{12033caf-6bb6-4c5d-b5d2-ff37007e7acb}"
    "RefCount"=dword:00000001
    "RunLogonScriptSync"=dword:00000001
    Now save that safely for the machine. When you restore the profiles (making sure you restore permissions), import this registry file. when the user logs on they will magically get their original profile.

    (What you're doing is putting in the stuff which says which user gets which profile; I've never worked out why you need the profileguid bit but it doesn't seem to work if you leave it out)

  5. Thanks to srochford from:

    Gerry (12th June 2009)

  6. #5
    Gerry's Avatar
    Join Date
    Jun 2007
    Location
    North Wales
    Posts
    431
    Thank Post
    60
    Thanked 38 Times in 35 Posts
    Rep Power
    25
    Will try this out Monday, thanks.

  7. #6
    Gerry's Avatar
    Join Date
    Jun 2007
    Location
    North Wales
    Posts
    431
    Thank Post
    60
    Thanked 38 Times in 35 Posts
    Rep Power
    25
    Yup, works a treat thanks.

  8. #7

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,158
    Thank Post
    116
    Thanked 529 Times in 452 Posts
    Blog Entries
    2
    Rep Power
    124
    Excellent :-)

    Now when you get your new hardware up and running you can move to documents, desktop and appdata being redirected to that storage. Once that's done, your profile sizes will be quite small and you can introduce roaming profiles. Once that's done users can just move to a new machine (or a reimaged machine) and everything will follow them and life will be nice and easy :-)



SHARE:
+ Post New Thread

Similar Threads

  1. VBS to Backup Folder and then Restore from Reg
    By simons2009 in forum Scripts
    Replies: 22
    Last Post: 2nd June 2009, 08:11 AM
  2. Backup Exec Restore: Can't find single files!!
    By Andie in forum How do you do....it?
    Replies: 6
    Last Post: 7th May 2009, 05:22 PM
  3. Replies: 19
    Last Post: 5th March 2009, 09:13 PM
  4. Moodle - Backup and Restore
    By danIT in forum Virtual Learning Platforms
    Replies: 3
    Last Post: 17th December 2008, 11:11 PM
  5. Simple backup and restore
    By adamyoung in forum Wireless Networks
    Replies: 7
    Last Post: 25th August 2006, 09:13 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •