Registry-The function of the batch-vbs corresponds _vbs

Source: Internet
Author: User
( Greenis the title, BlueIs the original author, RedPart is the part that needs to be modified, according to your own actual situation modification.

= = = = = = = vbs====== to connect virtual disks while opening the Flash menu
Set WshShell = WScript.CreateObject ("Wscript.Shell")
return = Wshshell.run ("c:\client\ new call. 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 Call bat======
Set Ws=wscript.createobject ("Wscript.Shell")
Ws.run "run.bat /start", 0

= = = = = Change IE status bar display characters (thank Lei Feng's comrade ) = = = =
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 here :"
Note: Each person's system registry location is different

The batch process obtains the IP and MAC address of the native computer and binds 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 Refresh Group Policy and Registry = = =
xp/2003 command
Gpupdate/force
2k command
Secedit/refreshpolicy Machine_policy/enforce

= = = Batch modification IE home page (moderator dseation of the 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 remove prohibited downloads = = = = = = =
VBS CODE:
DIM WSH
SET Wsh=wscript. CreateObject ("WSCRIPT.") SHELL ")
WSH. POPUP ("The role of this program is to solve problems that cannot be downloaded")
WSH. RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\zones03", 0, "REG_DWORD"
WSH. POPUP ("Now you can download the program!")

JS Code:
VAR Wshshell=wscript. Creatobjet ("WSCRIPT.") SHELL ");
Wshshell.popup ("This procedure solves the problem that 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

= = = = = = = = = = = = = WIN2003 Boot pop-up error dialog box: At least one service or driver at system startup produces error = =
Windows Registry Editor Version 5.00
[Hkey_local_machine\system\currentcontrolset\control\windows]
"Nopopupsonboot" =dword:00000001

= = = = = Import the registry does not give you any hint of the method ( hundred Lok Door Internet café original) = = =
http://bbs.txwm.com/dispbbs.asp?boardID=190&ID=385102

= = = = Simple three steps, change serial number solve Windows XP online upgrade problem = =
1) in (Start)→(execution)→(regedit)→(hkey_local_machine)→(software)→(microsoft)→
(windows Nt)→(currentversion) Delete (oobetimer) 's first two values in (wpaevents)
2 in (Start)→(execute)→(oobe/msoobe/a) Enter (splash 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, after the completion of the click (update) to update and select (remind me later) after the registration can be reminded.
When you restart your computer, you should show that you have started when you start)→(perform)→(oobe/msoobe/a) entry (splash 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 on system panel = = = = = = = = = =
Regsvr32/u Remotepg.dll
regsvr32/u Wuaueng.dll

= = = = = Adventure Island Refresh rate set to 85HZ registry (useful for playing adventure Island black Screen Brothers)
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 on the point of QQ Game no reflection of the resolution registry (must be the mother of the time did not run the QQ game it?) ) = = = =
Windows Registry Editor Version 5.00

Windows Registry Editor Version 5.00
[Hkey_current_user\software\tencent\qqgame\sys]
"Halldirectory" = "e:\\ game platform \\QQGame\\"

"Gamedirectory" = "e:\\ 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:\\ game platform \\QQGame\\"

"Gamedirectory" = "e:\\ game platform \\QQGame\\"

= = = = = = = = = = = = = = = = = Run Share exe
Ie--internet option--security--Custom level--security settings--loading applications and unsafe files: Select | enable |

The most important step in making the 2003 system is to make 2003 compatible with the game, 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 for critical Windows programs and services only |

= = = If your 2003 can't be upgraded and patched online, try this registration form = =
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.