July 14, 200521 yr I was wondering how do I add registry tweaks in a win2k unattended install. I tried putting "Regedit /s regtweaks.reg" in my cmdlines.txt file and that doesnt work. Can I call up another .cmd file and put something like this in it?cmdow @ /HID@Echo OffSET PATH=%SystemDrive%\reg.exe%Path% ADD regtweaks.reg /s /fEXITOr do I need to call regedit.exe? I have a bunch of files I want to add.Thanks in advance
July 14, 200521 yr Here is my working cmdlines.txt ...[Commands]".\AllUsers.cmd"".\ie6.cmd"".\wmp.cmd"".\RunOnceEx.cmd"and AllUsers.cmdcmdow @ /HIDECHO OFF:: http://support.microsoft.com/kb/873374/en-us:: Set Microsoft GDI+ Detection Tool to completedREG ADD "HKLM\SOFTWARE\Microsoft\GdiDetectionTool" /v "GDITool" /t REG_DWORD /d "00000001" /fEXIT
July 14, 200521 yr Author Yeah I understand what you did, but I still dont know if using .reg files instead of each individual key. I have probably a thousand keys to add I am trying to save a lot of typing (Or at the very least cutting and pasting) time.
July 22, 200521 yr Hi Guys, this is my first post on this fantastic forum so be gentle!Strangely enough, I'm on XP and having exactly the same issue myself - that is my RegTweaks.reg file doesn't seem to automatically run, though when I run this once logged in it's fine (with the obvious exception of the regtweaks which need to be run from cmdlines.txt).My cmdlines.txt is . . .[COMMANDS]"REGEDIT32.EXE /S RegTweaks.reg"".\RunOnceEx.cmd""BTS_DPs_ROE.cmd" . . . and the RegTweaks.reg file is in the $OEM$ folder along with the cmdlines.txt file.Any idea's anyone?????CheersMarko
July 22, 200521 yr for use .reg , you must use : regedit /s YourRegFile.reg the "reg" allow to add/remove/edit directly a registry value.the "/s" allow silent way.Goodbye.
July 22, 200521 yr As Sonic say's: Regedit /s regtweaks.regif using reg.exe in a batch file, keep in mind that the version of reg.exe is different between W2K and XP. I copy the XP version to W2K to keep my batch files the same.Also, check you reg files. XP uses "Windows Registry Editor Version 5.00" as the header info in it's reg files. It can use older versions, but W2K can't use newer.Good luck
July 22, 200521 yr for use .reg , you must use : regedit /s YourRegFile.reg the "reg" allow to add/remove/edit directly a registry value.the "/s" allow silent way.Goodbye.<{POST_SNAPBACK}>Ask and you shall receive!!!!!Sonic, many many thanks for this m8 - works like a charm and thanks too riverrm for the info.
Create an account or sign in to comment