发新话题
打印

windows程序、服务自启动设置

windows程序、服务自启动设置

1)
win+R,输入 shell:startup,打开 “C:\Users\xxx\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup” 目录

编辑创建run.vbs文件,内容为:
Set UAC = CreateObject("Shell.Application")  
UAC.ShellExecute "C:\timetv\TVFree.exe", "", "", "runas", 1


2)注册表:
计算机\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
计算机\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

3)
c:\autoexec.bat

4)
添加到服务自启,cmd执行以下命令,binPath为绝对路径
sc create frp binPath=C:\Soft\frp\auto_frp.bat start=auto

任务管理器 启动TAB,可以查看禁用启用状态

启动程序目录:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp

查看全部启动项工具软件:
https://download.sysinternals.com/files/Autoruns.zip

[ 本帖最后由 linda 于 2022-11-23 17:43 编辑 ]

TOP

发新话题