Jump to content

Export, Import UserShellFolder


oskingen

Recommended Posts

Hi guys! Every time I reinstall my computer I waste my time to modify the location of my personnal folders so I decided to export my registry user shell folder and Shell folder. I first cleaned it and I have this:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"Favorites"=hex(2):44,00,3a,00,5c,00,46,00,61,00,76,00,6f,00,72,00,69,00,74,00,\
65,00,73,00,00,00
"My Music"=hex(2):44,00,3a,00,5c,00,4d,00,75,00,73,00,69,00,63,00,00,00
"My Pictures"=hex(2):44,00,3a,00,5c,00,50,00,69,00,63,00,74,00,75,00,72,00,65,\
00,73,00,00,00
"My Video"=hex(2):44,00,3a,00,5c,00,56,00,69,00,64,00,65,00,6f,00,73,00,00,00
"Personal"=hex(2):44,00,3a,00,5c,00,44,00,6f,00,63,00,75,00,6d,00,65,00,6e,00,\
74,00,73,00,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"My Video"="D:\\Videos"
"My Pictures"="D:\\Pictures"
"Favorites"="D:\\Favorites"
"My Music"="D:\\Music"

I would like to know if I can just import it for the next time that I reinstall my computer or this method is not recommended ?

Link to comment
Share on other sites


You can simply import it during your unattended installation... but I see that you refer to a D-drive, so make sure that the drive exists.

I use Vlite and it doesn't give this option for my unattend file. can you show me wich tag I have to add in my unattend file. I have only one disk. the D-drive is just the other partition

Link to comment
Share on other sites

It's not something to add to your unattended file. You simply import the REG-file at T13 for example. You can write a batch script to check for the existance of a D-drive. Have you read the whole Unattended Guide?

yeah, i have saw that. I was also looking for something like <FolderLocations><Personal>... but i did not find out. what I did is just import the reg automatically from a batch file at my first logon (clean install) then I have killed and reload explorer. When I checked my folder I saw that everything was in double so i deleted the bad folder.

Edited by hannubys
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...