SoFunction
Updated on 2025-04-08

Registry-Batch-VBS mutual combination application page 1/2

It doesn't matter if you don't understand registry, VBS, and batch processing. As long as you can learn, absorb other people's essence, and find information, |Forum | Baidu | GOOGLE |, and then you can use it well, it's very good.

Post some collected text here. (Green is the title, blue is the original author, and red is the part that needs to be modified, and it is modified according to your own actual situation)

=======VBS to connect to the virtual disk while opening the flash menu=======
Set WshShell = ("")
Return =  ("c:\client\New call.exe",0,true)
Return =  ("iscsicli AddTargetPortal 192.168.0.9 3260",0,true)
Return =  ("iscsicli LoginTarget iqn.:00 T * * * * * * * * * * * * * * * 0",0,true)
Set WshShell = Nothing

========Start VBS calls remote batch processing (delay + no black screen running effect) ======
DIM objShell
set objShell=("")
(10000)
iReturn=(" /C \\server\E\", 0, TRUE)

====== Modify the registry for the characters displayed in the IE status bar (Thanks to Lei Feng and ciwzero on the 15th floor) =====

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3]
@=""
"DisplayName"="XX Internet Cafe"

======= Batch processing obtains the IP and MAC addresses of the machine and then binds them (written by zzlike) ======@echo off
for /f "tokens=1* delims=:" %%i in ('ipconfig /all^|find /i "Physical Address"') do set mac=%%j 
for /f "tokens=1* delims=:" %%i in ('ipconfig /all^|find /i "IP Address"') do set ip=%%j 
arp -s %ip:~1% %Mac:~1% 

====== Force refresh of group policy and registry======
xp/2003 command
gpupdate /force
2k command
secedit /refreshpolicy machine_policy /enforce

======= Batch modification of IE homepage (made on Banzhu dseation's post) ======
@reg delete "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /v "Start Page" /f 
@reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /v "Start Page" /d "http://192.168.0.250" /f 

====== Several ways to lift the ban on downloads======
VBS code:
DIM WSH
SET WSH=("")
("The function of this program is to solve the problem that cannot be downloaded")
"HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones03",0,"REG_DWORD"
("Now you can download the program!")

JS code:
VAR WSHShell=("");
("This program solves the problem that cannot be downloaded,");
("HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones03",0,"reg_dword"); 

INF code
[Version]
Signature="$CHICAGO$"
[DefaultInstall]
DelReg=Del
[Del]
HKCU,"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones",1803

======= Block the error dialog box popped up when WIN2003 is powered on: At least one service or driver generates an error when the system starts ======
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows]
"NoPopUpsOnBoot"=dword:00000001

====== Methods that do not give any prompts when importing the registry (original by Paramount Internet Cafe) ======
/?boardID=190&ID=385102

====== Three simple steps, changing the serial number to solve the problem of WINDOWS XP online upgrade ======
1) In [Start] → [Execution] → [Regedit] → [HKEY_LOCAL_MACHINE] → [SOFTWARE] → [Microsoft] →
[Windows NT]→ [CurrentVersion] Delete the first two values ​​of [OOBETimer] in [WPAEvents] [FF]
2) Enter the [Start] → [Execution] → [oobe/msoobe /a] in [Start Screen] → Select the second item [Telephone Start]
3) When entering the next window, select [change product key] to modify the serial number and enter a new serial number. After completion, click [update] to update and select [remind me later] to remind and register.
After restarting the computer, it should be displayed when [Start]→[Execution]→[oobe/msoobe/a] enter [Start Screen].
KLV, VOL version users can use serial numbers:
MRX3F-47B9T-2487J-KWKMF-RPWBY (ICBC version) available
QC986-27D34-6M3TY-JJXP9-TBGMD (* Jiaotong University Student Edition) Available
CM3HY-26VYW-6JRYC-X66GX-JVY2D Available
DP7CM-PD6MC-6BKXT-M8JJ6-RPXGJ Available
F4297-RCWJP-P482C-YY23Y-XH8W3 Available
HH7VV-6P3G9-82TWK-QKJJ3-MXR96 Available
HCQ9D-TVCWX-X9QRG-J4B2Y-GR2TT Available

======= Remove remote and system restore options on the system panel ======
regsvr32 /u 
regsvr32 /u 

========The Island of Adventure refresh rate is set to 85HZ registry (useful for brothers who play Island of Adventure) ======
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wizet\MapleStory]
"ExecPath"="E:\\OnlineGame\\Story of Adventure"
"EKEYUSE"=dword:00000000
"DGTIDUSE"=dword:00000000
"RMA"=dword:00000000
"LMA"=""
"LCWN"=""
"scrFirstRun"=dword:00000000
"soVideo"=dword:00000003
"soBGMVol"=dword:0000000f
"soBGMMute"=dword:00000000
"soSEVol"=dword:0000000f
"soSEMute"=dword:00000000
"soScreenShot"=dword:00000000
"soMouseSpeed"=dword:0000000a
"soHPFlash"=dword:0000000a
"soTremble"=dword:00000001
"jpBtn0"=dword:00000000
"jpBtn1"=dword:00000000
"jpBtn2"=dword:00000000
"jpBtn3"=dword:00000000
"jpBtn4"=dword:00000000
"jpBtn5"=dword:00000000
"jpBtn6"=dword:00000000
"jpBtn7"=dword:00000000
"jpBtn8"=dword:00000000
"scrRRate"=dword:00000055

