Functional correspondence between registry batch vbs

Time:2021-7-23

(greenIt’s the title,blueIt’s the original author,gulesThe part that needs to be modified is the part that needs to be modified according to your own actual situation.)

======Open the flash menu and connect the VBS of the virtual disk at the same time======
Set WshShell = WScript.CreateObject(“WScript.Shell”)
Return = WshShell.Run (“c: New call to.exe“,0,true)
Return = WshShell.Run (“iscsicli AddTargetPortal 192.168.0.9 3260“,0,true)
Return = WshShell.Run (“iscsicli LoginTarget iqn.2005-02.com.ricecake.iscsi:00 T * * * * * * * * * * * * * * * 0″,0,true)
Set WshShell = Nothing

======VBS calls bat======
set ws=wscript.createobject(“wscript.shell”)
ws.run “run.bat /start”,0

======Modify the characters displayed in IE status bar(thanks)Lei Feng’s comrades in arms)======
Windows Registry Editor Version 5.00
[HKEY_USERS\S-1-5-21-3147755141-2891882166-3736054027-1003\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3]
@=””
“DisplayName”=”Change it here:”
Note: everyone’s system registry location is different

======Batch processing to obtain the local IP and MAC address, and then binding(zzlike (written)======
@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 group policy and registry refresh======
XP / 2003 command
gpupdate /force
2K command
secedit /refreshpolicy machine_policy /enforce

======Batch modify IE home pagedseationI got it from my 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 methods of lifting the ban on downloading======
VBS Code:
DIM WSH
SET WSH=WSCRIPT.CreateObject(“WSCRIPT.SHELL”)
Wsh.popup (“the purpose of this program is to solve the problem that cannot be downloaded”)
WSH.Regwrite”HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones03″,0,”REG_DWORD”
WSH. Pop (“now you can download the program!”)

JS code:
VAR WSHShell=WSCRIPT.CREATOBJEt(“WSCRIPT.SHELL”);
WSHShell. Pop up (“this program solves the problem that it cannot be downloaded,”);
WSHShell.RegWrite(“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

======Screen the error dialog box pop up when Win2003 starts up: at least one service or driver has an error when the system starts up======
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows]
“NoPopUpsOnBoot”=dword:00000001

======How to import the registry without any prompt(Bailemen Internet bar(original)======
http://bbs.txwm.com/dispbbs.asp?boardID=190&ID=385102

======Simple three steps, change the serial number to solve the problem of Windows XP online upgrade======
1) At [start] → [execute] → [regedit] → [HKEY]_ LOCAL_ MACHINE〕→〔SOFTWARE〕 →〔Microsoft〕→
[Windows NT] → [CurrentVersion] delete the first two values [FF] of [oobetimer] in [wpaevents]
2) In [start] → [execute] → [OOBE / msoobe / a], enter [start screen] → select the second item [phone start]
3) In the next window, select [change product key] to modify the serial number and enter a new serial number. When finished, click [update] to update and select [remind me later] to remind you to register.
After restarting the computer, it should be displayed that it has been started when [start] → [execute] → [OOBE / msoobe / a] enters [startup screen]
Klv, Vol version user available serial number:
Mrx3f-47b9t-2487j-kwkmf-rpwby (ICBC version) available
Qc986-27d34-6m3ty-jjxp9-tbgmd (Taiwan 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 from the system panel======
regsvr32 /u remotepg.dll
regsvr32 /u wuaueng.dll

======Adventure Island refresh rate set to 85Hz Registry (useful for brother playing adventure island black screen)======
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wizet\MapleStory]
“ExecPath”=”E: \ \ onlinegame \ \ Adventure Island
“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

======QQ panel point QQ game does not reflect the solution to the registry (must be done when the motherboard did not run the QQ game?)======
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\\

======How to run exe in share without prompt======
Ie — Internet Options — Security — custom level — security settings — loading application programs and unsafe files: select | enable | to do so

======The most important step of making 2003 system: making 2003 compatible with games like XP======
Modify boot.ini 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 you can’t upgrade and patch your 2003 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

Recommended Today

VBS obtains the operating system and its version number

VBS obtains the operating system and its version number ? 1 2 3 4 5 6 7 8 9 10 11 12 ‘************************************** ‘*by r05e ‘* operating system and its version number ‘************************************** strComputer = “.” Set objWMIService = GetObject(“winmgmts:” _  & “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2”) Set colOperatingSystems = objWMIService.ExecQuery _  (“Select * from […]