Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My Windows 7 installation is screwed up. Something's fundamentally wrong, but I don't know what. Taskbar icons reverted to a default icon, like they couldn't be found, shortcuts all stopped working, saying it couldn't find the file, the background during the login screen reverted to some default flowery background instead of the HP background it usually has, I navigated into the Windows\System32 folder and double-clicked on applications, and it still said it couldn't find them.

Windows can't find '%SystemRoot%\'. Check the spelling and try again.

Windows Explorer and Calculator icons missing

I recently installed software meant for older versions of Windows, which may be at fault. I tried to uninstall it but it wouldn't work, then offered to remove the listing from Add/Remove programs.

I did a disk check and memory check and there are no problems.

I did a few System Restores this morning, and it couldn't complete correctly ("unspecified error 0x80070067"), but afterward, shortcuts now work again, but the taskbar icons are still wrong, and applications seem to be having trouble finding their configuration files.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

It looks like you've somehow unset the %SystemRoot% environment variable.

This should be set to C:\Windows (if your main drive is C:)

This can be done at an elevated command prompt using set SystemRoot=C:\Windows

share|improve this answer

You have to maually add %SystemRoot% as C:\WINDOWS without ending slash as an administrator to the system environment

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.