Functional correspondence between registry batch vbs


(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 3260“,0,true)
Return = WshShell.Run (“iscsicli LoginTarget T * * * * * * * * * * * * * * * 0″,0,true)
Set WshShell = Nothing

======VBS calls bat======
set ws=wscript.createobject(“”) “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 /f

======Several methods of lifting the ban on downloading======
VBS Code:
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:
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
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

======How to import the registry without any prompt(Bailemen Internet bar(original)======

======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

“ExecPath”=”E: \ \ onlinegame \ \ Adventure Island

======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
“HallDirectory”=”e: \ \ online game platform\\QQGame\\

“GameDirectory”=”e: \ \ online game platform\\QQGame\\






“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 NT\CurrentVersion]
“CurrentBuild”=”1.511.1 () (Obsolete data – do not use)”
“ProductName”=”Microsoft Windows Server 2003”
“CurrentType”=”Uniprocessor Free”

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 […]