Jump to content

Recommended Posts

Posted (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 :thumbup )

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 by Greg00pl

Posted

I don't know about your other questions, but stop a program from

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

Posted

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

Posted

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,00

Change Power Scheme

; Set Power Scheme (Presentation)
[HKEY_CURRENT_USER\Control Panel\PowerCfg\]
"CurrentPowerPolicy"="2"

Values 1-5, not sure what each represents.

Posted

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,00

To have this work right, you'll need to update the HIVE*.INF.

Posted

@echo off
set 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" /f

save as some.cmd and there you may choose any sizes.

run regedit and export any values to file :)

Posted (edited)

For #1 you can use microsoft's pagefileconfig.vbs (found in %SystemRoot%\System32)

First I delete my swap file

ECHO y | cscript //nologo //T:600 %systemroot%\system32\pagefileconfig.vbs /delete /VO C:

and then I create the new file

ECHO 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 by cancerface
Posted

THX

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

Posted

A not so elegant solution to #3 is this one:

DisableSRonALLDrives.vbs

Dim SRP, eSRP
Set 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.vbs

Dim SRP, eSRP
Set SRP = GetObject("winmgmts:\\.\root\default:SystemRestore")
eSRP = SRP.enable("C:\")

:)

CF

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...