[main] Title=RegEditWB Description=This script loads the target registry hives into Regedit Author=Peter Schlang Level=10 contact=http://BootLand.pt.vu Selected=none Credits= Version=7 Locked=True Date=2006-Nov-20 18:31:05 Upload=2007-Nov-09 16:06:29 Download_Level=1 [Interface] pTextLabel1="This script attaches the registry hives of your target directory to your local registry.",1,1,6,10,462,27,8,Normal pTextLabel2="Then it runs Regedit.exe.",1,1,6,40,402,18,8,Normal pTextLabel3="After exiting Regedit the entries optionally are written back to the target registry hives and changes are applied.",1,1,6,58,423,42,8,Normal pTextLabel4="Finally they are removed from the local registry.",1,1,6,97,417,18,8,Normal pCheckBox1=Sam,1,3,18,145,200,18,True pCheckBox2=Security,1,3,18,165,200,18,True pCheckBox3=Default,1,3,18,185,200,18,True pCheckBox4=System,1,3,18,205,201,18,True pCheckBox5=Software,1,3,18,225,90,18,True pCheckBox6=setupreg.hiv,1,3,18,125,90,18,True pRadioButton1=ReadOnly,1,11,156,125,100,20,false pRadioButton2=Read/Write,1,11,156,145,100,20,true pButton1=Start,1,8,156,205,81,25,Doit pBevel1=pBevel1,1,12,6,121,264,126 pBevel2=pBevel2,1,12,273,121,201,126 pTextLabel5="This script is not started by running the project, even if it is checked. The script can only be started by the 'Start' button.",1,1,6,268,462,36,10,Bold pTextLabel6="Checked hives are processed only if they really exist! You will get no error report if they don't exist!",1,1,279,133,195,75,10,Bold [variables] %ConfigDir%=%target_sys%\config %SystemDir%=%target_sys% %Check1%=False %Check2%=False %Check3%=False %Check4%=False %Check5%=False %Check6%=False [process] [CheckExist] If,ExistFile,"%ConfigDir%\sam",Set,"%Check1%","%pCheckBox1%" If,ExistFile,"%ConfigDir%\security",Set,"%Check2%","%pCheckBox2%" If,ExistFile,"%ConfigDir%\default",Set,"%Check3%","%pCheckBox3%" If,ExistFile,"%ConfigDir%\system",Set,"%Check4%","%pCheckBox4%" If,ExistFile,"%ConfigDir%\software",Set,"%Check5%","%pCheckBox5%" If,ExistFile,"%SystemDir%\setupreg.hiv",Set,"%Check6%","%pCheckBox6%" [Load] If,%Check1%,Equal,True,RegHiveLoad,"WB-Sam","%ConfigDir%\sam" If,%Check2%,Equal,True,RegHiveLoad,"WB-Security","%ConfigDir%\security" If,%Check3%,Equal,True,RegHiveLoad,"WB-default","%ConfigDir%\default" If,%Check4%,Equal,True,RegHiveLoad,"WB-System","%ConfigDir%\system" If,%Check5%,Equal,True,RegHiveLoad,"WB-Software","%ConfigDir%\software" If,%Check6%,Equal,True,RegHiveLoad,"WB-Setup","%SystemDir%\setupreg.hiv" [UnloadOnly] If,%Check1%,Equal,True,ShellExecute,"hide","reg.exe","unload HKLM\WB-Sam" If,%Check2%,Equal,True,ShellExecute,"hide","reg.exe","unload HKLM\WB-Security" If,%Check3%,Equal,True,ShellExecute,"hide","reg.exe","unload HKLM\WB-default" If,%Check4%,Equal,True,ShellExecute,"hide","reg.exe","unload HKLM\WB-System" If,%Check5%,Equal,True,ShellExecute,"hide","reg.exe","unload HKLM\WB-Software" If,%Check6%,Equal,True,ShellExecute,"hide","reg.exe","unload HKLM\WB-Setup" [UnloadSave] If,%Check1%,Equal,True,RegHiveUnLoad,"WB-Sam" If,%Check2%,Equal,True,RegHiveUnLoad,"WB-Security" If,%Check3%,Equal,True,RegHiveUnLoad,"WB-default" If,%Check4%,Equal,True,RegHiveUnLoad,"WB-System" If,%Check5%,Equal,True,RegHiveUnLoad,"WB-Software" If,%Check6%,Equal,True,RegHiveUnLoad,"WB-Setup" [Doit] Run,%ScriptFile%,CheckExist Run,%ScriptFile%,Load ShellExecute,Open,"Regedit.Exe","" If,%pRadioButton1%,Equal,True,Run,%ScriptFile%,UnloadOnly If,%pRadioButton1%,NotEqual,True,Run,%ScriptFile%,UnloadSave [InterfaceEncoded] [EncodedFile-AuthorEncoded-regeditwb.jpg] lines=0 0=eJyd0Xk01P0eB/DfLIwZPJaMQZN9X6YwGGLmSmhUU7RYniYiyzxS1gwqUYgnFFdFKAop3KixhSyDVJYMJtvYyjqWsYxRMpfO6T7/3HvOvff9PZ+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