Wednesday, February 12, 2014

Windows 7 Desktop Goes Crazy

Problem:
Computer works fine only that when you click the desktop icons like My Computer, Documents...
the windows are opened MINIMIZED. The opened windows won't MAXIMIZE.

Even running Windows Explorer and regedit still loads MINIMIZED 


Solution:


1. Create a batch file with the following lines:


@echo off
cls
:: To reset all folders to default folder views
Reg Delete "HKCU\Software\Microsoft\Windows\Shell\BagMRU" /F
Reg Delete "HKCU\Software\Microsoft\Windows\Shell\Bags" /F

Reg Delete "HKCU\Software\Microsoft\Windows\ShellNoRoam\Bags" /F

Reg Delete "HKCU\Software\Microsoft\Windows\ShellNoRoam\BagMRU" /F

Reg Delete "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU" /F

Reg Delete "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags" /F

Reg Delete "HKCU\Software\Classes\Wow6432Node\Local Settings\Software\Microsoft\Windows\Shell\Bags" /F

Reg Delete "HKCU\Software\Classes\Wow6432Node\Local Settings\Software\Microsoft\Windows\Shell\BagMRU" /F
:: To kill and restart explorer
taskkill /f /im explorer.exe
start explorer.exe

2. Save the file and name it like: 'resetmydesktop.bat'


3. Run the batch file. 



No comments:

Post a Comment