I have integrated the File Undelete library into my code. It seems to work well with WinXP. However, when I run it on a Windows Vista machine, the OpenVolume call returns false.
Are there known issues with Vista? Any suggestions? What can I do to help troubleshoot this?
My Vista machine has 2 Logical Partitions: C:\, D:\. Both are formatted as NTFS partitions. I am attempting to open a subdirectory on C:\.
Thanks,
Steve
Undelete Library on Windows Vista
Re: Undelete Library on Windows Vista
It could be a UAC issue. Anyway, are you sure you have a permission to use this copyrighted library?
Ελληνικά rulez.
-
- Posts: 4
- Joined: 22 Jul 2009, 19:10
Re: Undelete Library on Windows Vista
Yes, we have licensed the library. I can send you an email with those credentials, if you wish.
If it is a UAC issue, how can I resolve this?
If it is a UAC issue, how can I resolve this?
Re: Undelete Library on Windows Vista
There's no need, I believe that if there was any problem, someone from ALTAP would show up.newellista wrote:Yes, we have licensed the library. I can send you an email with those credentials, if you wish.
Try running the application 'as Administrator', i.e. right click on it and choose the item with the little shield icon. This ensures that the application has unrestricted privileges.newellista wrote:If it is a UAC issue, how can I resolve this?
EDIT - added for completeness: To tell Windows that it should raise an elevation prompt automatically, add the according option to the application's manifest.
Last edited by Ether on 22 Jul 2009, 21:01, edited 1 time in total.
Ελληνικά rulez.
-
- Posts: 4
- Joined: 22 Jul 2009, 19:10
Re: Undelete Library on Windows Vista
Didn't mean to sound confrontational. I assumed you were from ALTAP, and were wanting verification.ether wrote:There's no need, I believe that if there was any problem, someone from ALTAP would show up.newellista wrote:Yes, we have licensed the library. I can send you an email with those credentials, if you wish.
I'll give that a try. Thanks.ether wrote:Try running the application 'as Administrator', i.e. right click on it and choose the item with the little shield icon. This ensures that the application has unrestricted privileges.newellista wrote:If it is a UAC issue, how can I resolve this?
-
- Posts: 4
- Joined: 22 Jul 2009, 19:10
Re: Undelete Library on Windows Vista
I tried running as Administrator with no luck. I also tried running the undeltst.exe program that ships with the library, with the following results:
I get this same result whether I run as administrator or not.
So, I guess my question is for ALTAP, has this library been tested on Windows Vista? If so, what were the results, and how can I get your sample code, and my application running? If it doesn't yet work, do you have a timetable? What can I do to help?
Thanks for your help,
Steve
Code: Select all
Undelete Library test application (Unicode version)
Copyright (c) 2008 ALTAP Ltd. http:\\www.altap.cz\
Commands:
help - this command list
volls - list available volumes
volset - change active disk to specified volume
volclose - close currently active volume
ls - list current directory
cd - change current directory
cp - copy (undelete) a file or directory
update - update volume snapshot
quit - quit application
You may use abbreviated names (eg. 'Doc' instead of 'Documents and Settings') if
the prefix is unique
NotSet>volls
4 1040
PathName: D:\
GUID: RECOVERY
FSType: NTFS
BytesTotal: 2147479552
BytesFree: 1514967040
VolumeName: \\?\Volume{5b898135-9b8d-11dc-ab26-806e6f6e6963}\
PathName: C:\
GUID: OS
FSType: NTFS
BytesTotal: 77808529408
BytesFree: 32505425920
VolumeName: \\?\Volume{5b898136-9b8d-11dc-ab26-806e6f6e6963}\
NotSet>volset c:\
Opening volume c:\
????????????????????????????????????????♦????5?j??????!??♦????;????????p?4????♀?
???)??r?????♦???????? ????????????????????????
NotSet>
So, I guess my question is for ALTAP, has this library been tested on Windows Vista? If so, what were the results, and how can I get your sample code, and my application running? If it doesn't yet work, do you have a timetable? What can I do to help?
Thanks for your help,
Steve
-
- ALTAP Staff
- Posts: 5231
- Joined: 08 Dec 2005, 06:34
- Location: Novy Bor, Czech Republic
- Contact:
Re: Undelete Library on Windows Vista
Hi Steve, yes, the Undelete library is tested with all supported Windows including Vista 32 and 64b.
Please contact me on my email jan.rysavy@altap.cz.
Please contact me on my email jan.rysavy@altap.cz.
Re: Undelete Library on Windows Vista
Me neither. I was just curious if someone could be so insolent to ask how to use an unlicensed library on the official forums (such things happen, though).newellista wrote:Didn't mean to sound confrontational. I assumed you were from ALTAP, and were wanting verification.

It seems that Vista imposed new security(?) measures and denies access to the volume even to Administrators. Apparently, the volume needs to be locked first in order to be operated on. However, locking a volume requires that no files are opened, which is quite impossible when you're dealing with the system volume. I suggest you try opening the second volume (labeled RECOVERY) and see what happens. And don't forget to elevate, of course.newellista wrote:I tried running as Administrator with no luck.
Have you tried opening a system volume? If it's an access denied error indeed, maybe the permissions of the kernel object could be altered. Unfortunately, I have no suitable machine for testing right now.Jan Rysavy wrote:the Undelete library is tested with all supported Windows including Vista 32 and 64b.
For more information, look here: Sysinternals Forums - Vista: disk write - "access denied".
Ελληνικά rulez.
-
- ALTAP Staff
- Posts: 5231
- Joined: 08 Dec 2005, 06:34
- Location: Novy Bor, Czech Republic
- Contact:
Re: Undelete Library on Windows Vista
Yes, it works fine there. The same applies to (elevated) Altap Salamander Undelete plugin that is based on Undelete library.ether wrote:Have you tried opening a system volume? If it's an access denied error indeed, maybe the permissions of the kernel object could be altered. Unfortunately, I have no suitable machine for testing right now.Jan Rysavy wrote:the Undelete library is tested with all supported Windows including Vista 32 and 64b.