Scott Hanselman's Power User Windows Registry Tweaks has some excellent registry editing tweaks. I've spent the last few hours poring over those registry scripts, enhancing and combining them with some favorites of my own. Here are the results:
Neat tricks - I like the My Computer reg tweak, thanks for sharing. One comment: the Add/Remove Programs failed on my system, due to the slash in the name. I fixed this manually but you may want to update the downloadable zip file.
Having trouble deleting a ânameâ of a file in Windows Media Player. The file itself is gone, but the name is still there. I did an upgrade to Windows Meida Player 10, thinking that would help, but it is still there. Can you tell me how I can get rid of this? It is just annoying. Thanks in advance.
After applying the Disk Cleanup fix, all the Office programs are repairing themselves when I start them.
Solution:
copy âC:\Documents and Settings\All Users\Application Data\Microsoft\Office\Data\data.datâ (or another .dat file if you have another version of office) to data.bak.
You have to do that every time after you have used Disk Cleanup.
You can also make a batch file.
open Notepad
Paste the folowing text:
@echo off
echo Repair Office after DiskCleanup
echo ________________________________
echo.
echo Press any key to repair Office.
echo.
Pausenul
copy âC:\Documents and Settings\All Users\Application Data\Microsoft\Office\Data*.datâ "C:\Documents and Settings\All Users\Application Data\Microsoft\Office\Data*.bak"
echo.
echo Office is repaired.
echo Done.
pausenul
Go to File == Save AsâŚ
Choose âAll Filesâ in the âSave as typeâ box.
Type âRepair Office.batâ in the âFilenameâ box.
I installed Microsoftâs official 514 kB XP PowerToy Open Command Window Here (CmdHere.exe), and itâs defective. Occasionally, it will fail outright, and frequently it displays bizarre errors, i.e. a new cmd window with:
The system cannot find the path specified.
The system cannot find the path specified.
C:\Path\To\Requested\Directory
Clearly it works, but it throws up two errors in the process. For some reason, Microsoftâs attempt uses:
cmd.exe /k cd %L
Yours uses:
cmd.exe /k cd %1
Which works the way it is supposed to. Microsoft require a 514 kB executable to do nothing other than add a wrong entry to the Registry that I could have done correctly by hand (and had done for Win2k on my old PC).
(My only mistake was not realisng I had to use HKCR\Directory instead of HKCR\Folder (File Folder vs Folder, to use Microsoftâs alternative and equally confusing notation), which could trigger Explorer crashes if you mistakenly used it on the Recycle Bin.)
FYI, the links to specific .reg scripts are apparently broken. Iâm not sure if this is due to the blog migration or something else. Fortunately, the link to Scott Hanselmanâs original post is still intact.