Fixed Documents and settings folder
#1
Posted 16 July 2011 - 12:30 PM
By default Documents and settings folder is created on the Ramdrive B:, which is not a problem when booting from a cd.Files or folders created by softwares in the Documents and settings folder odes not get saved as the cd cannot be written on.But how to creat the Documents and settings folder on X drive and retain it for usb booting?
#2
Posted 16 July 2011 - 01:19 PM
Let me just ask this REALLY stupid question....
are you asking how to make a iso of livexp then extract the contents of said iso to a grub4dos(or whatever method of booting you choose) and have the DAS(Documents and Settings) on the iso-extracted USB?
#3
Posted 16 July 2011 - 06:12 PM
I know how to make the iso.I am using PeToUSB to create the bootable usb drive.I point the source to Target>LiveXP folder that contains the i386 and program files.The directories on the usb are i386 becomes minnt, program files, modelram.exe, bootflag, ntldrr, ntdetect.com, bootsect.bin and winbom.ini.In define fundamentals I changed the settings drive to systemdrive instead of ramdrive.But every time that I boot the usb stick the modelram is extracted to the usb drive.Problem is if any program stores any settings in document and settings, it is lost on the next reboot.Hi, Dario
Let me just ask this REALLY stupid question....
are you asking how to make a iso of livexp then extract the contents of said iso to a grub4dos(or whatever method of booting you choose) and have the DAS(Documents and Settings) on the iso-extracted USB?
#4
Posted 16 July 2011 - 06:24 PM
If you don't want that, you have to manually change a few things.
1.) extract the modelram into the target folder and delete it
2.) mount the software hive and go to RunOnceEx and delete the extraction command for modelram
Now create your USB-Drive.
#5
Posted 16 July 2011 - 06:44 PM
How do I mount the software hive? will all the programs recognize "X:\Documents and Settings" as the default folder for all user and default user settings if the modelram is extracted into the target folder and deleted?Your problem is that LiveXP works exactly like it is suppose to.
If you don't want that, you have to manually change a few things.
1.) extract the modelram into the target folder and delete it
2.) mount the software hive and go to RunOnceEx and delete the extraction command for modelram
Now create your USB-Drive.
#6
Posted 16 July 2011 - 07:31 PM
first open regedit.exe(U may/may not have to deal with UAC in vista and up)
Select/highlight HKEY_LOCAL_MACHINE
then File>import Hive
Browser over to the system32\config folder on the USB
the one that has the Run/runonces is Software(no extension)
Give that hive a separate name(failure for using names like "software" may in error)
next goto (named hive)\Microsoft\Windows\CurrentVersion\Run (run/runonce/runonceex) (well, here's where you start...)
one of those three folder has the key you are looking.
After you delete said key, go back to (named Hive)
file>unload Hive
prompt shows(press yes)
and done!
(p.s i did the steps as i was typing so, it should work...)
and yes, unless you modify other entries, it should still use the Documents and Settings on the (boot) drive.
Edited by wimmaker, 16 July 2011 - 07:34 PM.
#7
Posted 16 July 2011 - 09:14 PM
In case it wasn't clear from the post above.will all the programs recognize "X:\Documents and Settings" as the default folder for all user and default user settings if the modelram is extracted into the target folder and deleted?
There is no difference to the programs using it, between a folder already existing for a long time and a folder freshly created seconds before.
As long as you selected in LiveXP, that you want DaS to be on X:, everything will be fine.
Or at least as fine as they are, when the folders are freshly created by modelram.
#8
Posted 17 July 2011 - 03:27 PM
I'll explain....
first open regedit.exe(U may/may not have to deal with UAC in vista and up)
Select/highlight HKEY_LOCAL_MACHINE
then File>import Hive
Browser over to the system32\config folder on the USB
the one that has the Run/runonces is Software(no extension)
Give that hive a separate name(failure for using names like "software" may in error)
next goto (named hive)\Microsoft\Windows\CurrentVersion\Run (run/runonce/runonceex) (well, here's where you start...)
one of those three folder has the key you are looking.
After you delete said key, go back to (named Hive)
file>unload Hive
prompt shows(press yes)
and done!
(p.s i did the steps as i was typing so, it should work...)
and yes, unless you modify other entries, it should still use the Documents and Settings on the (boot) drive.
I did just exactly as said but did not find a key to stop execution of modelram.I did not find any option on this page to upload the exported reg files, so I am Pasting the reg files
Please help me find the entry.Please....
::Run.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\TempHive\Microsoft\Windows\CurrentVersion\Run]
"BroadcastEnvChange"="hiderun.exe /w BroadcastEnvChange.exe /broadcast"
::RunOnce.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\TempHive\Microsoft\Windows\CurrentVersion\RunOnce]
"shutdownfix"=hex(2):68,00,69,00,64,00,65,00,72,00,75,00,6e,00,20,00,65,00,78,\
00,70,00,6c,00,6f,00,72,00,65,00,72,00,20,00,22,00,25,00,53,00,79,00,73,00,\
74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,22,00,00,00
::RunOnceEx.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\TempHive\Microsoft\Windows\CurrentVersion\RunOnceEx]
[HKEY_LOCAL_MACHINE\TempHive\Microsoft\Windows\CurrentVersion\RunOnceEx\000]
"00_waitessvc"="hiderun /w ESSvc.exe wait"
[HKEY_LOCAL_MACHINE\TempHive\Microsoft\Windows\CurrentVersion\RunOnceEx\500]
"100"="shell32.dll|DllInstall|I"
"103"="browseui.dll|DllInstall|I"
"104"="shdocvw.dll|DllInstall|I"
"201"="hiderun /w reg import cplfix.reg"
"ExpEnvVar"="hiderun /w ExpEnvVar.exe"
[HKEY_LOCAL_MACHINE\TempHive\Microsoft\Windows\CurrentVersion\RunOnceEx\550]
"msi"="hiderun /w regsvr32.exe /s msi.dll"
[HKEY_LOCAL_MACHINE\TempHive\Microsoft\Windows\CurrentVersion\RunOnceEx\900]
"msi_1"="hiderun /w msiexec.exe /regserver"
"msi_2"="hiderun /w net start msiserver"
"audiosrv"="hiderun /w net start audiosrv"
[HKEY_LOCAL_MACHINE\TempHive\Microsoft\Windows\CurrentVersion\RunOnceEx\980]
"ohci1394"="hiderun /w reg add HKLM\\SYSTEM\\CurrentControlSet\\Services\\ohci1394 /v ImagePath /t REG_EXPAND_SZ /d system32\\DRIVERS\\ohci1394.sys /f"
"sbp2port"="hiderun /w reg add HKLM\\SYSTEM\\CurrentControlSet\\Services\\sbp2port /v ImagePath /t REG_EXPAND_SZ /d system32\\DRIVERS\\sbp2port.sys /f"
[HKEY_LOCAL_MACHINE\TempHive\Microsoft\Windows\CurrentVersion\RunOnceEx\999]
"JunctionInstaller1"="hiderun /w cmd.exe /c md \"%WinDir%\\Installer\" &md \"%TEMP%\\Installer\" &junc.exe \"%WinDir%\\Installer\" \"\\??\\%TEMP%\\Installer\""
"JunctionInstaller2"="hiderun /w cmd.exe /c md \"%WinDir%\\Downloaded Installations\" &md \"%TEMP%\\Downloaded Installations\" &junc.exe \"%WinDir%\\Downloaded Installations\" \"\\??\\%TEMP%\\Downloaded Installations\""
"SetResolution"="hiderun SetResolution.exe -hide -abovenormal -vmdetect -registry -output"
"go2pdf1"="hiderun /w reg import go2pdf_inst.reg"
"go2pdf2"="hiderun /w net start spooler"
"xpepnp"="hiderun /w reg import syssetup.reg"
"resShort"="hiderun /w \\resShort.exe"
#9
Posted 17 July 2011 - 07:42 PM
i listed the wrong key,
the key you are searching for is in "Earlystater" at the root of the hive
(like third folder when you load it...)
(named hive)
Classes
Clients
EarlyStarter <- this is where it was at
(sorry )
name > 020_Running_Modelram
data > +hiderun /w cmd.exe /C hiderun /w %SystemDrive%\ModelRam -o%SystemDrive% -y
p.s you could search for the name or data string (if its unmodified)
Edited by wimmaker, 17 July 2011 - 07:43 PM.
#10
Posted 20 July 2011 - 06:43 PM
Thanks for the help, it worked.As the DaS will not be extracted to the ramdrive is the ramdrive required to be created? Can livexp be configured to create the temp drive and Temporary Internet Files on the ramdrive?My deeply apologies,
i listed the wrong key,
the key you are searching for is in "Earlystater" at the root of the hive
(like third folder when you load it...)
(named hive)
Classes
Clients
EarlyStarter <- this is where it was at
(sorry )
name > 020_Running_Modelram
data > +hiderun /w cmd.exe /C hiderun /w %SystemDrive%\ModelRam -o%SystemDrive% -y
p.s you could search for the name or data string (if its unmodified)
#11
Posted 20 July 2011 - 07:45 PM
Now while i'm not positive about this...Thanks for the help, it worked.As the DaS will not be extracted to the ramdrive is the ramdrive required to be created? Can livexp be configured to create the temp drive and Temporary Internet Files on the ramdrive?
1)HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders > Cache
2)HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders > Cache
3)HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths
Keys 1 and 2 changed every time i move the temporary internet file from the within options
Key 3 i not too positive on....
i don't know if they will work before you start livexp...
as for temp...same thing(not sure if they will work)
"readjust" these keys
4)HKEY_CURRENT_USER\Environment > TEMP
and HKEY_CURRENT_USER\Environment > TMP
5)HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders > temp
and HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders > tmp
#12
Posted 20 July 2011 - 07:55 PM
I tried loading the default hive from system32>config and found the key.Thanks Thanks once again for the prompt replyNow while i'm not positive about this...
1)HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders > Cache
2)HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders > Cache
3)HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths
Keys 1 and 2 changed every time i move the temporary internet file from the within options
Key 3 i not too positive on....
i don't know if they will work before you start livexp...
as for temp...same thing(not sure if they will work)
"readjust" these keys
4)HKEY_CURRENT_USER\Environment > TEMP
and HKEY_CURRENT_USER\Environment > TMP
5)HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders > temp
and HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders > tmp
Edited by Dario Dias, 20 July 2011 - 08:07 PM.
#13
Posted 20 July 2011 - 08:12 PM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users