Windows维护着一个程序列表,这些程序可以在您登录系统后立即启动。对于那些应该立即可以使用的程序来说,它会派上用场。但是,即使在此处添加条目后,也可能会出现程序无法启动的情况。在这篇文章中,我们将了解如果Startup(Startup)文件夹中的程序在Windows 11/10中启动时未启动,您可以做什么。
启动(Startup)文件夹中的程序未启动
如果Startup文件夹中的程序在(Startup)Windows 11或Windows 10中启动时未启动,请按照以下任一方法解决问题:
- 检查任务管理器(Task Manager)的启动条目
- 将程序添加到启动文件夹
- 使用注册表(Registry)在启动(Startup)中添加程序(Program)
- (Force)使用任务计划程序(Task Scheduler)强制提升程序(Program)
- 向默认防火墙添加例外
- 设置批处理文件(Setup Batch File)以启动程序(Launch Programs)。
其中一些需要您拥有管理员权限才能完成设置。
1]检查任务管理器(Check Task Manager)的启动(Startup)条目
- 右键单击(Right-click)任务栏,然后选择任务管理器(Task Manager)
- 切换到启动选项卡(Switch to the Startup Tab)并在列表中找到程序
- 检查状态是否禁用。
- 如果是,则右键单击它,然后从菜单中选择启用(Enable)
重新启动计算机,并在您登录计算机后查看该程序(Program)现在是否可用。
2]将程序(Program)添加(Add)到启动文件夹(Startup Folder)
有两个 Startup 文件夹位置( two Startup folders locations)- Current User Startup 和All Users Startup Folder。在其中放置快捷方式后,程序将自动启动。(Once)去做这个:
- 打开运行提示符(Win + R)
- 键入shell:common startup并按 Enter 键
- 它将打开启动文件夹
- 接下来,将要启动的程序(Program)的快捷方式拖放到文件夹中。
阅读(Read):如何使程序在启动时运行(How to make a Program run on startup)。
3]使用注册表(Registry)在启动中(Startup)添加程序(Add Program)
注册表(Registry)是Windows PC 中的最高权限,您更改的所有设置或您所做的任何事情都会影响注册表(Registry)。Windows Native应用程序甚至所有第三方软件的所有设置都存在于注册表(Registry)中。除非并且直到您知道并确定自己在做什么,否则您不得使用Registry 。
按照以下步骤对Startup(Startup)文件夹问题进行排序:
- 通过在运行提示中键入Regedit然后按Enter键来打开注册表编辑器(Registry Editor)。
- 导航
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
- 右键单击(Right-click)编辑器中的空白区域并创建一个新的字符串(String)值条目。
- 将字符串值命名为要运行的程序。(Program)
- 编辑条目并将值放在程序的可执行文件的路径中。
- 保存并重新启动 PC。
阅读(Read):Windows 注册表启动位置(Windows Registry Startup Locations)。
4] 使用任务计划程序(Task Scheduler)强制(Force)提升程序(Program)
有些程序(Programs)每次都需要管理员权限才能启动。如果程序(Program)没有正确的权限,Windows中的UAC 功能将被阻止。您可以尝试更改UAC以确定这一点,如果是这种情况,最好创建一个快捷方式,使其始终以管理员权限启动。
- 按(Press)开始菜单,然后单击搜索(Search)栏。
- 输入 UAC(Type UAC)并打开更改用户帐户控制(Change User Account Control)设置
- 将滑块移动到底部并确认更改。
- 重新启动(Reboot)计算机以检查程序(Program)是否可以启动。
如果是,那么您可以创建一个任务并以管理员权限启动该程序。(Program)这样,您就不必每次都面对UAC 。
- 通过在运行(Run)提示中键入taskschd.msc然后按Enter键来打开任务计划程序(Task Scheduler)
- 创建一个新任务并确保选择两个选项 -仅在用户登录时运行,并选中显示(Run only when the user is logged on)以最高权限运行(Run with Highest Privileges)的框。
- 命名任务并保存。
下次您登录您的帐户时,该程序(Program)将自动启动。
5]向默认防火墙(Default Firewall)添加例外(Add Exception)
有些程序(Programs)需要在开始时立即连接到实习生。如果防火墙阻止此类程序(Firewall is blocking such programs),则程序(Program)可能无法启动或被阻止。如果您要启动的程序(Program)有这样的要求,请确保将其作为例外添加到防火墙(Firewall)。
在开始菜单中键入防火墙(firewall),然后从列表中选择Windows Defender 防火墙。(Windows Defender Firewall)
- 单击(Click)允许(Allow)应用程序或功能通过Windows Defender 防火墙(Windows Defender Firewall)
- 然后单击更改设置(Change Settings),然后单击允许(Allow)另一个应用程序按钮
- 使用浏览器按钮添加程序(Program)
- 您还可以配置网络(Network)类型以允许它通过唯一的专用网络工作
6]设置批处理文件(Setup Batch File)以启动程序(Launch Programs)
如果您想在Startup 启动(Startup)一堆程序,并且想要一个简单的方法,那么您可以创建一个批处理文件并将其设置为在Startup上执行。但是,请注意它会吸引UAC,并且您必须手动允许它们中的每一个。
- 打开运行(Run)提示 ( Win +R ) 并键入记事本。按Enter键将其打开
- 复制下面提到的代码并将其保存为BAT文件
@echo off
“<Path of the program>\<Programname>.exe”
exit
因此,例如,如果我想启动Snagit,我需要居中的路径将是
C:\Program Files\TechSmith\Snagit 2020\Snagit32.exe
您可以添加更多,但它们中的每一个都应在新行中列出。最后,创建BAT文件的快捷方式,并将其放在Startup Folder中。
如果您要使用的程序(Program)在您登录计算机时没有启动,您可以使用任何方法确保它启动。
Program in Startup folder not starting on startup in Windows 11/10
Windows maintains а lіst of programs that can launch themselves as soon as you log in to the system. It comes in hаndy for those prоgrams which should be ready to uѕe right away. Howevеr, it may hapрen that even after adding an entry here, a program may nоt startup. In this post, wе wіll ѕee what you can do if yоur Program in the Stаrtup folder is not starting on startup in Windows 11/10.
Program in Startup folder not starting
If a program in the Startup folder is not starting on startup in Windows 11 or Windows 10, follow any of these methods to resolve the issue:
- Check the Task Manager for startup entries
- Add the Program to Startup Folder
- Add Program in the Startup using Registry
- Force the elevated Program with Task Scheduler
- Add Exception to Default Firewall
- Setup Batch File to Launch Programs.
Some of them will need you to have admin permission to complete the setup.
1] Check Task Manager for Startup entries
- Right-click on the taskbar, and select Task Manager
- Switch to the Startup Tab and locate the Program in the list
- Check if the status is disabled.
- If yes, then right-click on it, and choose Enable from the menu
Restart the computer, and see if the Program is now available as soon as you login to the computer.
2] Add the Program to Startup Folder
There are two Startup folders locations—Current User Startup and All Users Startup Folder. Once you place a shortcut inside it, the programs will be launched automatically. To do this:
- Open Run prompt (Win + R)
- Type shell:common startup and press the Enter key
- It will open the Startup Folder
- Next, drag and drop the shortcut of the Program you wish to launch in the folder.
Read: How to make a Program run on startup.
3] Add Program in the Startup using Registry
The Registry is the highest authority in a Windows PC, all the settings you change or anything you do affects the Registry. All the settings of the Windows Native apps and even all the third party software are present in Registry. You must not play with Registry unless and until you know and sure of what you are doing.
Follow the steps to sort the Startup folder issue:
- Open Registry Editor by typing Regedit in the run prompt followed by pressing the Enter key.
- Navigate to
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
- Right-click on the empty space in the editor and make a new String value entry.
- Name the string value as the Program you want to run.
- Edit the entry and put the value in the path of the Program’s executable file.
- Save and restart the PC.
Read: Windows Registry Startup Locations.
4] Force the elevated Program with Task Scheduler
Some Programs need admin permission every time to start. The UAC feature in Windows will block if the Program doesn’t have the correct permission. You may try to change the UAC to ascertain that, and if that’s the case, it is best to create a shortcut that will allow it to launch with admin permission all the time.
- Press the start menu, and click on the Search bar.
- Type UAC and open Change User Account Control settings
- Move the slider to the bottom and confirm changes.
- Reboot the computer to check if the Program can launch.
If yes, then you can create a task and launch the Program with admin permission. That way, you will not have to face the UAC every time.
- Open Task Scheduler by typing taskschd.msc in the Run prompt followed by pressing the Enter key
- Create a new Task and make sure to select two options — Run only when the user is logged on, and check the box which says Run with Highest Privileges.
- Name the task, and save it.
Next time you log in to your account, the Program will automatically launch.
5] Add Exception to Default Firewall
Some Programs need to connect to an intern as soon as they start. If the Firewall is blocking such programs, then the Program may not launch or get blocked. If the Program you wish to launch has such a requirement, make sure to add it as an exception to the Firewall.
Type firewall in the start menu, and select Windows Defender Firewall from the list.
- Click on Allow an app or feature through Windows Defender Firewall
- Then click on Change Settings and then on Allow another app button
- Use the browser button to add the Program
- You can also configure the Network types to allow it to work through an only private network
6] Setup Batch File to Launch Programs
If you want to launch a bunch of programs at the Startup, and want a simple method, then you can create a batch file and set it to execute on the Startup. However, stay warned that it will attract UAC, and you will have to allow each of them manually.
- Open Run prompt (Win +R) and type notepad. Press the Enter key to open it
- Copy the below-mentioned code and save it as a BAT file
@echo off
“<Path of the program>\<Programname>.exe”
exit
So for example, if I want to launch Snagit, the path I need to center will be
C:\Program Files\TechSmith\Snagit 2020\Snagit32.exe
You can add more, but each of them should be listed in a new line. Finally, create a shortcut of the BAT file, and place it in the Startup Folder.
If the Program you want to use doesn’t start as you log in to the computer, you can use any of the methods to make sure it starts.