Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to combine Registry, batch processing and VBS

2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly shows you the "registry, batch processing and VBS how to combine the application", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "registry, batch processing and VBS how to combine the application" of this article.

Do not understand the registry, VBS, batch processing does not matter, as long as you can learn, absorb the essence of others, will find information, | Forum | Baidu | GOOGLE |, and then can use it well, it is very good

Post some collected words and put them here.

= VBS= that connects the virtual disk while opening the flash menu

Set WshShell = WScript.CreateObject ("WScript.Shell")

Return = WshShell.Run ("c:\ client\ new call .exe", 0sparing true)

Return = WshShell.Run ("iscsicli AddTargetPortal 192.168.0.9 3260", 0meme true)

Return = WshShell.Run ("iscsicli LoginTarget iqn.2005-02.com.ricecake.iscsi:00 T * 0", 0meme true)

Set WshShell = Nothing

= boot VBS to call remote batch processing (delay + the effect of running in the background without black screen) =

DIM objShell

Set objShell=wscript.createObject ("wscript.shell")

WScript.Sleep (10000)

IReturn=objShell.Run ("cmd.exe / C\\ server\ E\ 123.bat", 0, TRUE)

= modify the registry of 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"

= the local IP and MAC addresses are obtained by batch processing and then bound (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 the IE home page (from the post of the spotted bamboo dseation) =

@ 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 downloading

VBS Code:

DIM WSH

SET WSH=WSCRIPT.CreateObject ("WSCRIPT.SHELL")

WSH.POPUP ("the purpose 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 program 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

= screen the error dialog box that pops up when WIN2003 boots: at least one service or driver produces an error when the system starts =

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Control\ Windows]

"NoPopUpsOnBoot" = dword:00000001

= the method of importing the registry without giving any hints (original Bailemen Internet Bar) =

Http://bbs.txwm.com/dispbbs.asp?boardID=190&ID=385102

= simple three steps to change the serial number to solve the WINDOWS XP online upgrade problem =

1) in (start) → (execute) → (Regedit) → (HKEY_LOCAL_MACHINE) → (SOFTWARE) → (Microsoft) →

(Windows NT) → (CurrentVersion) deletes the first two values (FF) of (OOBETimer) within (WPAEvents)

2) in (start) → (execute) → (oobe/msoobe / a) enter (startup 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, then click (update) to update and select (remind me later) to remind you to register.

After rebooting the computer, it should show that it has started when → (execute) → (oobe/msoobe / a) enters (boot screen).

Available serial numbers for KLV,VOL users:

MRX3F-47B9T-2487J-KWKMF-RPWBY (ICBC version) is available

QC986-27D34-6M3TY-JJXP9-TBGMD (Taiwan Jiaotong University student version) is available

CM3HY-26VYW-6JRYC-X66GX-JVY2D available

DP7CM-PD6MC-6BKXT-M8JJ6-RPXGJ available

F4297-RCWJP-P482C-YY23Y-XH8W3 available

HH7VV-6P3G9-82TWK-QKJJ3-MXR96 is 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 is set to 85HZ registry (useful for brothers who play 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

= click QQ Game's unreflected solution on the QQ panel to solve the registry (it must be that QQ Game did not run when doing the master disk, right? ) =

Windows Registry Editor Version 5.00

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\ Software\ Tencent\ QQGame\ SYS]

"HallDirectory" = "e:\\ online gaming platform\ QQGame\"

"GameDirectory" = "e:\\ online gaming 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 gaming platform\\ QQGame\"

"GameDirectory" = "E:\\ online gaming platform\\ QQGame\"

= unprompted method to run the EXE in the share =

IE--Internet options-Security-Custom level-Security Settings-load applications and unsafe files: select | enable |

= the most important step in making a 2003 system: make 2003 compatible with games like XP

Modify the 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 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,\

397, 37, 32, 32, 33, 36, 3, 3, 3,.

30pens 31pr 00pr 00pr 00pr 00je 5pr 3frech e9pl 6apr 2c pr orgy 25pr 35pr 12pr e 9pr 8dpr 01pr 00,\

00beats, 00beats, 00beats, 37pencils, 37pencils, 03pics, 6dpyrs, 4fpjs, 4pyrs, 22pyrs, 06pyrs, 00pens, 00pens, 00pens, 00pens, 00pens, 00pens, 00pens, 00pens, 00pens, 00pyrs, 00pens, 00pyrs, 00pyrs.

00beats, 32pencils, 32pencils, 30pens, 00beats, 00beats, 00pencils, 00pencils, 00beats, 0f,\

00pr 00pr bfpjr 4a pr 94 pr 6c 80pr 00pr 00pr 00pr 15pr 18pr 00pr 00pr 00pr 0000pr 00pr 00pr 00pr 00c

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, 80, 80, 83, 80, 8, 8, 1, 8, 1, 1, 1, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 2, 4, 6, 6, 2, 4, 4, 6, 6, 2, 2, 4, 6, 4, 6, 4, 6, 6, 2, 2, 6, 4, 6, 4, 2, 4, 4, 6, 4, 1, 4, 6, 4, 6, 4, 6, 4, 6, 4, 6, 4, 1, 4, 6, 4, 6, 4, 1, 4, 6, 4, 1, 4,

E2,01,69,85,70,91,be,a7,9f,95,e5

= VBS= that connects the virtual disk while opening the flash menu

Set WshShell = WScript.CreateObject ("WScript.Shell")

Return = WshShell.Run ("c:\ client\ new call .exe", 0sparing true)

Return = WshShell.Run ("iscsicli AddTargetPortal 192.168.0.9 3260", 0meme true)

Return = WshShell.Run ("iscsicli LoginTarget iqn.2005-02.com.ricecake.iscsi:00 T * 0", 0meme true)

Set WshShell = Nothing

= boot VBS to call remote batch processing (delay + the effect of running in the background without black screen) =

DIM objShell

Set objShell=wscript.createObject ("wscript.shell")

WScript.Sleep (10000)

IReturn=objShell.Run ("cmd.exe / C\\ server\ E\ 123.bat", 0, TRUE)

= modify the registry of 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"

= the local IP and MAC addresses are obtained by batch processing and then bound (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 the IE home page (from the post of the spotted bamboo dseation) =

@ 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 downloading

VBS Code:

DIM WSH

SET WSH=WSCRIPT.CreateObject ("WSCRIPT.SHELL")

WSH.POPUP ("the purpose 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!")

The above is all the contents of the article "how to combine Registry, batch processing and VBS". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report