• Welcome to Windows10Forum.com, a free community where people just like you come together to discuss, share and learn how to use their computers. Using this forum is easy and fun. As a guest, you can browse and view all the content on the site, however, you won't be able to leave comments or create new topics unless you create a free account. 

    Click here to Register a free account now and JOIN the discussion!

Rajesh Ramtere

My Application which is in Start up folder is not running

Recommended Posts

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 

Share this post


Link to post
Share on other sites

Hi @Rajesh Ramtere We all are volunteers here and all in different time zones. I'm sure you will get more replies from forum members latter. I'm not sure what your issue is??

You're wanting a better solution to "security measure" ? Are you running the new anniversary addition of W10? Do you have Access Control set to lowest level? I fail to see how we can come up with a better solution here on the forum. Maybe you should contact MS and see what they have to say!! Which setting is inhibiting the MS programs??;) I'm sorry if I don't understand what you're asking!

Capture28.JPG

Edited by holdum333

Share this post


Link to post
Share on other sites
13 minutes ago, Profiler said:

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

Share this post


Link to post
Share on other sites

Heya! I suggest you take this up with MS.;) Welcome to the forum! Can we help you with any other issues? Maybe others will have a suggestion latter to this issue??

Edited by holdum333

Share this post


Link to post
Share on other sites
14 minutes ago, Rajesh Ramtere said:

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

I haven't a clue where you got Windows10 from or how you validated your copy.

I also don't know what changes you have made to the Registry.

I have installed Windows10 on a number of machines and not had this issue.

As @holdum333 suggests, take this up with Microsoft.

Sorry I can't help you more.

Share this post


Link to post
Share on other sites
19 minutes ago, Profiler said:

I haven't a clue where you got Windows10 from or how you validated your copy.

I also don't know what changes you have made to the Registry.

I have installed Windows10 on a number of machines and not had this issue.

As @holdum333 suggests, take this up with Microsoft.

Sorry I can't help you more.

I have attached the screenshots of my registry, local security policy.

LocalSecurityPolicySettings.PNG

RegistrySettings.PNG

UAC.PNG

Share this post


Link to post
Share on other sites
7 hours ago, Rajesh Ramtere said:

But it wont starts my applictaion which is in startup folder C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp. Give me some better solution

 
 

What is the app you're trying to run? Did you create it or did you purchase/download it? What does the app do? What is its purpose?

If it's your own app, we can't help you most likely. You will need to debug the issue and drop logs and error code to track what you're doing wrong. The OS is obviously not happy with what you're trying to do.

If it's a purchased/downloaded app, I would make sure you have the latest copy, it's compatible with Windows 10 and if all else fails, go back to the site/company you got it from and work with its support dept.

  • Upvote 1

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
18 minutes ago, Rajesh Ramtere said:

Because i am trying to change some registry settings then i got the new errors while opening the MS-Edge, Skype video etc.

Sounds like you're trying to do something MS doesn't want you to do. Perhaps a security concern or??? Task Scheduler may work, using a trigger. Could also perhaps create the app as a Windows Service to auto-start.

Sorry I'm not more help.

  • Upvote 1

Share this post


Link to post
Share on other sites

My question is why is the built in account popping up! I thought that was a trouble shooting option. IMHO the poster has had a lot of help. I agree with @Steve K. that you are trying to do something that MS doesn't want you to do. Nice Steve!;)

Share this post


Link to post
Share on other sites

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).

 

 

UAC.PNG.f4c30e293206a888528edf7116db728f.PNG

Share this post


Link to post
Share on other sites
19 hours ago, Rajesh Ramtere said:

How can I tell windows to run the application in administrator mode ?

That might work @Profiler however, you will need to do that programmatically. Might be possible? Not sure.

 

Another option @Rajesh Ramtere may be to execute the app or a script to call the App using the RUNAS command at startup...?

runas /profile /user:domain\adminaccount “cscript.exe \”C:\Documents and Settings\admin\Scripts\launchapp.vbs”\”

?

  • Upvote 1

Share this post


Link to post
Share on other sites

Everyone seems to be in the right place over this but just not tying the knot is all.

Profiler actually had it in his first answer that Windows does not want anything run as The Administrator at startup because

Microsoft can see enabling the Administrator to fix issues but not to run as a user and that sort of sounds like that is what the user is doing here.

The enabled Administrator again is meant as a solution to a botched user not a substitute for one.

  • Upvote 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Similar Content

    • By tdret
      How can I disable the tap to click on the touch pad??? Last Windows 10 upgrade turned it back on and the normal method for turning it off has gone away. It is very difficult to get anything done when even the slightest accidental touch on the touch pad is interpreted as a mouse click.
    • By Fıratslayer
      A friend of mine tried to change my windows 7 into an windows 10, he tried to install it but after some time the screen turned black and i can see only the volume button and 'ease of access'. I don't know what to do and i want my laptop to restart, even if it has windows 7 or 10. Help me 
    • By dave47
      Hi,
      Looking at windows 10 backup there is two options file history and system image. I understand what they both do but is it usual to have both file backup and system image on the same external drive?
      Thanks
       
    • By hugo
      Hi,
      I would like to fink out if it is possible to control when updates are downloaded in windows 10. I know there is some control to schedule update times, but I'm specifically referring to downloading. In South Africa, Internet costs are quite high, so being able to schedule a download to only happen between midnight and 6am, would be SUPER great!!!! Up to now, Windows 10 is great, but this would really help a lot of people.
      On a second note, adding  a "Install now" feature would also be great considering the latest bug which could delete files, this would give users time to backup, or completely ignore the update.
      If this doesn't exist, is there any way of sending this request to Microsoft? And will they even consider it or give feedback?
      Thanks
    • By Rajesh Ramtere
      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
  • Who's Online   0 Members, 0 Anonymous, 31 Guests (See full list)

    There are no registered users currently online