본문 바로가기

카테고리 없음

How To Autostart Programs Windows 7



  1. How To Check Auto Start Programs In Windows 7
  2. Startup Apps Windows 7
  3. How To Control Auto Start Programs In Windows 7
  4. How To Disable Auto Start Programs Windows 7

Use Windows to autostart one or more Office programs when you start your computer. Automatically start an Office program when you turn on your computer. If you ever want to remove a program from autostart, delete the shortcut from the Startup folder (Steps 1 and 2). I created my own parental control app to monitor my kids activity. The app's only GUI is a task bar icon. The program is installed as admin. I'd like this program to be started up automatically as admin user on Windows startup, so that standard users cannot kill it from task manager. Sep 15, 2019  How to disable an 'auto start' program within Windows 7? There are programs I want to disable from the starting of Windows, how and where do I find the options to diable certain programs within Windows 7?

Active1 year, 2 months ago

I created my own parental control app to monitor my kids activity. The app's only GUI is a task bar icon. The program is installed as admin. I'd like this program to be started up automatically as admin user on Windows startup, so that standard users cannot kill it from task manager.

I can create a registry key at:

to make it run automatically when Windows starts up. The problem is that the program is started as the logged in (standard) user.

How can I make it run in an elevated mode? Is this possible at all in Win7?

Jonathan Komar

7642 gold badges12 silver badges30 bronze badges

newmannewman

3,28811 gold badges63 silver badges109 bronze badges

9 Answers

You need to plug it into the task scheduler, such that it is launched after login of a user, using a user account that has administrative access on the system, with the highest privileges that are afforded to processes launched by that account.

This is the implementation that is used to autostart processes with administrative privileges when logging in as an ordinary user.

I've used it to launch the 'OpenVPN GUI' helper process which needs elevated privileges to work correctly, and thus would not launch properly from the registry key.

From the command line, you can create the task from an XML description of what you want to accomplish; so for example we have this, exported from my system, which would start notepad with the highest privileges when i log in:

and it's registered by an administrator command prompt using:

Download Yahoo Web Browser. Download32 is source for download yahoo web browser freeware download - Firefox Web browser, SlimBoat Web Browser for Windows, SlimBoat Web Browser for Mac, Opera browser, Slimjet Web Browser, etc. Yahoo Mail Ad Remover. Get breaking news every time you open your browser! Photography Wallpaper Open each new window to beautiful photos, Yahoo Search, & links to your top sites. Yahoo News Homepage Get breaking news every time you open your browser! 407762 downloads. Photography Wallpaper Open each new window to beautiful photos, Yahoo. Anyways, let's come to out topic. Yahoo is the No.1 site on the web. Having the maximum traffic, it's still ruling in the laexa rank. Now, just to get all it's pages open properly and work nicely, Yahoo! Joined hands with Microsoft in making a Yahoo! Friendly browser. And here it is, YAHOO! Download yahoo internet browser. Yahoo browser free download - Yahoo Toolbar with Anti Spyware, Yahoo Messenger, Yahoo Widgets, and many more programs. Search the Web from anywhere, block pop-ups or spyware, and get one-click.

this answer should really be moved over to one of the other stackexchange sites, as it's not actually a programming question per se.

PeteshPetesh

73.3k3 gold badges77 silver badges99 bronze badges

EdChum

207k40 gold badges469 silver badges371 bronze badges
msParkmsPark

This is not possible.
However, you can create a service that runs under an administrative user.

The service can run automatically at startup and communicate with your existing application.
When the application needs to do something as an administrator, it can ask the service to do it for it.

Remember that multiple users can be logged on at once.

SLaksSLaks

719k147 gold badges1691 silver badges1811 bronze badges

I think that using the task scheduler to autostart programs is not very user friendly, and sometimes it has had side effects for me (e.g. tray icon for a program is not added).

To remedy this, I have made a program called Elevated Startup that first relaunches itself with administrator privileges, then it launches all files in a directory. Since Elevated Startup is now elevated, all the programs it then launches is also given administrator privileges. The directory is on the start menu next to the classic Startup directory, and works very much the same.

You may encounter one UAC dialog when the program relaunches itself, depending on your UAC settings.

You can get the program here: https://stefansundin.github.io/elevatedstartup/

stefansundinstefansundin

5151 gold badge5 silver badges14 bronze badges

Setting compatibility of your application to administrator (Run theprogram as an administrator).

Plug it into task scheduler, then turn off UAC.

WawanWawan

You can do this by installing the task while running as administrator via the TaskSchedler library. I'm making the assumption here that .NET/C# is a suitable platform/language given your related questions.

This library gives you granular access to the Task Scheduler API, so you can adjust settings that you cannot otherwise set via the command line by calling schtasks, such as the priority of the startup. Being a parental control application, you'll want it to have a startup priority of 0 (maximum), which schtasks will create by default a priority of 7.

Below is a code example of installing a properly configured startup task to run the desired application as administrator indefinitely at logon. This code will install a task for the very process that it's running from.

user7000146

How To Check Auto Start Programs In Windows 7

A program I wrote, farmComm, may solve this. I released it as open-source and Public Domain.

If it doesn't meet your criteria, you may be able to easily alter it to do so.

farmComm:

  • Runs at boot-up under a service, which continues when users log in or out.
    • In Session 0
    • Under the user 'NT AUTHORITYSYSTEM.'
  • Spawns arbitrary processes (you choose);
    • Also in Session 0
    • 'Invisibly,' or without showing any user interface/GUI
    • With access to graphics hardware (e.g. GPUs).
    • Responds to the active session, even if it changes, including the Secure Desktop. This is how it:
    • Only spawns processes after a user is idle for 8.5 minutes
    • Terminates spawns when a user resumes from idle

The source scripts are available here:

Alex HallAlex Hall

You should also consider the security implications of running a process as an administrator level user or as Service. If any input is not being validated properly, such as if it is listening on a network interface. If the parser for this input doesn't validate properly, it can be abused, and possibly lead to an exploit that could run code as the elevated user. in abatishchev's example it shouldn't be much of a problem, but if it were to be deployed in an enterprise environment, do a security assessment prior to wide scale deployment.

CurtisCurtis

How To Autostart Programs Windows 7

I think the task scheduler would be overkill (imho). There is a startup folder for win7.

C:UsersmiliuAppDataRoamingMicrosoftWindowsStart MenuProgramsStartup

Just create a shortcut for your autostart Applicaton, edit the properties of the shortcut and have it always run as administrator.

Your kids could close it of course, but if they are tech-savvy they always find a way to keep you out. I know i did when i was younger.

Autostart applications windows 7

Startup Apps Windows 7

Good luck!

zhengtoniczhengtonic

protected by CommunityAug 6 '14 at 14:06

How To Control Auto Start Programs In Windows 7

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?

How To Disable Auto Start Programs Windows 7

Not the answer you're looking for? Browse other questions tagged windowswindows-7uacstartup or ask your own question.