[v5&6] "Elevation Required" message while Erasing Free Space

Frequently Asked Questions. Check to see that your question has not been answered here before posting in the Support Forum.

Moderators: Eraser DevTeam, Eraser Moderators

[v5&6] "Elevation Required" message while Erasing Free Space

Postby Joel » Sun Aug 10, 2008 5:32 am

No, don't move your desktop/laptop to a higher location, please. :D

You are running Windows Vista. And even though you are an Administrator, you aren't given God status until you tell Windows, look, I know what I'm doing, so leave me alone. By default, Vista assumes that you don't know what you are doing and so blocks what it thinks may be suspicious.

And Erasing Free Space is suspicious (though it is actually not, but Windows doesn't know that.)

That's what is meant by "Elevation Required": You have to look Windows in the eye and say "Let me have my way". To do that, close Eraser (check that no Eraser is running in your system notification area (a.k.a.system tray), then Right-click on the Eraser shortcut either on your Desktop or in the Start Menu and select Run as Administrator. There should be a little shield beside the menu entry.

Then run the task again.
Be sure to read the FAQ before posting. If you found this application useful, please contribute to Eraser's development.

I develop Eraser but I am not an employee of Heidi Computers Ltd. My views do not represent those of Heidi Computers Ltd.
Don't PM or Email me questions: they won't be answered any faster than on the forum and knowledge won't be accessible by all.
User avatar
Joel
Eraser DevTeam
 
Posts: 3688
Joined: Sat Aug 19, 2006 12:16 am
Location: Singapore

Re: "Elevation Required" message while Erasing Free Space

Postby Stogaguy » Sat Mar 07, 2009 2:47 am

I would like to use Eraser to erase the unused space on my C drive. My preference is to do this running Eraser from the shell extension. I have followed your instructions to exit Eraser and select "Run as Administrator" by right clicking. This, of course, opens Eraser. Then I open Explorer and right click my C drive and select "Erase Unused Space". However, I still get the following error message:
Information:
Statistics:
Erased area = 0 bytes
Cluster tips = 0 bytes
Data written = 0 bytes
Write time = 0.00 s

Failures:
Error: Erasing the Free Space of a drive requires elevation
Error: Erasing the Free Space of a drive requires elevation
Error: Failed to erase file names from drive C:\, don't know why exactly.


How do I get Vista to let me do what I want? Short of that how do I erase the unused space on C via Eraser's "on-Demand" interface. Thank you in advance for your help.
Stogaguy
 
Posts: 1
Joined: Sat Mar 07, 2009 2:32 am

Re: "Elevation Required" message while Erasing Free Space

Postby Joel » Sat Apr 18, 2009 10:49 am

What you've described only works for Eraser 6, to erase Free Space on Eraser 5 you have to use the on-demand interface.

Joel
Be sure to read the FAQ before posting. If you found this application useful, please contribute to Eraser's development.

I develop Eraser but I am not an employee of Heidi Computers Ltd. My views do not represent those of Heidi Computers Ltd.
Don't PM or Email me questions: they won't be answered any faster than on the forum and knowledge won't be accessible by all.
User avatar
Joel
Eraser DevTeam
 
Posts: 3688
Joined: Sat Aug 19, 2006 12:16 am
Location: Singapore

Re: [v5&6] "Elevation Required" message while Erasing Free Space

Postby Argy » Tue Dec 15, 2009 5:37 pm

Using Windows 7 as an Administrator, Eraser 6.0.6.1376 using the "Run as Administrator" start option, cannot run the "Unused disk space" option as I have a "completed with errors" message returned and the following in the log.

Session: 15 December 2009 17:26:22 Error The program does not have the required permissions to erase the unused space on disk. Run the program as an administrator and retry the operation.

Don't know what to do next - any help would be appreciated.

Argy
Argy
 
Posts: 2
Joined: Tue Dec 15, 2009 5:09 pm

Re: [v5&6] "Elevation Required" message while Erasing Free Space

Postby Joel » Tue Dec 15, 2009 11:27 pm

You'll need to close all running instances of Eraser (including the one in the tray) before running another instance as an administrator.
Be sure to read the FAQ before posting. If you found this application useful, please contribute to Eraser's development.

I develop Eraser but I am not an employee of Heidi Computers Ltd. My views do not represent those of Heidi Computers Ltd.
Don't PM or Email me questions: they won't be answered any faster than on the forum and knowledge won't be accessible by all.
User avatar
Joel
Eraser DevTeam
 
Posts: 3688
Joined: Sat Aug 19, 2006 12:16 am
Location: Singapore

Re: [v5&6] "Elevation Required" message while Erasing Free Space

Postby Argy » Wed Dec 16, 2009 8:06 am

Thanks. I actually knew about that and had checked, but Win 7 had conveniently hidden the icons for me. I only found the Eraser icon when I proped deeper. Thanks again.
Argy
 
Posts: 2
Joined: Tue Dec 15, 2009 5:09 pm

Re: [v5&6] "Elevation Required" message while Erasing Free Space

Postby Walda » Fri Dec 25, 2009 2:57 pm

Is there a UAC confirmation dialog planned for Eraser 6 that will make starting Eraser 6 with Admin rights unneccessary?
Walda
 
Posts: 8
Joined: Sat Feb 14, 2009 9:27 pm

Re: [v5&6] "Elevation Required" message while Erasing Free Space

Postby Joel » Fri Dec 25, 2009 11:24 pm

That was the whole purpose of running Eraser 6 as a service. Eraser 6 is a step up from Eraser 5 in that the erasing program and the initiating program are separate processes, each with its own privilege level. So now you could initiate free space erasures from the shell, for example. But that doesn't mean the program still needs to run as an administrator. There's no way around that (deliberately!)

Eraser 6.2 is supposed to run as a service. This is merely in the planning stage. Services do not have the standard user/administrator dichotomy so they are always running as an administrator. Building on the framework used for Eraser 6, 6.2 should allow this to happen.

But it is a lot of work and I can't give an ETA.
Be sure to read the FAQ before posting. If you found this application useful, please contribute to Eraser's development.

I develop Eraser but I am not an employee of Heidi Computers Ltd. My views do not represent those of Heidi Computers Ltd.
Don't PM or Email me questions: they won't be answered any faster than on the forum and knowledge won't be accessible by all.
User avatar
Joel
Eraser DevTeam
 
Posts: 3688
Joined: Sat Aug 19, 2006 12:16 am
Location: Singapore

Re: [v5&6] "Elevation Required" message while Erasing Free S

Postby northernsky » Sun Dec 05, 2010 6:47 am

I have right clicked and and clicked run as administrator and still get the "Session: December-04-10 10:46:40 PM
December-04-10 10:46:40 PM Error The program does not have the required permissions to erase the unused space on disk. Run the program as an administrator and retry the operation." message. What next?
northernsky
 
Posts: 1
Joined: Sun Dec 05, 2010 6:43 am

Re: [v5&6] "Elevation Required" message while Erasing Free S

Postby Joel » Sun Dec 05, 2010 2:02 pm

You probably forgot to exit Eraser: "To do that, close Eraser (check that no Eraser is running in your system notification area (a.k.a.system tray)..."
Be sure to read the FAQ before posting. If you found this application useful, please contribute to Eraser's development.

I develop Eraser but I am not an employee of Heidi Computers Ltd. My views do not represent those of Heidi Computers Ltd.
Don't PM or Email me questions: they won't be answered any faster than on the forum and knowledge won't be accessible by all.
User avatar
Joel
Eraser DevTeam
 
Posts: 3688
Joined: Sat Aug 19, 2006 12:16 am
Location: Singapore

Re: [v5&6] "Elevation Required" message while Erasing Free S

Postby opKEE112 » Wed Mar 02, 2011 5:12 pm

Just thought others might want this info, since I've used Eraser for years and just ran across the issue in this thread...

In Win7-64 I was having the "Elevation Required" message and found that opening Eraser as Administrator still didn't do the trick when trying to erase a USB external hard drive I've used across several computers and operating systems over the past several years. I even did a full reformat of the USB drive, but still was getting the same error.

So I right-clicked on the drive letter to reach its Properties page, and in the Security tab noticed that neither "Authenticated Users" nor "Administrators" nor "Users" had full permissions to the drive letter object. I hit "Edit", clicked on each Group/user name, checked the box next to "Full Control" & applied changed for each group/user and closed the properties dialog boxes, and restarted Eraser as Administrator. Now the drive is happily erasing.
opKEE112
 
Posts: 1
Joined: Wed Mar 02, 2011 5:01 pm

Re: [v5&6] "Elevation Required" message while Erasing Free S

Postby DavidHB » Wed Mar 02, 2011 7:16 pm

Thank you for this very helpful advice. I have included a reference to your post with the link to this thread in the 'sticky' FAQ topic on Common Eraser questions, to help users to find it.

David
I am not an Eraser programmer, but a long-time user; my views may not be the same as those of the Eraser programming team.
Before posting, please read the top 4 topics in the Eraser FAQ, which already provide many of the answers users need.
DavidHB
Eraser Wizard
 
Posts: 2166
Joined: Sat Jan 23, 2010 8:10 pm
Location: Isle of Wight, UK

Re: [v5&6] "Elevation Required" message while Erasing Free S

Postby fhs347 » Tue Apr 19, 2011 8:27 pm

That works! Why isn't that info in the manual? It would help if there were even a section on Error Messages. Thanks for the help. :D
fhs347
 
Posts: 1
Joined: Tue Apr 19, 2011 8:19 pm

Re: [v5&6] "Elevation Required" message while Erasing Free S

Postby DavidHB » Fri Apr 22, 2011 4:58 pm

fhs347 wrote:That works! Why isn't that info in the manual? It would help if there were even a section on Error Messages. Thanks for the help. :D

I believe that Joel is planning to update the documentation for version 6.2. In the meantime, the FAQ topic 'Common Eraser Questions' is a continuously updated list of known issues and the means of resolving them.

David
I am not an Eraser programmer, but a long-time user; my views may not be the same as those of the Eraser programming team.
Before posting, please read the top 4 topics in the Eraser FAQ, which already provide many of the answers users need.
DavidHB
Eraser Wizard
 
Posts: 2166
Joined: Sat Jan 23, 2010 8:10 pm
Location: Isle of Wight, UK

Re: [v5&6] "Elevation Required" message while Erasing Free S

Postby axident » Thu Jul 21, 2011 6:06 am

There is another interesting thing on Win7 64bit Prof. I had the same error problem on erasing free diskspace. Nothing worked. Close Program, run as admin... carefully looking for an instance of eraser that is still runing in the background after closing the program... When you are going to the programfolder, where eraser is installed, you find the eraser.exe -> right klick -> options -> kompatibility there is a little box in the bottom "run as admin" (sorry, i have the german version of win7 and i don't know if it is the same in the english version). Mark it and everything works wonderful. After this boxchecking you need'nt right klick on any link to the exe and klicking run as admin. It works on doubbleclick. I have no idea, why this is the "right" "run as admin" option.
axident
 
Posts: 1
Joined: Thu Jul 21, 2011 5:52 am

Next

Return to Eraser FAQ

Who is online

Users browsing this forum: No registered users and 1 guest

cron