sainokawara
New Member
My apologies, I apparently posted this to the wrong Forum. I just wanted to make certain that someone supporting Eraser reviews them because it describes two issues that I encountered installing Eraser and what I had to do to correct them.
1) Bug => I believe the Value in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run is incorrect to Auto start Eraser.
=> I am convinced that I made a mistake in the above "diagnosis and solution". I now believe that the failure to Auto start is due to UAC restrictions about starting programs authorized to run with Administrator authority: It canNOT be done by creating an entry in HKLM\...\Run or HKCU\...\Run. However, such programs can be started by creating a Task which will be started at LOGON by the Windows Task Scheduler! It is unrealistic to expect the average user to know how to do this. But, it CAN be done by the Eraser "installer" as I have found an example of a product which does it. The important points are:
1) General - Check "Run with highest privileges" as this suppresses the UAC prompts!
2) Actions - Add the "/atRestart" option so the window does NOT open at LOGON!
Becareful, when I wrote "C:\Program Files\Eraser\Eraser.exe" /atRestart
on the line, it worked. When I tried adding the '/atRestart' as an optional parameter, it failed!
3) Conditions - Uncheck the Power options
4) Settings - Uncheck "Stop Task running longer" options
Since Tasks can be Exported/Imported, I am hopeful that it will be easy for Eraser "install" to create this Scheduler Task.
=> I hope I have redeemed myself with the above proposed solution! I have tested this on Windows 7 and it works but the system I use for Windows 8/8.1/10 just "died a horrible death" so I am unable to test on another system until I build a replacement system.
2) Enhancement => This is also probably a Bug but I will call it an enhancement. The "Scheduled Tasks" must run with Administrator authority but, as installed, they don't so they fail. When I googled it, I saw a lot of discussion about this issue. It is unrealistic to expect the average user to know how to get Eraser to run with Administrator authority. I would suggest that the install process create the following Registry Entry: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
StringValue: C:\Program Files\Eraser\Eraser.exe
DataValue: ~RUNASADMIN
On Windows 7, you have to create the following Registry Entry: HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
StringValue: C:\Program Files\Eraser\Eraser.exe
DataValue: RUNASADMIN
These corrected the two issues I was having with Eraser.
1) Bug => I believe the Value in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run is incorrect to Auto start Eraser.
=> I am convinced that I made a mistake in the above "diagnosis and solution". I now believe that the failure to Auto start is due to UAC restrictions about starting programs authorized to run with Administrator authority: It canNOT be done by creating an entry in HKLM\...\Run or HKCU\...\Run. However, such programs can be started by creating a Task which will be started at LOGON by the Windows Task Scheduler! It is unrealistic to expect the average user to know how to do this. But, it CAN be done by the Eraser "installer" as I have found an example of a product which does it. The important points are:
1) General - Check "Run with highest privileges" as this suppresses the UAC prompts!
2) Actions - Add the "/atRestart" option so the window does NOT open at LOGON!
Becareful, when I wrote "C:\Program Files\Eraser\Eraser.exe" /atRestart
on the line, it worked. When I tried adding the '/atRestart' as an optional parameter, it failed!
3) Conditions - Uncheck the Power options
4) Settings - Uncheck "Stop Task running longer" options
Since Tasks can be Exported/Imported, I am hopeful that it will be easy for Eraser "install" to create this Scheduler Task.
=> I hope I have redeemed myself with the above proposed solution! I have tested this on Windows 7 and it works but the system I use for Windows 8/8.1/10 just "died a horrible death" so I am unable to test on another system until I build a replacement system.
2) Enhancement => This is also probably a Bug but I will call it an enhancement. The "Scheduled Tasks" must run with Administrator authority but, as installed, they don't so they fail. When I googled it, I saw a lot of discussion about this issue. It is unrealistic to expect the average user to know how to get Eraser to run with Administrator authority. I would suggest that the install process create the following Registry Entry: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
StringValue: C:\Program Files\Eraser\Eraser.exe
DataValue: ~RUNASADMIN
On Windows 7, you have to create the following Registry Entry: HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
StringValue: C:\Program Files\Eraser\Eraser.exe
DataValue: RUNASADMIN
These corrected the two issues I was having with Eraser.
Last edited: