Forum     

Go Back   Digit Technology Discussion Forum > Software > Software Q&A
Register FAQ Calendar Mark Forums Read

Software Q&A Having trouble with software? Find solutions here


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 01-02-2008, 06:55 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Sep 2007
Posts: 38
Default Need help in migrating XP security accounts and settings.


I have protected quite a few files and folders on my computer using the security provided by the NTFS file system and Win XP.
i.e. After you disable simple file sharing, whenever you right click a file or folder, you get an additional 'security' tab, wherin you can set permissions for accessing that file or folder based on the user account or user group on that computer.

Now I have locked quite a few files and folders this way, and restricted their access to one user account which also has admin priviledges on the machine.

I need to reinstall my Windows XP, and I know I will lose my files forever if I don't take certain steps to backup and transfer certain files/registry entries/ settings to the target windows installation. I don't know what these are, so could someone please help me out?

Also, I am in a bit of a hurry here, I just have 2 days after which my current win installation will be rendered useless, and I won't be able to extract those files/settings without a lot of additional hassles.


I recall reading about a similar query in one Digit QnA section a few months ago, but that guy had encrypted his files, he wasn't using file and folder permissions, so the instructions that apply to him are a bit different from mine. If they are the same, I don't know.


I have already tried searching the net, and I only get the ' Win XP file and settings transfer wizard' bullshit, and I went through the first 5 pages on this board, and couldn't find a similar thread. So please don't flame me for asking this question.
reachrishikh is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 02-02-2008, 03:09 AM   #2 (permalink)
I Always Prefer 1080p
 
techtronic's Avatar
 
Join Date: May 2006
Posts: 1,018
Default Re: Need help in migrating XP security accounts and settings.

Are you storing your Data on a separate partition or on the same partition where XP is installed (C:/) ?
techtronic is offline  
Old 02-02-2008, 11:58 AM   #3 (permalink)
Right Off the Assembly Line
 
Join Date: Sep 2007
Posts: 38
Default Re: Need help in migrating XP security accounts and settings.

On a separate hard drive altogether. But that is not the issue. It doesn't matter where the data is stored, the permissions can be set on any data anywhere, but the security accounts are managed from a central place by windows. The security accounts are not stored in windows by the name you select for them - for example, if I create two accounts by the exact names -

John Smith
Jack Smith

in my original windows installation, internally, they won't be stored by that name. They have some cryptic identifying number. Also, John is set up as a user, and Jack is set up as a power user.

Secondly, assuming I set some deny permissions for John Smith on folder D:\XYZABC in my first installation, and permit Jack Smith to access the same folder.

Now, assuming I need to reinstall my windows completely, but my data is safe on another hard drive (the d:\). After the reinstallation, I recreate the exact 2 same user accounts

John Smith
Jack Smith

with the same user groups that they belonged to earlier, i.e. John is an ordinary user, and Jack is a power user.

It still won't make any difference, as the permissions are set for the John Smith and Jack Smith of the first installation, attached to the accounts with the cryptic names mentioned before, and not to tthe names John Smith and Jack Smith.

So if someone wants to retain the permissions set for the original security accounts, there is some procedure to save them/take a backup, and then import them into the new windows installation. But I just don't know what that is.
Someone please help me out.

I hope this clears things up.
reachrishikh is offline  
Old 02-02-2008, 12:01 PM   #4 (permalink)
ImAClown
Guest
 
Posts: n/a
Default Re: Need help in migrating XP security accounts and settings.

Press F1 and you will get Microsoft Help thing. There type key words of your problem and you will get the solution. Sometimes, microsoft will fox it automatically....
 
Old 02-02-2008, 07:27 PM   #5 (permalink)
Right Off the Assembly Line
 
Join Date: Sep 2007
Posts: 38
Default Re: Need help in migrating XP security accounts and settings.

I'm afraid it isn't as simple as that my friend, and I was expecting a bit more technical and intelligent replies on this forum.

It appears this is one of those areas where microsoft itself doesn't want to be clear, and the support provided by it on this topic is hazy. I've already searched their kb articles before coming here, as mentioned above, and you would agree their kb articles are more detailed and have more comprehensive information on every thing relating to their products, so if it wasn't found there, I doubt I'll find it in the joke of a microsoft inbuilt help feature.
reachrishikh is offline  
Old 11-02-2008, 11:32 PM   #6 (permalink)
Right Off the Assembly Line
 
Join Date: Sep 2007
Posts: 38
Default Re: Need help in migrating XP security accounts and settings.

