Due to some nasty malware our PATH statement was changed from a REG_EXPAND_SZ to a REG_SZ registry type. This has broken our path. Now, when you open up a CMD window and you type in a command like calc or msiexec it says "I can't find that .exe" you have to change directory to c:\windows\system32 and then your commands work.
I want to use GPO to push out a PowerShell script that will change the key back to a REG_EXPAND_SZ. I would make this a Computer Policy. But do scripts run via GPO look for the PATH statement to find PowerShell.exe?
mqh7