Jump to content

redirect Documents and Settings upon install


Recommended Posts

I want to change the partition that Documents and Settings is on. I have created a Windows 2003 Server CD with a WINNT.SIF file containing the following:

[GuiUnattended]
ProfilesDir="D:\Documents and Settings"

I saw that the D: drive was already created when I choose which partition to install Windows on. The error I'm getting is:

Internal setup data structures are corrupted (phase 0).

So then I added some lines per this KB article: http://support.microsoft.com/kb/238835. Here is why my WINNT.SIF looks like now:

[GuiUnattended]
ProfilesDir="D:\Documents and Settings"
[Data]
UnattendedInstall=Yes
MSDosInitiated=No
AutoPartition=0

Now I'm getting another error and don't know how to fix it. Here is my error:

Setup failed to install the product catalogs.  This is a fatal error.  The setup log files should contain more information.

Does anyone have an example WINNT.SIF where they successfully redirected Documents and Settings? TIA.

Link to comment
Share on other sites


Alright, so I got that to work. Now my computer gets a BSOD. I know people have done this before... why can't I get the Documents and Settings to redirect properly?!?!? The BSOD is the generic one with no error codes. It just tells me to run chkdsk /r. I do that and of course the drives are clean. Does this maybe have something to do with the fact that my computer has a RAID setup. There are two RAID arrays... RAID1(C:) and RAID5(D:). I am going to have lots of users logging into this server so I want the D&S folder to be on the large array. Please someone guide a lost soul.

Link to comment
Share on other sites

;Change location of my documents
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"Personal" ="D:\\"

You can run a reg file after the install with the above key. That's what I do, and not from winnt.sif and works fine. Don't know what you have to put in winnt.sif though, maybe someone else can help you with that.

Edited by Grake
Link to comment
Share on other sites

I don't know why you are getting a BSOD. But here is what I have used in the past. Just be sure that the location you are moving the profiles directory to is formatted before T-13 otherwise you will have all kinds of strange problems. The CopySource.cmd script also includes a script to format the D: partition.

;SetupMgrTag
[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"
AutomaticUpdates=YES

[Unattended]
UnattendMode=FullUnattended
UnattendSwitch=Yes
OemSkipEula=Yes
OemPreinstall=Yes
TargetPath=\WINDOWS
Repartition=Yes
WaitForReboot=No

[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=NO
TimeZone=35
OemSkipWelcome=1
OEMSkipRegional=1
ProfilesDir="D:\Documents and Settings"
DetachedProgram=CMD.EXE
Arguments="/Q /C START /MIN /B %systemdrive%\Install\CopySource.cmd"

[UserData]
ProductKey=Z1Y2X-W3V4U-T5S6R-Q7P8O-N9M0L
FullName="ND User"
OrgName="University of Notre Dame"
ComputerName=*

[Display]
BitsPerPel=32
Xresolution=1024
YResolution=768

[TapiLocation]
CountryCode=1
Dialing=Tone
AreaCode=574

[Identification]
JoinWorkgroup=BUILD

[Proxy]
Proxy_Enable=0
Use_Same_Proxy=0

[GuiRunOnce]
Command0=c:\windows\system32\autoupdate.vbs

[Shell]
DefaultStartPanelOff=Yes
DefaultThemesOff=Yes

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