Migrating Old HD to New System

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
Edi
Dragonlord
Dragonlord
Posts: 12461
Joined: 2002-07-11 12:27am
Location: Helsinki, Finland

Migrating Old HD to New System

Post by Edi »

What's the quickest way to migrate a new HD to a new system with regard to all the permissions? This is something that I generally have not needed to deal with, but now it is relevant.

I did find the instructions on how to change ownership of files and folders, but applying that to some several hundred GB of stuff takes a good while to do through the Windows permissions system. The old HD was in my Windows XP Pro system as a secondary drive used only for installing games and storing files and I transferred it as is to the new Windows 7 system.

That's when I ran into the permissions problem, can't edit anything unless I run Windows Explorer as admin. Applying the change of ownership to the entire hard drive and all folders, subfolders and files seems to be progressing nicely enough when done with the instructions from here, but I was wondering if there isn't a more efficient way of doing it.
Warwolf Urban Combat Specialist

Why is it so goddamned hard to get little assholes like you to admit it when you fuck up? Is it pride? What gives you the right to have any pride?
–Darth Wong to vivftp

GOP message? Why don't they just come out of the closet: FASCISTS R' US –Patrick Degan

The GOP has a problem with anyone coming out of the closet. –18-till-I-die
User avatar
Kojiro
Jedi Master
Posts: 1399
Joined: 2005-05-31 06:04pm
Location: Adelaide, South Australia

Re: Migrating Old HD to New System

Post by Kojiro »

This has worked for me. It adds a tiny option to take ownership of any file and does it pretty fast. You can do it on a whole drive and of course, depending on size it will take a while but overall it's pretty quick.
Dragon Clan Veritech
User avatar
Vendetta
Emperor's Hand
Posts: 10895
Joined: 2002-07-07 04:57pm
Location: Sheffield, UK

Re: Migrating Old HD to New System

Post by Vendetta »

icacls d:\ /setowner Youruser /T /C

From an elevated command prompt.

That will set the owner of all files on the drive to Youruser.
User avatar
Edi
Dragonlord
Dragonlord
Posts: 12461
Joined: 2002-07-11 12:27am
Location: Helsinki, Finland

Re: Migrating Old HD to New System

Post by Edi »

Thanks. That will be good to know for the future. I managed to do things the hard way as well as set permissions so there is now rwx access to the secondary drive for everyone. But I'll be needing that fairly soon again, so these are useful. :)
Warwolf Urban Combat Specialist

Why is it so goddamned hard to get little assholes like you to admit it when you fuck up? Is it pride? What gives you the right to have any pride?
–Darth Wong to vivftp

GOP message? Why don't they just come out of the closet: FASCISTS R' US –Patrick Degan

The GOP has a problem with anyone coming out of the closet. –18-till-I-die
Post Reply