Hi
The solution I found on W7 and W8 is:
1. Enter regedit.
2. Locate Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Windows.
3. Create a new Expandable String Value (Right clic -> New -> Expandable String Value).
4. Assign the name SystemDirectory.
5. Assign the value %SystemRoot%\system32
Regards