Registry-Combined application of batch processing-vbs 1th/2 page _vbs

Source: Internet
Author: User
Tags sleep gpupdate
Do not understand the registry, VBS, batch processing does not matter, as long as you will learn, will absorb the essence of others, will find information, | forum | baidu | google|, then you can use it, and it's very good.

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

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

= = = Boot VBS calls Remote batch (delay + no black screen background) = =
DIM Objshell
Set Objshell=wscript.createobject ("Wscript.Shell")
Wscript.Sleep (10000)
Ireturn=objshell.run ("cmd.exe/c \\server\E\123.bat", 0, TRUE)

= = = = = = = Modify IE status bar display character registration form (thank Lei Feng Comrades and the 15 floor ciwzero) = =

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3]
@=""
"DisplayName" = "xx internet bar"


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 addresses ') 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 (owner Dseation on 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"/"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 Registry without any hint (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

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

= = = Boot VBS calls Remote batch (delay + no black screen background) = =
DIM Objshell
Set Objshell=wscript.createobject ("Wscript.Shell")
Wscript.Sleep (10000)
Ireturn=objshell.run ("cmd.exe/c \\server\E\123.bat", 0, TRUE)

= = = = = = = Modify IE status bar display character registration form (thank Lei Feng Comrades and the 15 floor ciwzero) = =

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3]
@=""
"DisplayName" = "xx internet bar"


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 addresses ') 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 (owner Dseation on 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"/"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!")
Current 1/2 page 12 Next read the full text

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.