And you may be wondering, how did I figure out how to create a file in REGEDIT format Simple. As with msiexec.exe, be sure to put regedit.exe in the OEM folder, or this won't work. You can put a whole bunch of changes into a single file, or create different. And that line starting with HKEY_LOCAL_MACHINE is just one line when typed, no matter how long. Notice how what I could call the REGEDIT command language works the first line is REGEDIT4, then a blank line, then you indicate what key you want to work with, in brackets, and then the value entry. But reboot your NT machine and you'll find that AutoRun is now disabled. Now open up a command line and tell REGEDIT to apply this change by typing regedit s cdfix.reg the s means be Silent, Regedit and so you won't get a message. Note the blank line between REGEDIT4 and HKEY you need that.
0 Comments
Leave a Reply. |