- Dec 25, 2004
- 10,547
- 6
- 81
I've been trying to delete a file on my PC and haven't had much success.
For some reason I've ended up with a file on my desktop called "Flash10p.ocx". I can't delete it. I've tried changing permissions to give me full control (my account is the main administrator account for the PC), but even when I've done that, when I try deleting the file I get a message that says:
It doesn't work though. I still can't delete that Flash10p.ocx file when I right click on it and click on "Grant Admin Full Control".
Anyone have any ideas on how I can delete this Flash10p.ocx file?
Also, does anyone know how to make a new *.reg file that will remove whatever the "GrantAdminFullControl.reg" from above, added to my registry?
For some reason I've ended up with a file on my desktop called "Flash10p.ocx". I can't delete it. I've tried changing permissions to give me full control (my account is the main administrator account for the PC), but even when I've done that, when I try deleting the file I get a message that says:
So I tried installing this registry entry (it's a *.reg file called "GrantAdminFullControl.reg"):You need permission to perform this action
You require permission from FT03S\username to make changes to this file
Flash10p.ocx
Type: ActiveX control
Size: 5.87MB
Date Modified: 5/7/2011 20:19
Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\runas]
@="Grant Admin Full Control"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
[HKEY_CLASSES_ROOT\exefile\shell\runas2]
@="Grant Admin Full Control"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\exefile\shell\runas2\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Grant Admin Full Control"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
Anyone have any ideas on how I can delete this Flash10p.ocx file?
Also, does anyone know how to make a new *.reg file that will remove whatever the "GrantAdminFullControl.reg" from above, added to my registry?