New
#1
Insufficient privleges to run defrag
If I try to run the GUI version, I have to click on the "Defrag Now" button a few times before the defragmenter will even open. When I highlight a disk and select Analyze or Defragment, a DOS window flashes and the defragmenter closes. That's with UAC disabled. With it enabled, I say yes, and then defrag closes. If try to run defrag in DOS, it says: The disk defragmenter cannot start because you have insufficient priveleges to perform this operation. (0x89000024)
This may or may not have anything to do with the problem but, I used a registry hack to replace(I didn't realize it would replace, I thought it would just add) "Run As Administrator" in right-click menus with "Take Ownership". I "uninstalled" it but "Take Ownership" is still showing up. I was gonna try to run CMD as an administrator to see if that let the DOS version of Defrag work but I can't because of this(If only there was an SU command for DOS). Apparently the GUI version of defrag is trying to take ownership without me even telling it to. In the details of the UAC message box, it says: "cmd.exe"/c takeown /f
"G:\Windows\system32\dfgui.exe" &&
Icacls "G:\windows\system32\dfgui.exe"
/grant admin:F
Yeah, I screwed something up.
The reason it says G: instead of C: is because I installed W7 by extracting from the ISO and started setup from the Autorun EXE(It wouldn't get past the nasty CD\DVD driver not found message if I booted the ISO). I started the setup within another W7 installation that was on another drive. It didn't install bootmgr on this drive, instead it added a menu item to the bootmgr on the other drive. I had to copy bootmgr from the other drive(and use EasyBCD to edit bootmgr) which had several partitions. I'm wondering if I should fix it or even how. If I did change it to C:, it would cause conflicts with installed programs so maybe I should just leave it alone.