Mayhaps you should check your registry. The key that controls Systemroot is HKLM/Software/Microsoft/Windows/CurrentVersion

There's a string value for SystemRoot.