Insufficient privleges to run defrag

heat84

New member
Local time
9:01 PM
Messages
16
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.:o

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.
 

My Computer My Computer

Computer Manufacturer/Model Number
Self Built
OS
Windows 7 Build 7600 64bit
try to remove all the registry entries manually

extract the "uninstall" file from the zip and then right-click on it and edit

Then go through each of the entries to make sure they are correct

Since you are running 64 bit windows I suppose it is possible that registry entries were not removed correctly

If you want to give me Teamviewer access to your desktop, maybe I can help you with this.
 

My Computer My Computer

Computer Manufacturer/Model Number
Too many to list.
OS
XP, Seven, 2008R2
CPU
AMD, Intel, VIA
Motherboard
Various
Memory
Corsair, Kingston, etc.
Graphics Card(s)
ATI, NVIDIA
Monitor(s) Displays
Samsung
Hard Drives
Maxtor, Western Digital
Keyboard
qwerty
Internet Speed
22 Mb/s @ home, 1 Gb/s @ server
Other Info
All of my systems still run fastest on XP 32-bit for the most part. Win7 is fun to play with, but I still prefer XP for raw speed, security, and functionality.
Run as admin. Works for me...

BUT...

Only in installed 'as admin'. I use GoldenBow's Vopt for defrag.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build/Mod
OS
Windows 7 Home Premium x64
CPU
Intel QX9650 Extreme 4.0 GHz
Motherboard
ASUS Rampage Extreme Rev2
Memory
8GB (4x2) Corsair Dominator DDR3
Graphics Card(s)
2x Radeon R390X [8GB]
Sound Card
SupremeFX X-Fi
Monitor(s) Displays
Dell 2408WFP 26" Panel
Screen Resolution
1920x1200
Hard Drives
4x WD 2TB (8TB+ Total)
2x Crucial SSD 128GB (RAID-0)
1x LG Blu-ray read/write
1x Phillips LightScribe DVD read/write
PSU
Corsair HX1000
Case
CoolerMaster - Cosmos S
Cooling
Custom Liquid - 320mm rad w/ 3x 80mm fans, CPU/NB/SB Blocks
Keyboard
Logitech Illuminater Pro
Mouse
Logitech
Internet Speed
Fractional T1 - 125Mbps
Antivirus
ESET Security Suite / Microsoft Security Essentials
Browser
Cyberfox Intel x64
Other Info
OC'd to 5.0GHz @ 44c under full load
I just type defrag in the start menu search box, select Disk Defragmenter and press enter. I don't know why you need to run it as Admin, because I don't. This is with UAC enabled btw
 

My Computer My Computer

Computer Manufacturer/Model Number
Too many to list.
OS
XP, Seven, 2008R2
CPU
AMD, Intel, VIA
Motherboard
Various
Memory
Corsair, Kingston, etc.
Graphics Card(s)
ATI, NVIDIA
Monitor(s) Displays
Samsung
Hard Drives
Maxtor, Western Digital
Keyboard
qwerty
Internet Speed
22 Mb/s @ home, 1 Gb/s @ server
Other Info
All of my systems still run fastest on XP 32-bit for the most part. Win7 is fun to play with, but I still prefer XP for raw speed, security, and functionality.
I just type defrag in the start menu search box, select Disk Defragmenter and press enter. I don't know why you need to run it as Admin, because I don't. This is with UAC enabled btw
I don't. It doesn't give me a choice.

I forgot the zip had an uninstall.reg. I just executed it but it didn't make a difference. Maybe I have to reboot. I guess I'll try manually removing the entries if that doesn't work.
 

My Computer My Computer

Computer Manufacturer/Model Number
Self Built
OS
Windows 7 Build 7600 64bit
I guess I've stumped you guys eh? I can't do system restore because the only restore point was made today after a Windows Update. I was able to log in as anadministrator and was able to run the defragger. I still can't get Run as Administrator back. I Googled around and noone else has a solution for that either other than system restore.


Somebody complained about the hack replacing RAA with TO instead of adding TO(like the picture in fact shows) and they updated the hack. I installed the update and all it did was add another instance of TO if I right-click on a Start Menu item. Otherwise it had no effect at all.

How reputable is askvg.com anyway? You gotta like the quick response to a complaint though.
 

My Computer My Computer

Computer Manufacturer/Model Number
Self Built
OS
Windows 7 Build 7600 64bit
TBH, that reg hack may be more of a PITA than you realize.

If you still have the original .reg file, post both original and the 'fixed' version here as a ZIP file and I can take a look and see what it changed, and then post my reg file back so that you can restore your RAD to your context menu.

however, you also have the option of running a program as admin by using method 1 in http://www.sevenforums.com/tutorials/11841-run-administrator.html
 

My Computers My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    The Beast Model A (homebrew)
    OS
    Windows 11 21H2 Current build
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * 32 GB - Corsair Vengeance 3600 MHz
    Graphics Card(s)
    EVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12G-P5-3955-KR)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2x Eve Spectrum ES07D03 4K Gaming Monitor (Matte) | Eve Spec
    Screen Resolution
    3x 3840 x 2160
    Hard Drives
    3x Samsung 980 Pro NVMe PCIe 4 M.2 2 TB SSD (MZ-V8P2T0B/AM) } 3x Sabrent Rocket NVMe 4.0 1 TB SSD
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Plat
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
    Cooling
    SteelSeries Apex Pro Wired Gaming Keyboard
    Keyboard
    SteelSeries Apex Pro
    Mouse
    Logitech MX Master 3S | MX Master 3 for business
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
    Antivirus
    Windows Defender + MB 3
    Browser
    Nightly (default) + Firefox (stable),Chrome, Edge
  • Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Dell Latitude E5470
    OS
    ChromeOS Flex Dev Channel (current)
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics Card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryville 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Keyboard
    Dell
    Mouse
    Logitech MX Master 3S (shared w. Sys 1) | Dell TouchPad
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
Back
Top