China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-07 13:37
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Original] Establishing startup items that are not displayed in msconfig {tested under XP} View 1,919 Replies 13
Original Poster Posted 2008-03-19 14:55 ·  中国 北京 鹏博士BGP
银牌会员
★★★
Credits 2,098
Posts 566
Joined 2007-09-11 07:27
18-year member
UID 97070
Gender Male
Status Offline
::Windows配置实用程序的一个漏洞	{s11ss@www.cn-dos.net 2008-3-19}
@if "%~1" equ "" echo Usage:&echo "%~n0" "filename "&pause&exit/b
@setlocal enabledelayedexpansion
@set "e="
@for /l %%a in (1,1,130) do @set "e=!e! "
@reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v "%random%" /d "%~1!e!" /f
@pause
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
huahua0919 +6 2008-03-19 16:58
Floor 2 Posted 2008-03-19 17:09 ·  中国 江苏 苏州 移动
银牌会员
★★★
Credits 1,608
Posts 780
Joined 2007-10-07 10:19
18-year member
UID 99089
Gender Male
Status Offline
Is reaching 130 in the empty can produce such an effect?
Floor 3 Posted 2008-03-20 00:28 ·  中国 重庆 电信
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
It seems that msconfig doesn't have a check for spaces at the beginning of startup item names. Learned it.
Floor 4 Posted 2008-03-20 00:37 ·  中国 福建 福州 联通
高级用户
★★
Credits 581
Posts 277
Joined 2006-12-23 05:10
19-year member
UID 74328
Gender Male
Status Offline
Also come in and learn new tricks
Floor 5 Posted 2008-03-20 10:33 ·  中国 陕西 西安 电信
银牌会员
★★★★
钻石会员
Credits 2,278
Posts 1,020
Joined 2007-11-19 13:34
18-year member
UID 103127
Gender Male
Status Offline
This is not visible in msconfig and needs to be modified in the registry:

Make the p process run during startup and shutdown

Enter "mmc" in "Start/Run" and press Enter to enter the console. Add "Group Policy Object Editor" in "Add/Remove Snap-ins". After completion, select "Scripts (Startup/Shutdown)" in the "Extensions" tab. Then double-click the "Startup/Shutdown" item in "Console Root/Local Computer Policy/Computer Configuration/Windows Settings/Scripts (Startup/Shutdown)" in the console, and then click the "Add" command to use browse to locate the p process we want to run, and it's done.
山外有山,人外有人;低调做人,努力做事。

进入网盘(各种工具)~~ 空间~~cmd学习
Floor 6 Posted 2008-03-21 23:45 ·  中国 陕西 西安 电信
铂金会员
★★★★
Credits 5,212
Posts 2,478
Joined 2007-02-08 23:39
19-year member
UID 79003
Gender Male
Status Offline
???
Is there a checkbox with a checkmark in front that I don't know about?
Floor 7 Posted 2008-03-22 01:16 ·  中国 北京 华为云
初级用户
Credits 71
Posts 34
Joined 2008-03-12 19:53
18-year member
UID 112775
Gender Male
Status Offline
Can you come out and explain it? I can't understand it
Floor 8 Posted 2008-03-22 12:55 ·  中国 陕西 安康 电信
初级用户
★★
Credits 171
Posts 78
Joined 2006-11-22 11:26
19-year member
UID 71373
Gender Male
Status Offline
I'm not sure if my understanding is wrong. I changed it to the following code, but when "垃圾清理.vbs" starts, it can't run, and I can't see the item in the registry. Where is the problem? Please the楼主 give an example. Sweat, I'm too novice


::A Bug of Msconfig {s11ss@www.cn-dos.net 2008-3-19}
@if "%~1" equ "" echo Usage:&echo "垃圾清理" "c:\windows\垃圾清理.vbs"&pause&exit/b
@setlocal enabledelayedexpansion
@set "e="
@for /l %%a in (1,1,130) do @set "e=!e! "
@reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v "%random%" /d "%~1!e!" /f
@pause
Floor 9 Posted 2008-10-09 12:11 ·  中国 江西 赣州 安远县 电信
银牌会员
★★★★
Credits 2,025
Posts 1,122
Joined 2007-09-05 20:15
18-year member
UID 96653
Gender Male
Status Offline
Does it have to be 130 spaces?
Floor 10 Posted 2008-10-09 16:23 ·  中国 云南 昆明 电信
中级用户
★★
Credits 220
Posts 99
Joined 2008-06-26 15:12
18-year member
UID 120818
Gender Male
Status Offline
Isn'that would make it easy to hack, wouldn't it?'
Floor 11 Posted 2008-10-09 23:39 ·  中国 陕西 安康 电信
新手上路
Credits 10
Posts 5
Joined 2008-10-09 23:11
17-year member
UID 127932
Gender Male
Status Offline
Floor 12 Posted 2008-10-10 22:14 ·  中国 安徽 滁州 电信
初级用户
Credits 35
Posts 20
Joined 2008-10-02 11:10
17-year member
UID 127220
Gender Male
Status Offline
Floor 13 Posted 2009-06-08 13:06 ·  中国 安徽 合肥 电信
新手上路
Credits 2
Posts 2
Joined 2009-02-27 11:50
17-year member
UID 140124
Gender Male
Status Offline
Then, is it detected by other tools???
Floor 14 Posted 2009-06-08 20:01 ·  中国 黑龙江 大庆 大庆中基石油通信建设有限公司
高级用户
★★
Credits 547
Posts 261
Joined 2006-04-15 16:50
20-year member
UID 53887
Status Offline
Forum Jump: