![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | Vista & virtualization Hi As I understand it, Microsoft has introduced 'virtualization' into Vista to prevent users from writing data to 'sensitive' (i.e. HKLM) parts of the registry. Instead they want developers to ensure that they write to 'safe' locations (i.e. HKCU). My problem is this; our application shares a number of global settings with all other system users. So for example, on WinXP if 'user a' makes a change to our application, all other users will see the same change when they login. With Windows Vista, when 'user a' makes a change, it gets stored in the 'virtual store' and none of the other user get to see it. Is there anyway to work around this? Thanks Eddie. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Vista & virtualization Hi, Just to follow up. It seems that the only way to ensure that an application can write to all parts of the registry is to run under that Admin account. You can do this by using the following manifest file: <application /> <entryPoint> <assemblyIdentity name="WindowsApplication1" version="1.0.0.0" language="neutral" processorArchitecture="msil" /> <commandLine file="WindowsApplication1.exe" parameters="" /> </entryPoint> <trustInfo> <security> <requestedPrivileges> <requestedExecutionLevel level="requireAdministrator" uiAccess="false"/> </requestedPrivileges> <applicationRequestMinimum> <PermissionSet class="System.Security.PermissionSet" version="1" Unrestricted="true" ID="Custom" SameSite="site" /> <defaultAssemblyRequest permissionSetReference="Custom" /> </applicationRequestMinimum> </security> </trustInfo> </asmv1:assembly> The problem I have is that this manifest will only work with C# applications. My "Hello World" win32 application seems to just ignore the manifest file. Can anybody help me? Is there any know issues with Win32 apps and manifest files? Thanks Eddie |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Vista virtualization not working ? | Vista security | |||
| Vista registry virtualization | Vista General | |||
| Vista registry virtualization | Vista security | |||
| Vista Virtualization - Business and Ultimate Only???? | Vista General | |||
| Program virtualization vs. installer virtualization | Vista General | |||