set EMET rules through Group Policy
Is this possible to set EMET rules through Group Policy?I wrote a script, but it doesn't add the rule :( Maybe i did mistake.But if i execute it manually, the rule is added.Here it is:Set WshShell = WScript.CreateObject("WScript.Shell")Set objFSO = CreateObject("Scripting.FileSystemObject")Const HKLM = &H80000002strEMET = "Software\Microsoft\EMET\"strEMETConf = "C:\Program Files\EMET\EMET_Conf.exe"Q = chr(34)strKeyPath = strEMET & "acrord32.exe"strValueName = "c:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe"Set oReg = GetObject("winmgmts:\\.\root\default:StdRegProv")If objFSO.FileExists(strEMETConf) Then If (oReg.GetStringValue(HKLM, strKeyPath, strValueName, strValue) <> 0) Then strCommand = Q & strEMETConf & Q & " --add " & Q & strValueName & Q WshShell.Run(strCommand) End IfEnd If1 person needs an answerI do too
September 17th, 2010 4:37am

I can't believe that no one distribute the rules through GPO...
Free Windows Admin Tool Kit Click here and download it now
October 6th, 2010 1:44am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics