DIDS
03-17-02, 11:33 AM
I just upgraded from W98SE to W2K. I use to have a Del-Reg.inf file that was setup to delete certain keys out of the registry. This is run by a .bat file. I then created a shortcut in the startup folder so each time the PC started up. It would automatically delete the keys. This setup will not work anymore in W2K. Anyone know how to get this to work under W2k? Below are samples of my INF and Bat files.
Del_reg.inf Sample:
[Version]
signature="$CHICAGO$"
[DefaultInstall]
DelReg = RegChange
[RunIt]
DelReg=RegChange
[RegChange]
HKCR,clsid\{ADBB2D80-5DFD-11D2-A00C-00104B65AAF5}\M
HKCR,clsid\{64C53720-B69E-11D2-8728-00104B141A76}\M
Mine.bat file sample:
RunDLL setupx.dll,InstallHinfSection RunIt 0 C:\Documents and Settings\Mine Batfile\Del-Reg.inf
Thank You for any assistants.
DIDS
Del_reg.inf Sample:
[Version]
signature="$CHICAGO$"
[DefaultInstall]
DelReg = RegChange
[RunIt]
DelReg=RegChange
[RegChange]
HKCR,clsid\{ADBB2D80-5DFD-11D2-A00C-00104B65AAF5}\M
HKCR,clsid\{64C53720-B69E-11D2-8728-00104B141A76}\M
Mine.bat file sample:
RunDLL setupx.dll,InstallHinfSection RunIt 0 C:\Documents and Settings\Mine Batfile\Del-Reg.inf
Thank You for any assistants.
DIDS