Jump to content

Recommended Posts

Posted (edited)

Hi,

i wrote a reg file:

Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]"Test"="cmd /K REG ADD \"HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Associations\" /f /v DefaultFileTypeRisk /t REG_DWORD /d 1808 & REG ADD \"HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Associations\" /f /v LowRiskFileTypes /t REG_SZ /d \".vbs;.reg;.msi;.cmd;.bat;.msp\""

Only 2 REG ADD commands which i have merged together with a "&". But on log on nothing happens!

 

When i write (i changed only the last few chars):

Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]"Test"="cmd /K REG ADD \"HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Associations\" /f /v DefaultFileTypeRisk /t REG_DWORD /d 1808 & REG ADD \"HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Associations\" /f /v LowRiskFileTypes /t REG_SZ /d \".vbs;.\""

it works... i got the cmd window on log on and the entries are added to registry too.

It seems as all combinations, which look like ".reg;.test;.lol" or similar doesn't work.

 

What is f***ing windows doing here? Has someone an idea?

Edited by Trolleule

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...