Results 1 to 4 of 4
  1. #1
    Newbie
    Overall activity: 0%

    Join Date
    Jan 2009
    Posts
    5
    Liked
    0 times
    Points
    2,991

    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]
    @=”@SYSoesNotExist”
    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..

  2. #2
    Tech God
    Overall activity: 0%

    Join Date
    Jan 2008
    Location
    South Africa
    Posts
    1,279
    Liked
    14 times
    Points
    1,853
    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

  3. #3
    Administrator
    Overall activity: 46.0%

    Join Date
    Nov 2006
    Location
    Malaysia
    Posts
    9,802
    Liked
    1656 times
    Points
    48,740
    An example:

    REGEDIT4
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]

    Notice the dash infront of the reg key?

  4. #4
    Newbie
    Overall activity: 0%

    Join Date
    Jan 2009
    Posts
    5
    Liked
    0 times
    Points
    2,991
    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

  1. Another Question
    By Bluedot in forum Chat
    Replies: 3
    Last Post: 04-12-2011, 12:40 PM
  2. A Question
    By detailer in forum Chat
    Replies: 2
    Last Post: 04-07-2011, 03:06 PM
  3. question
    By KoZLoZ in forum Linux
    Replies: 6
    Last Post: 07-30-2010, 11:27 AM
  4. Question?
    By TeXaCo in forum General Forum
    Replies: 3
    Last Post: 02-04-2010, 08:43 AM
  5. Reply Question With A Question Game
    By safeguy in forum Chat
    Replies: 1177
    Last Post: 11-26-2009, 03:52 PM
All times are GMT +8. The time now is 03:20 AM.