Jump to content

Change Default Location of C:Document&Settings


Recommended Posts

Hi Everyone,

I am trying to change the default location of C:\Documents and Settings to D:\userdata. This is how my WintNt.sif looks like...Can someone tell me what I am doing wrong? Here is the error I get when installing XP.

Setup Couldnt register OLE control C:\Windows\system32\rsaenh.dll because of the following error DLLregisterserver returned error 2147943405

Thanks,

faisal

;SetupMgrTag

[Data]

AutoPartition=0

MsDosInitiated="0"

UnattendedInstall="Yes"

[unattended]

UnattendMode=FullUnattended

UnattendSwitch=yes

OemSkipEula=Yes

OemPreinstall=No

TargetPath=\WINDOWS

FileSystem=*

[GuiUnattended]

AdminPassword=""

EncryptedAdminPassword=NO

OEMSkipRegional=1

TimeZone=35

OemSkipWelcome=1

ProfilesDir="D:\userdata"

[userData]

ProductKey=

FullName=

OrgName=

ComputerName=*

[identification]

JoinWorkgroup=WORKGROUP

[Networking]

InstallDefaultComponents=Yes

Edited by faisalt
Link to comment
Share on other sites


No I didn't format partition D. Though, I have created it. I had the same feeling that it does not work for that reason. Do you think is there another way I could accomplish this? I like to have my D: partition exclusively for user data.

Thanks,

Syed

The partition D is already formatted? 

Are you sure that the letter D doesn't correspond to the cdrom?

Link to comment
Share on other sites

u could have used a simple reg key too.

REG ADD %KEY%\055 /VE /D ".cfg" /f
REG ADD %KEY%\055 /V 1 /D "%CDROM%\$OEM$\xcopys.cmd" /f
REG ADD %KEY%\055 /V 2 /D "REG ADD \"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\" /v \"Personal\" /t REG_EXPAND_SZ /d \"D:\midocs\" /f" /f

ask some script kid / man / woman to modify it to include conditional statement such as 'if d:\midocs exists, reg add..., if e:\ blabla blas blabla, if bla blas, bla. srry, i don't know poo about batches :)

edit: i'm asking scriptman/wonderwoman/breezaboi/breezagal to do it, as i would use it myself too :P

Edited by eben
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...