Anyone???
reachrishikh is offline  
Old 13-02-2008, 02:49 PM   #7 (permalink)
Right Off the Assembly Line
 
Join Date: Sep 2007
Posts: 38
Default Re: Need help in migrating XP security accounts and settings.

Come on guys, I thought the people over at Digit were smart, that they would know the answer to this.
Someone, please help me!
reachrishikh is offline  
Old 14-02-2008, 07:30 PM   #8 (permalink)
Web developer
 
narangz's Avatar
 
Join Date: May 2005
Location: Paradise
Posts: 1,010
Default Re: Need help in migrating XP security accounts and settings.

I guess this might help you:
1. Backup your EFS certificates in case you have encrypted the files. Here's how:
http://www.practicalpc.co.uk/computi...xpencrypt1.htm

Check out all the parts of the article.

2. Take ownership of files with NTFS permissions:
You must take ownership of the folder to gain access to the ACL(Account Control List). To take ownership of the folder follow these steps:

-Right click the folder->click Properties->Security tab
Click OK when you receive the following message:
You only have permission to view the current security information on username.
-Click Advanced, then ->Owner tab
-Select a new owner, select Replace owner on subcontainers and objects, and then click OK.
You'll receive this message:
You do not have permission to read the contents of directory path and directory name. Do you want to replace the directory permissions with permissions granting you Full Control?
Click YES.
-Close the boxes.
-Reopen the properties.

Now this folder inherits the permissions of the parent folder. If you want to change the permissions you'll have to block inheritance from the parent by uncheking the checkbox to 'Allow inheritable permissions from parent to propagate to this object'
Hope it helps!
narangz is offline  
Old 15-02-2008, 12:22 PM   #9 (permalink)
Right Off the Assembly Line
 
Join Date: Sep 2007
Posts: 38
Default Re: Need help in migrating XP security accounts and settings.

No, I haven't encrypted anything on my system. I had seen that backing up of the EFS certificates thing in the QnA section of Digit a few months ago. Thanks anyway.

So, if anyone with admin priviledges on any installation of Windows XP/Vista/2000/2003/2008/future versions on any computer, can take ownership of protected folders on the hard drive of a computer, and override all the security settings attached to that file or folder, then this mode of protecting access to files and folders on a Windows machine is very flawed, and can hardly be called 'security', don't you think?

So if taking ownership of the protected folders is the only option (an option that I was aware of previously), then does that mean I cannot migrate the security logon accounts from one installation of Windows to another? (Same version, e.g. XP Pro to XP Pro.)
Because if I go through the steps outlined above, I will have to manually take control of all folders where I had set security permissions, take ownership of all of them, and set all allow and deny permissions for each account all over again.

Last edited by reachrishikh; 15-02-2008 at 12:22 PM. Reason: Automerged Doublepost
reachrishikh is offline  
Old 15-02-2008, 12:29 PM   #10 (permalink)
The Devil's Advocate
 
iMav's Avatar
 
Join Date: Mar 2006
Location: Masti Ki Paathshaala
Posts: 7,019
Default Re: Need help in migrating XP security accounts and settings.

what exactly do u wanna do? u want to copy these restricted files to another location
__________________
"The problem that shows up with the three red lights on the console is a complex interaction with some very complex parts.” - Robbie Bach

http://beingmanan.com
twitter: manan | Last.FM: manan
iMav is offline  
Old 16-02-2008, 12:10 AM   #11 (permalink)
Right Off the Assembly Line
 
Join Date: Sep 2007
Posts: 38
Default Re: Need help in migrating XP security accounts and settings.

Would you please read the entire thread above? It would make everything a lot clearer, as I have explained everything quite clearly, with examples.
reachrishikh is offline  
Old 09-03-2008, 01:30 AM   #12 (permalink)
Right Off the Assembly Line
 
Join Date: Sep 2007
Posts: 38
Default Re: Need help in migrating XP security accounts and settings.

Will someone from the Digit team please help me out? I know you guys check messages here frequently, if only to moderate the boards.
I don't want to go the flawed and time-consuming 'take ownership' mode, and I know there is some Security Accounts Manager (SAM) file or something that stores information about Windows workgroup and domain login accounts. If I am able to just transfer that file to the new windows installation, it will solve all my problems, but I don't know what exactly the file is, where it is located, and how exactly to transfer/backup-restore it.
reachrishikh is offline  
Old 20-06-2008, 05:11 PM   #13 (permalink)
Right Off the Assembly Line
 
