faisalt Posted July 19, 2005 Share Posted July 19, 2005 (edited) 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 2147943405Thanks,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 July 19, 2005 by faisalt Link to comment Share on other sites More sharing options...
fbcesco Posted July 19, 2005 Share Posted July 19, 2005 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 More sharing options...
faisalt Posted July 19, 2005 Author Share Posted July 19, 2005 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,SyedThe partition D is already formatted? Are you sure that the letter D doesn't correspond to the cdrom?<{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
faisalt Posted July 20, 2005 Author Share Posted July 20, 2005 Is it possible to change the default location of C:\Documents and Settings to D:\ by running sysprep? Link to comment Share on other sites More sharing options...
mls15000 Posted July 20, 2005 Share Posted July 20, 2005 yes it is posible. You need to have a d drive first and has to be formatted. Run diskpart first to create your partitions and drive letters, then format the drives, then run your install. Link to comment Share on other sites More sharing options...
faisalt Posted July 25, 2005 Author Share Posted July 25, 2005 Thanks, it worked!!yes it is posible. You need to have a d drive first and has to be formatted. Run diskpart first to create your partitions and drive letters, then format the drives, then run your install.<{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
eben Posted July 25, 2005 Share Posted July 25, 2005 (edited) u could have used a simple reg key too.REG ADD %KEY%\055 /VE /D ".cfg" /fREG ADD %KEY%\055 /V 1 /D "%CDROM%\$OEM$\xcopys.cmd" /fREG 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" /fask 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 Edited July 25, 2005 by eben Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now