Jump to content

Recommended Posts

Posted

Hey Everyone!

Does anyone know how to change the My Documents Folder's destination in the winnt.sif file for an unattended windows xp installation?

It's default is C:\Documents and Settings\%UserName%\My Documents and I want the destination to set at H:\ when installing windows.

Thank for everyone's support!


Posted

This seemed to work for me--I believe the same procedures for my pictures and my videos should work also.

;--set my documents folder
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Personal"="D:\\My Documents"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"Personal"="D:\\My Documents"

Posted

SWEET! It worked great! THANK YOU tap52384!

NOTE TO OTHER USERS: If you want to redirect My Documents to a Root Drive (ex: H:\) then you make sure that you enter H:\\ as the directory.

So here is what I used:

;Set My Documents Directory
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Personal"="H:\\"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"Personal"="H:\\"

  • 3 years later...
Posted

Hey guys

I tried to add the following lines to my winnt.sif. But i get an error right in the beginning of the installation after the hardware check.

The error says there is something wrong in the line

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DocFolderPaths]

Can I use [HKEY_LOCAL_MACHINE] at this stage of installation???

Here is the whole part:

[Identification]
JoinWorkgroup="Homeworld"


;Set My Documents Directory

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DocFolderPaths]
"Wolfi"="D:\\Eigene Dateien\Wolfi"
"Tanja"="D:\\Eigene Dateien\Tanja"
"Ralf"="D:\\Eigene Dateien\Ralf"
"Vati"="D:\\Eigene Dateien\Vati"
"Mutti"="D:\\Eigene Dateien\Mutti"


;Set Settings Directories

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Desktop"="D:\\Dokumente und Einstellungen\%USERNAME%\Desktop"
"Personal"="D:\\Eigene Dateien\%USERNAME%"
"Programs"="D:\\Dokumente und Einstellungen\%USERNAME%\Startmenü\Programme"
"SendTo"="D:\\Dokumente und Einstellungen\%USERNAME%\SendTo"
"Start Menu"="D:\\Dokumente und Einstellungen\%USERNAME%\Startmenü"
"Startup"="D:\\Dokumente und Einstellungen\%USERNAME%\Startmenü\Programme\Autostart"
"Templates"="D:\\Dokumente und Einstellungen\%USERNAME%\Vorlagen"
"My Pictures"=D:\\Eigene Dateien\%USERNAME%\Bilder
"Cookies"="D:\\Dokumente und Einstellungen\%USERNAME%\Cookies"
"My Music"="E:\\"


;Set All Users Directories

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"Common Desktop"="D:\\Dokumente und Einstellungen\All Users\Desktop"
"Common Start Menu"="D:\\Dokumente und Einstellungen\All Users\Startmenü"
"Common Startup"="D:\\Dokumente und Einstellungen\All Users\Startmenü\Programme\Autostart"
"Common Templates"="D:\\Dokumente und Einstellungen\All Users\Vorlagen"


;set time server
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers]
@="1"
"1"="ptbtime2.ptb.de"
"2"="ntps1-1.cs.tu-berlin.de"

"Eigene Dateien" = "My Documents"

thanks for your help in upfront

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...