Join Date: Sep 2007
Posts: 38
Default Re: Need help in migrating XP security accounts and settings.

Okay, I have gone ahead and tried using the oft-suggested 'Windows File and Settings Transfer Wizard', and it was absolutely no help at all, just like I've been telling everyone all along!
It offers me to transfer all sorts of useless windows configuration settings that I can manually set on the new computer faster, and much better, but does not offer to transfer the most important of them all - the Security Accounts Manager files and user accounts.
reachrishikh is offline  
Old 20-06-2008, 09:15 PM   #14 (permalink)
Legen-wait for it-dary!
 
dheeraj_kumar's Avatar
 
Join Date: Dec 2004
Location: Chennai
Posts: 2,471
Default Re: Need help in migrating XP security accounts and settings.

You'd been doing this for four months? you coulda copied the folders to another drive, reinstalled windows, copy them back, and set permissions. Takes 30 mins extra, but it works.
__________________
If the Start Windows Restart when Windows starts check box is checked Windows Restart will start automatically every time Windows is started. - Actual excerpt from a windows program help file
dheeraj_kumar is offline  
Old 20-06-2008, 10:23 PM   #15 (permalink)
Right Off the Assembly Line
 
Join Date: Sep 2007
Posts: 38
Default Re: Need help in migrating XP security accounts and settings.

No, I've been procrastinating for four months.
I just reinstalled my windows finally 2 days ago, and did exactly that what you mentioned.
Although my folders and data already reside on another hard drive altogether, and if you'd gone through the above, you would have found that out.

If that is the only option out I have, then it is a highly tedious, time-consuming, not to mention highly insecure method of storing and managing security permissions for files and folders on NTFS partitions. I mean, what's the sense in setting security access/deny permissions if you can't migrate them should you need to do the inevitable re-install of the operating system, and if any damn fool with admin level priviledges can simply reset the permissions by taking ownership of the 'secured' files or folders?
Besides, it is possible to completely lock and also transfer encryption settins applied to files and folders on NTFS partitions, so why should the same not be applicable to security permissions?
reachrishikh is offline  
Old 20-06-2008, 10:49 PM   #16 (permalink)
The Devil's Advocate
 
iMav's Avatar
 
Join Date: Mar 2006
Location: Masti Ki Paathshaala
Posts: 7,019
Default Re: Need help in migrating XP security accounts and settings.

This could have helped: http://www.microsoft.com/windowsxp/u...ovember12.mspx
__________________
"The problem that shows up with the three red lights on the console is a complex interaction with some very complex parts.” - Robbie Bach

http://beingmanan.com
twitter: manan | Last.FM: manan
iMav is offline  
Old 21-06-2008, 12:33 AM   #17 (permalink)
Right Off the Assembly Line
 
Join Date: Sep 2007
Posts: 38
Default Re: Need help in migrating XP security accounts and settings.

^^ Dude, do you even bother to read what's written in a thread or do you just skim over stuff and post whatever comes into your head? This has happenned twice with you now, in this very thread. It seems you just want to post as much as you can to up your post count, just quantity, but no quality in your posts!



Just to make this clear - My requirements are highly technical. I'm not a silly noob asking around how to transfer those itty-bitty windows desktop settings, files from My Documents and the like, to a new computer. That's kiddy stuff, and I have my own far more efficient ways to take care of that stuff.
So if you don't have a reasonable technical knowledge about the MS Security Accounts Manager and its implementation, then please don't bother posting any more replies about the File and Settings Transfer Wizard.
reachrishikh is offline  
Old 21-06-2008, 12:44 AM   #18 (permalink)
The Devil's Advocate
 
iMav's Avatar
 
Join Date: Mar 2006
Location: Masti Ki Paathshaala
Posts: 7,019
Default Re: Need help in migrating XP security accounts and settings.

Highly technical stuff? All you want to do is transfer files keeping their permissions & user privileges intact! All I said it culd have helped.
__________________
"The problem that shows up with the three red lights on the console is a complex interaction with some very complex parts.” - Robbie Bach

http://beingmanan.com
twitter: manan | Last.FM: manan
iMav is offline  
Old 21-06-2008, 12:52 AM   #19 (permalink)
Right Off the Assembly Line
 
Join Date: Sep 2007
Posts: 38
Default Re: Need help in migrating XP security accounts and settings.

I do NOT want to transfer any file at all! I want to transfer the 'Security Accounts Manager user accounts'.
And I mention just a few posts above that I have already tried the File and Settings Transfer Wizard, and it did NOT help, yet I have a post below me that implores me to do the same again.

