-
Question About .reg...
Raymond has post up this tutorial...
The link is:
http://www.raymond.cc/blog/archives/2008/04/22/stop-windows-from-executing-instructions-found-in-autoruninf/
Inside the tutorial,we just need to save this piece of code in .reg and everything can run with just a double click on it.
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]
@=”@SYS

oesNotExist”
This code will be saved with .reg extension...
To enable back,we need to delete the Autorun.inf...
Anyone know how to write a .reg to delete that key?
Thanks..
-
Deleting Registry Keys and Values
To delete a registry key with a .reg file, put a hyphen (-) in front of the RegistryPath in the .reg file. For example, to delete the Test subkey from the following registry key:HKEY_LOCAL_MACHINE\Software
put a hyphen in front of the following registry key in the .reg file: HKEY_LOCAL_MACHINE\Software\Test
The following example has a .reg file that can perform this task. [-HKEY_LOCAL_MACHINE\Software\Test]
To delete a registry value with a .reg file, put a hyphen (-) after the equals sign following the DataItemName in the .reg file. For example, to delete the TestValue registry value from the following registry key:HKEY_LOCAL_MACHINE\Software\Test
put a hyphen after the "TestValue"= in the .reg file. The following example has a .reg file that can perform this task. HKEY_LOCAL_MACHINE\Software\Test
"TestValue"=-
To create the .reg file, use Regedit.exe to export the registry key that you want to delete, and then use Notepad to edit the .reg file and insert the hyphen.
Taken from http://support.microsoft.com/kb/310516
-
Administrator
An example:
REGEDIT4
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]
Notice the dash infront of the reg key?
-
Is it a way to test whether this whole thing works or not?
http://www.raymond.cc/blog/archives/2008/04/22/stop-windows-from-executing-instructions-found-in-autoruninf/
Is it I write a Batch File and an Autorun.inf and put them into my USB Flash drive?
Thanks...
Similar Threads
-
Replies: 3
Last Post: 04-12-2011, 12:40 PM
-
By detailer in forum Chat
Replies: 2
Last Post: 04-07-2011, 03:06 PM
-
Replies: 6
Last Post: 07-30-2010, 11:27 AM
-
By TeXaCo in forum General Forum
Replies: 3
Last Post: 02-04-2010, 08:43 AM
-
Replies: 1177
Last Post: 11-26-2009, 03:52 PM
All times are GMT +8. The time now is 03:20 AM.