======== Click the QQ game on the QQ panel to solve the problem without any response (it must be that you did not run QQ games when you were working as a master, right?) =====
Windows Registry Editor Version 5.00

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Tencent\QQGame\SYS]
"HallDirectory"="e:\\Online Game Platform\\QQGame\\"

"GameDirectory"="e:\\Online Game Platform\\QQGame\\"

[HKEY_LOCAL_MACHINE\Software\Classes\CLSID]
"CLBVersion"=dword:00000007

[HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{11BEA40D-ED62-4996-B157-B6D9C637F2A5}\InprocServer32]
"ThreadingModel"="Apartment"

[HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{B59750C3-29F1-44AA-BFA8-E5F6D3CE8596}\InProcServer32]
"ThreadingModel"="Both"

[HKEY_LOCAL_MACHINE\Software\Classes\Interface\{AA21B901-1642-4AB2-9C1C-A09B2412CC89}\TypeLib]
"Version"="1.0"

[HKEY_LOCAL_MACHINE\Software\Classes\Interface\{B2167A4F-BC4D-4DA7-90BF-C4BAF7D76714}\TypeLib]
"Version"="1.0"

[HKEY_LOCAL_MACHINE\Software\Tencent\QQGame\SYS]
"HallDirectory"="E:\\Online Game Platform\\QQGame\\"

"GameDirectory"="E:\\Online Game Platform\\QQGame\\"

======= Methods for running EXE in the share not to give prompts======
IE--Internet Options-Security-Customization Level-Security Settings-Loading Applications and Unsafe Files: Select | Enable |

====== The most important step in making the 2003 system: make 2003 compatible with games like XP======
Modified to:
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows Server 2003, Standard" /NoExecute=alwaysoff /fastdetect
This method is equivalent to: My computer --properties --advanced --performance --settings --data execution protection, select | Enable data execution protection only for key Windows programs and services |

====== If your 2003 cannot be upgraded and patched online, try this registry======
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]
"ProductId"="69713-640-9722366-45198"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]
"CurrentBuild"="1.511.1 () (Obsolete data - do not use)"
"InstallDate"=dword:3f6c976d
"ProductName"="Microsoft Windows Server 2003"
"RegDone"=""
"SoftwareType"="SYSTEM"
"CurrentVersion"="5.2"
"CurrentBuildNumber"="3790"
"BuildLab"="3790.srv03_rtm.030324-2048"
"CurrentType"="Uniprocessor Free"
"ProductId"="69713-640-9722366-45198"
"DigitalProductId"=hex:a4,00,00,00,03,00,00,00,36,39,37,31,33,2d,36,34,30,2d,\
39,37,32,32,33,36,36,2d,34,35,31,39,38,00,5a,00,00,00,41,32,32,2d,30,30,30,\
30,31,00,00,00,00,00,00,00,00,e5,3f,e9,6a,2c,ed,25,35,12,ec,11,c9,8d,01,00,\
00,00,00,00,37,03,6d,3f,44,22,06,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,31,32,32,32,30,00,00,00,00,00,00,00,dc,0f,\
00,00,bf,4a,94,6c,80,00,00,00,15,18,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,34,79,ca,d7
"LicenseInfo"=hex:71,84,c7,56,a0,d6,10,6e,70,b4,9f,e9,10,1a,1e,7a,01,a4,41,09,\
25,20,0e,80,83,80,1f,31,27,86,64,1f,31,dc,22,af,f7,7d,aa,e4,2a,b9,e5,e3,6c,\
e2,01,69,85,70,91,be,a7,9f,95,e5

=======VBS to connect to the virtual disk while opening the flash menu=======
Set WshShell = ("")
Return =  ("c:\client\New call.exe",0,true)
Return =  ("iscsicli AddTargetPortal 192.168.0.9 3260",0,true)
Return =  ("iscsicli LoginTarget iqn.:00 T * * * * * * * * * * * * * * * 0",0,true)
Set WshShell = Nothing

========Start VBS calls remote batch processing (delay + no black screen running effect) ======
DIM objShell
set objShell=("")
(10000)
iReturn=(" /C \\server\E\", 0, TRUE)

====== Modify the registry for the characters displayed in the IE status bar (Thanks to Lei Feng and ciwzero on the 15th floor) =====

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3]
@=""
"DisplayName"="XX Internet Cafe"

======= Batch processing obtains the IP and MAC addresses of the machine and then binds them (written by zzlike) ======@echo off
for /f "tokens=1* delims=:" %%i in ('ipconfig /all^|find /i "Physical Address"') do set mac=%%j 
for /f "tokens=1* delims=:" %%i in ('ipconfig /all^|find /i "IP Address"') do set ip=%%j 
arp -s %ip:~1% %Mac:~1% 

====== Force refresh of group policy and registry======
xp/2003 command
gpupdate /force
2k command
secedit /refreshpolicy machine_policy /enforce

======= Batch modification of IE homepage (made on Banzhu dseation's post) ======
@reg delete "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /v "Start Page" /f 
@reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /v "Start Page" /d "http://192.168.0.250" /f 

====== Several ways to lift the ban on downloads======
VBS code:
DIM WSH
SET WSH=("")
("The function of this program is to solve the problem that cannot be downloaded")
"HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones03",0,"REG_DWORD"
("Now you can download the program!")
12Next pageRead the full text