manifest files
-
Scenario: I have an application in C# with an application.manifest file. This file controls the user privilage level. I have it set to administrator. This is because on windows vista and 7 machines my program wants elevated rights. This works fine except it prompts the user every time. I would like it not to ask the user to elevate privilages. How can i do this.
-
Scenario: I have an application in C# with an application.manifest file. This file controls the user privilage level. I have it set to administrator. This is because on windows vista and 7 machines my program wants elevated rights. This works fine except it prompts the user every time. I would like it not to ask the user to elevate privilages. How can i do this.
If your application requires elevated privileges and the user is on windows 7 with UAC enabled then you really can't get around it. Even builtin operating system functions prompt you when it needs elevated access. Even if you are logged in with administrative rights it will prompt you to run the process. This can only be changed by UAC settings either local policy or domain policy, however that opens a security risk to the machine, also if you disable UAC and the user does not have the proper privileges then you are looking at exceptions occuring from not having the correct access. Unless of course they right click and choose "run as administrator".
-
Scenario: I have an application in C# with an application.manifest file. This file controls the user privilage level. I have it set to administrator. This is because on windows vista and 7 machines my program wants elevated rights. This works fine except it prompts the user every time. I would like it not to ask the user to elevate privilages. How can i do this.