The problem with a majority of you people is that you cannot be bothered to 'READ'!

I'm done with this place, I know I'm not getting any intelligent replies for this issue.
reachrishikh is offline  
Old 21-06-2008, 01:03 AM   #20 (permalink)
The Devil's Advocate
 
iMav's Avatar
 
Join Date: Mar 2006
Location: Masti Ki Paathshaala
Posts: 7,019
Default Re: Need help in migrating XP security accounts and settings.

Sorry for missing the last line. My apologies. However, if it is the SAM settings that you want copy to the new installation, you can try by backing up the SAM file and then replace the one in your new installation. Not sure whether it will work.

file is stored in %systemroot%\system32\config\sam.
__________________
"The problem that shows up with the three red lights on the console is a complex interaction with some very complex parts.” - Robbie Bach

http://beingmanan.com
twitter: manan | Last.FM: manan
iMav is offline  
Old 21-06-2008, 01:22 AM   #21 (permalink)
Right Off the Assembly Line
 
Join Date: Sep 2007
Posts: 38
Default Re: Need help in migrating XP security accounts and settings.

That's what!
I doubt it as simple as copying the sam file. I think this was mentioned in Digit a few years ago, that merely copying the sam file does not help, but I think I will give it a try. And I don't think that sam is the only file that needs to be copied in such a case, there must be a others as well. For example, the 'security' file in the same folder. Don't know what it does, or whether it comes into play or not. That's why I need someone intimately familiar with the working of windows user accounts and SAM to help me out.

*edit*
Nope, sam cannot be copied with windows running. I'll try to do it in either safe mode, or I'll use a boot cd to load winpe and try copying sam to a safe location then. Anyway, I'll keep you posted about my experimentations.
reachrishikh is offline  
Old 21-06-2008, 02:16 AM   #22 (permalink)
The Devil's Advocate
 
iMav's Avatar
 
Join Date: Mar 2006
Location: Masti Ki Paathshaala
Posts: 7,019
Default Re: Need help in migrating XP security accounts and settings.

Well I did *READ* a bit about SAM. This page seems to have all the technical info about SAM and things related to it.

If you see everywhere he has mentioned the registry location of the setting and the explorer file seems to be the SAM file location. It's worth a shot IMHO.

Read from here: http://www.beginningtoseethelight.or...03CF0AFBB170DD
__________________
"The problem that shows up with the three red lights on the console is a complex interaction with some very complex parts.” - Robbie Bach

http://beingmanan.com
twitter: manan | Last.FM: manan
iMav is offline  
Old 21-06-2008, 09:27 AM   #23 (permalink)
Legen-wait for it-dary!
 
dheeraj_kumar's Avatar
 
Join Date: Dec 2004
Location: Chennai
Posts: 2,471
Default Re: Need help in migrating XP security accounts and settings.

@reachrishikh

I know a bit about SAM and its working, but I dont know about transferring sam settings. First of all, sam settings are inaccessible to even administrators. Second, folders are locked with the NTLM and LM hashes. When you reinstall, I believe the hashes change. Hence transferring protection wouldnt be possible, I think.
__________________
If the Start Windows Restart when Windows starts check box is checked Windows Restart will start automatically every time Windows is started. - Actual excerpt from a windows program help file
dheeraj_kumar is offline  
Old 25-06-2008, 11:08 PM   #24 (permalink)
Right Off the Assembly Line
 
Join Date: Sep 2007
Posts: 38
Default Re: Need help in migrating XP security accounts and settings.

Hacking the NTLM hashes in the SAM file using a hex editor is the only option left, if at all I want to accomplish the thing I want, and that is not my 'bas ki baat', so I will drop that, and instead make a list of every folder that has custom permissions set, as well as a list of which user has been set which permission, and manually take ownership and reset the permissions for every one of those folders each time I have to reinstall windows.

iMav, thanks for the link, the page is too large, and I will go through it sometime in 'phursat'.

As for my problem, sometime when I have the free time, I will create a diagram in visio detailing everything so that it will serve as a guidance for anyone else looking to troubleshoot this same issue, and will also help them understand it better.
reachrishikh is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
migrating to a new HDD. manmay QnA (read only) 9 23-08-2007 11:07 AM
Help... IE Security Settings koolbluez Software Q&A 2 10-01-2007 01:17 PM
Migrating OSs cypher Software Q&A 1 01-01-2006 04:16 PM

 
Latest Threads
- by chris
- by abhidev
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 03:15 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2