OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: Profile overwrite/delete due to registry size limit.
From: Michael Clarke (Michael.ClarkeMCSCI.NET)
Date: Sat May 13 2000 - 01:22:40 CDT


Curtis, Matthew,

Thanks, it looks like you two have the answer to compacting the registry
files. Curtis included a script -see original message below. I will try
your solution. Microsoft tech support did not know how to do this! MS
should have a KB article describing this registry compacting rdisk/mv
method.

I wonder what kind of performance hit is taken when the registry SOFTWARE
file has a ton of empty space. I will try and see what the users report
when we remove 20+ Mb of empty space...

Regards, Mike

-----Original Message-----
From: Curtis Anderson, CNE, MCSE [mailto:candersoism.ca]
Sent: Friday, May 12, 2000 1:40 PM
To: 'Michael Clarke'
Cc: NTBUGTRAQLISTSERV.NTBUGTRAQ.COM
Subject: RE: Profile overwrite/delete due to registry size limit.

If you have the NT Resource Kit's MV.EXE utility you can use this batch
routine.

echo off
echo Updating compressed Registry files...
rdisk /s-
echo Expanding compressed Registry files to usable format...
EXPAND %systemroot%\REPAIR\DEFAULT._ %temp%\DEFAULT
EXPAND %systemroot%\REPAIR\SAM._ %temp%\SAM
EXPAND %systemroot%\REPAIR\SECURITY._ %temp%\SECURITY
EXPAND %systemroot%\REPAIR\SOFTWARE._ %temp%\SOFTWARE
EXPAND %systemroot%\REPAIR\SYSTEM._ %temp%\SYSTEM
Echo Moving new registry files to CONFIG directory....
MV /X /D %temp%\DEFAULT %systemroot%\SYSTEM32\CONFIG\DEFAULT
MV /X /D %temp%\SAM %systemroot%\SYSTEM32\CONFIG\SAM
MV /X /D %temp%\SECURITY %systemroot%\SYSTEM32\CONFIG\SECURITY
MV /X /D %temp%\SOFTWARE %systemroot%\SYSTEM32\CONFIG\SOFTWARE
MV /X /D %temp%\SYSTEM %systemroot%\SYSTEM32\CONFIG\SYSTEM
Echo.
Echo.
Echo REBOOT to move and activate the new registry files
echo.
echo.
pause

This will effectively remove any "white space" in the registry files as the
backup with RDISK does not save empty space. Speeds up your system nicely
too, especially after cranking a registry down from 38 MB to 12 (personal
experience).

Regards,
-------------------------------------------------
Curtis Anderson, CNE, MCSE
ISM Manitoba - an IBM Global Services team member
400 Ellice Avenue, Winnipeg, MB R3B 3M3
candersoism.ca andersocca.ibm.com
-------------------------------------------------

-----Original Message-----
From: Windows NTBugtraq Mailing List
[mailto:NTBUGTRAQLISTSERV.NTBUGTRAQ.COM]On Behalf Of Michael Clarke
Sent: May 12, 2000 2:46 PM
To: NTBUGTRAQLISTSERV.NTBUGTRAQ.COM
Subject: Profile overwrite/delete due to registry size limit.

5) We have not found a way to reduce the size of the registry
(winnt\config\ SOFTWARE) file after this problem occurs. We have one server
with a 71 Mb registry and many workstations with 20Mb+ registries because of
this problem.