normanj
驱动牛犊
驱动牛犊
  • 注册日期2007-01-06
  • 最后登录2007-09-27
  • 粉丝0
  • 关注0
  • 积分80分
  • 威望9点
  • 贡献值0点
  • 好评度8点
  • 原创分0分
  • 专家分0分
阅读:1288回复:0

FileDisk in Vista problems

楼主#
更多 发布于:2007-09-24 00:54
Hi, ALL

FileDisk(http://www.acc.umu.se/~bosse/) runs very well in Windows XP, but in Vista, general user can mount/umount a disk, but can't execute "some" .exe(e.g., setup.exe in Visual Studio, MS SQL 2005, etc). Administrator can execute any .exe, but when a disk mount by Administrator, it doesn't appear in Windows Explorer. If run "c:\windows\explorer i:", it can be seen.

In the source code, I try to create DeviceObject with IoCreateDeviceSecure, its SDDL string is "read/write/execute for everyone", but that doesn't affect the problem.

So, how to enable the SDDL to authorize normal user to read/execute files in virtual disks? Or how to add registry settings to do that?

Thanks

--- solved
游客

返回顶部