Jump to content

Rajesh Ramtere

Member
  • Posts

    7
  • Joined

  • Last visited

Recent Profile Visitors

467 profile views

Rajesh Ramtere's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Let me put up my problem in a different way: 1. My team has developed a windows (C# WPF) application. This application requires elevated privileges to execute. (right click on app --> "Run as administrator" even for an administrator user). This application need to run at startup occasionally (depending on user preferences). 2. When user selects to run the application on windows startup, the application creates its shortcut in the "startup folder" of the windows. 3. As this application needs administrative privileges to start running, we have made the setting as shown in the attachment image. Problem : With this UAC settings my application startup automatically whenever configured to start, at boot on windows 7. For windows 10 (I upgraded my PC from windows 7 to windows 10 Pro recently) these settings do not help. When I right click "Run as administrator" on my application from the shortcut in the startup folder, my application works fine. I made the registry settings as discussed earlier, It helps start the application on boot. However, some MS tools give an message saying : eg "MS Edge can't be opened using the built-in Administrator account. Sign in with a different account and try again.". I feel, somehow the UAC prompt, which generally occurs on running this application cannot allow same application in startup mode. How can I tell windows to run the application in administrator mode ? (windows does not by default run an app in administrator mode even when logged-in user is an administrator of that PC).
  2. Yes its our own app. I am trying to run this app with the help of task scheduler. Is it the good way to autostart the application when pc restarts? Because i am trying to change some registry settings then i got the new errors while opening the MS-Edge, Skype video etc.but the appplication gets started when i done this registry settings. But reset this registry settings and create one task in task scheduler and my program gets started when pc restarts. Is it good solution? Please help me with best solution. Thanks in advance.
  3. I tried this solution. But it wont starts my applictaion which is in startup folder C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp. Give me some better solution
  4. I am using windows 10. I attached all the images of settings..My application gets start after restarting my pc. But it gives an error while opening Microsoft Edge..Give me some good solution
  5. My application which is in Startup folder is not started after restarting the computer. I find some solutions on internet like 1. Hkey_Local_Machine\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ System\ Set EnableLUA to 0 (See at right side - By Default it is set to 1) 2. Set User Access Control settings to lowest level When i do this settings, my application which is in start up folder, application runs when machine restarts every time.. But this setting inhibit the operation of some MS programs like MS-Edge, Photo-Viewer, Skype Video etc. Resetting to default "1" and restart PC would resolved it. We need to look for better solution to this "security measure" by later Windows version.. Please guide me with better solution
×
×
  • Create New...