Einzelnen Beitrag anzeigen

user

Registriert seit: 13. Jul 2010
25 Beiträge
 
Delphi 2 Desktop
 
#3

AW: GetDriveType and DRIVE_REMOTE

  Alt 17. Jan 2011, 09:06
GetDriveType works fine to get the network drive in XP.

I got this link

Zitat:
When UAC is enabled, administrators without elevation and administrators
with elevation are treated as different users. If the network mapped drives
were created by an admin without elevation, only that admin (without
elevation) can use the mapped drive and get the right drive type from
GetDriveType. This explains why GetDriveType returns DRIVE_NO_ROOT_DIR when
the application is elevated.
What is "admin without elevation" ?

FYI, my app use elevation and I uses admin account when mapping drive.
  Mit Zitat antworten Zitat