May 11, 2018 Disabling Startup Programs in Windows 7, Vista, or XP For some programs, it’s smart to have them start with Windows, such as anti-virus and firewall software. However, for most programs, starting them at boot-up just wastes resources and extends startup time. Feb 19, 2012 Then to add programs to the startup folder you simply just drag the shortcut in to the Startup folder and your done. To remove programs you simply just. However, in Windows 7, the startup folder is a hidden system folder that is not located in the same place as the startup folders in Windows XP. This article shows you an easy way to add programs to the Windows 7 startup folder for both the current user and all users of the computer.
System Configuration Utility (Windows 7) Remove a registry entry; Before you begin. Often, a program starts automatically in Windows because of a shortcut in the Startup folder in the Start menu. The program may also run automatically from a registry entry. To remove programs from automatic startup, follow these instructions in order.
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 deer hunter script pdf free. 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
76422 gold badges1212 silver badges3030 bronze badges
newmannewman
3,2881111 gold badges6363 silver badges109109 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.
How To Autostart Programs In Windows 7
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:
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.3k33 gold badges7777 silver badges9999 bronze badges
EdChum
207k4040 gold badges469469 silver badges371371 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
719k147147 gold badges16911691 silver badges18111811 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
51511 gold badge55 silver badges1414 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. Usb serial cable. This code will install a task for the very process that it's running from.
user7000146
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.
Nightclub Tycoon has been already played 43,961 times and received 69 percent positive feedback with 2,056 votes. You can play this simple business game in full-screen using one of the most popular browsers. And Business Simulator for free on Silvergames. Play nightclub city game online. If you like such games, you can play other online games such as Big Farm, Papa's Taco Mia!
farmComm:
The source scripts are available here:
How To Stop Autostart Programs In Windows 7
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.
How To Remove Autostart Programs In Windows 7
CurtisCurtis
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.
Good luck!
zhengtoniczhengtonic
protected by Community♦Aug 6 '14 at 14:06
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? Not the answer you're looking for? Browse other questions tagged windowswindows-7uacstartup or ask your own question.Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |