I am sure by now most people have heard of the IE all version vulnerability. If you have not spend some time here. Word on the street is the fix may not be around for several months so a workaround is in order. I did not want to disable Flash(how would users waste time all day), so the next best thing is unregistering the VGX.DLL. I put together a quick VBscript that can be imported into SCCM(all versions) and deployed to all Windows versions Servers/Workstations. I know MS recommends doing this through GPO but I want some reporting on the change and have the ability to re-trigger on my schedule.
On a 64bit Windows OS the script unregisters the 32bit and 64bit VGX.dll.
On a 32bit Windows OS the script unregisters the 32bit VGX.dll.
The script can be run on all Windows systems in your environment, so far I have tested on 2008,2008r2,2003 and Windows 7.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Set objWSHShell = WScript.CreateObject("WScript.Shell") Set objFSo = WScript.CreateObject("Scripting.FileSystemObject") if objfso.FolderExists("C:\Program Files (x86)") then wscript.echo "64 and 32" intExitCode = objWSHShell.Run ("regsvr32 /u /s ""%CommonProgramFiles%\Microsoft Shared\VGX\vgx.dll""", 1, True) wscript.echo "64bit Exit Code:" & intExitCode intExitCode = objWSHShell.Run ("c:\windows\syswow64\regsvr32 /u /s ""%CommonProgramFiles(x86)%\Microsoft Shared\VGX\vgx.dll""", 1, True) wscript.echo "32bit Exit Code:" & intExitCode else wscript.echo "32" intExitCode = objWSHShell.Run ("regsvr32 /u /s ""%CommonProgramFiles%\Microsoft Shared\VGX\vgx.dll""", 1, True) wscript.echo "32bit Exit Code:" & intExitCode end if |
Home › Forums › VGX.DLL Unregister Workaround for SCCM(2963983)
This topic contains 1 reply, has 1 voice, and was last updated by
Skimtat 8 years, 10 months ago. This post has been viewed 4129 times
You must be logged in to reply to this topic.
Share this:
Share this: