Greg00pl Posted March 14, 2006 Posted March 14, 2006 (edited) 1) How i can set size of SwapFile on my unattend cd ?? (minimum 1024Mb max 1024Mb)2) How to disable hibernation ??3) How to disable System restore on all partitions except system partition ???4) How to change Power settings (i'v got config file from my windows i just need to set it as default power settings)5) How i can export files associations to unattend cd ??6) Do You know any method to put Unattend XP on 2 or more cd's ?? (installer + drivers + hotfixes = 1GB) (it's important for me, because i haven't dvd in all of my computers - i'v got 5 computers at home )sry for my english (again) because i lost my dictionary... Edit: One more question how to kill some of the autorun services after installing the programs ?? Edited March 14, 2006 by Greg00pl
jbm Posted March 14, 2006 Posted March 14, 2006 I don't know about your other questions, but stop a program fromrunning on startup put something like this in a reg file.Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]"AVG7_CC"=-just replace AVG7_CC with the programs you want to remove.
exrcizn Posted March 14, 2006 Posted March 14, 2006 I am also looking for some answers to #1, #2, and #4 in Greg00pl's list. I would greatly appreciate help on these as well and will post any answers I find.Thx
zedox Posted March 14, 2006 Posted March 14, 2006 disable hibernation:; DISABLE Standby and Hibernation[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ACPI\Parameters]"Attributes"=dword:00000070[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power]"Heuristics"=hex:05,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,3f,42,0f,00[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Power]"Heuristics"=hex:05,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,3f,42,0f,00[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power]"Heuristics"=hex:05,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,3f,42,0f,00Change Power Scheme; Set Power Scheme (Presentation)[HKEY_CURRENT_USER\Control Panel\PowerCfg\]"CurrentPowerPolicy"="2"Values 1-5, not sure what each represents.
Delprat Posted March 14, 2006 Posted March 14, 2006 1) SwapFile :Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management]"PagingFiles"=hex(7):63,00,3a,00,5c,00,70,00,61,00,67,00,65,00,66,00,69,00,6c,\ 00,65,00,2e,00,73,00,79,00,73,00,20,00,31,00,30,00,32,00,34,00,20,00,31,00,\ 30,00,32,00,34,00,00,00,00,00To have this work right, you'll need to update the HIVE*.INF.
Greg00pl Posted March 14, 2006 Author Posted March 14, 2006 OK, but how i can export my (user) Power Scheme ??About SwapFile... Hm... how should it looks for other values ??
laura Posted March 15, 2006 Posted March 15, 2006 @echo offset key=HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\reg add %key% /v PagingFiles /t REG_MULTI_SZ /d "%SystemDrive%\pagefile.sys 1024 1024" /fsave as some.cmd and there you may choose any sizes.run regedit and export any values to file
cancerface Posted March 15, 2006 Posted March 15, 2006 (edited) For #1 you can use microsoft's pagefileconfig.vbs (found in %SystemRoot%\System32)First I delete my swap fileECHO y | cscript //nologo //T:600 %systemroot%\system32\pagefileconfig.vbs /delete /VO C:and then I create the new fileECHO y | cscript //nologo //T:600 %systemroot%\system32\pagefileconfig.vbs /create /I 1024 /M 1024 /VO C:CF[Edit]You can also define any values for min/max size with this way ...ECHO y | cscript //nologo //T:600 %systemroot%\system32\pagefileconfig.vbs /create /I <your_min_value> /M <your_max_value> /VO C: Edited March 15, 2006 by cancerface
Greg00pl Posted March 15, 2006 Author Posted March 15, 2006 THXWhat about :4) How to change Power settings (i'v got config file from my windows i just need to set it as default power settings)5) How i can export files associations to unattend cd ??6) Do You know any method to put Unattend XP on 2 or more cd's ?? (installer + drivers + hotfixes = 1GB)in 6 i mean How to make 2cd's unattend xp - only with system install... WPI + reg tweaks i can make on other cd without problems...
cancerface Posted March 15, 2006 Posted March 15, 2006 A not so elegant solution to #3 is this one:DisableSRonALLDrives.vbsDim SRP, eSRPSet SRP = GetObject("winmgmts:\\.\root\default:SystemRestore")eSRP = SRP.disable("D:\")eSRP = SRP.disable("E:\")eSRP = SRP.disable("F:\")eSRP = SRP.disable("G:\")eSRP = SRP.disable("H:\")eSRP = SRP.disable("I:\")eSRP = SRP.disable("J:\")eSRP = SRP.disable("K:\")eSRP = SRP.disable("L:\")eSRP = SRP.disable("M:\")eSRP = SRP.disable("N:\")eSRP = SRP.disable("O:\")eSRP = SRP.disable("P:\")eSRP = SRP.disable("Q:\")eSRP = SRP.disable("R:\")eSRP = SRP.disable("S:\")eSRP = SRP.disable("T:\")eSRP = SRP.disable("U:\")eSRP = SRP.disable("V:\")eSRP = SRP.disable("W:\")eSRP = SRP.disable("X:\")eSRP = SRP.disable("Y:\")eSRP = SRP.disable("Z:\")EnableSRonC.vbsDim SRP, eSRPSet SRP = GetObject("winmgmts:\\.\root\default:SystemRestore")eSRP = SRP.enable("C:\")CF
cancerface Posted March 15, 2006 Posted March 15, 2006 For #5 you mean that this post didn't help you? CF
Greg00pl Posted March 15, 2006 Author Posted March 15, 2006 Ekhm... i mean... hm... i does't really know that...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now