Vista special permissions/privileges-VBForums
Results 1 to 4 of 4

Thread: Vista special permissions/privileges

Hybrid View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2006
    Location
    Venice,Italy
    Posts
    299

    Cool Vista special permissions/privileges

    Hi
    I made an app that saves the password on win directory and it works fine under XP but it wont work under Vista.

    Im not sure cos I lost the source code but I strongly suspect that its related
    to the privileges associated to the EXE file by the OS.

    I checked all privileges on the menu on Vista and the only one that was greyed and "untouchable" was the "special privileges" so I guess it may be the one that still blocks my app...

    So, my question is: what exactly does this "special permission" allows/blocks ?
    thanks

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Posts
    10,470

    Re: Vista special permissions/privileges

    There are lots of new factors in the post-XP world we live in. One place to begin would be to read New UAC Technologies for Windows Vista, though it is very late in the day to start learning about those changes now. They were first described for developers beginning back in 2006.

    In this case you might want to read the part on Virtualization first.

    Note that there were actually very few "new rules" starting in Vista. Many of these rules have been around since the Windows 95 Desktop Update in 1996 while others came about when transitioning from Win9x OSs to NT OSes such as Win2K, XP, Vista, Win7, Win8, and whatever comes next. The difference is that new mechanisms are now in place that enforce those rules.

    There are also some issues for 32-bit processes running under SysWOW64, something a lot of people never saw until they moved to Windows 7. With Windows 7 a lot of vendors saw 64-bit Windows as an opportunity to make consumers buy more hardware, which helps keep the cost of a PC (and thus profits) high. This results in your program triggering another feature called WOW64 file redirection.

    What it comes down to is that if your programs try to write to protected system areas of the hard drive strange things may seem to occur. This is Windows trying depserately to let your program run, the alternative being to kill it when you perform such illegal operations.


    If you can say what "won't work" really means (exactly what is happening) there might be a resolution. Without the program source this is a little bit doubtful though.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2006
    Location
    Venice,Italy
    Posts
    299

    Re: Vista special permissions/privileges

    thanks but do you know what those "special permissions" are exactly ?
    they may be protecting a specific folder or something...

  4. #4
    PowerPoster
    Join Date
    Feb 2006
    Posts
    10,470

    Re: Vista special permissions/privileges

    Special permissions are nothing new in Vista. They've been part of NTFS at least since Win2K if not NT 4.0 or earlier.

    http://support.microsoft.com/kb/308419

    In this case they may involve special accounts such as System and TrustedInstaller. In any case you should not tamper with them.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.