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 write functional correspondence between Registry, batch processing and VBS

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article mainly explains "how to write the registry-batch-VBS functional correspondence", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in-depth, together to study and learn "how to write the registry-batch-VBS functional correspondence" bar!

(green is the title, and the red part is the part that needs to be modified, according to your own actual situation.)

= 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

= VBS calls BAT=

Set ws=wscript.createobject ("wscript.shell")

Ws.run "run.bat / start", 0

= modify IE status bar display characters =

Windows Registry Editor Version 5.00

[HKEY_USERS\ Smur1-5-21-3147755141-2891882166-3736054027-1003\ Software\ Microsoft\ Windows\ CurrentVersion\ Internet Settings\ Zones\ 3]

@ = ""

"DisplayName" = "change here:"

Note: everyone's system registry location is different.

= obtain the native IP and MAC addresses in batch and bind them

@ 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 modify IE home page =

@ 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

= method that imports the registry without giving any prompt =

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

Thank you for your reading, the above is "how to write the registry-batch-VBS function correspondence" content, after the study of this article, I believe you on how to prepare the registry-batch-VBS function corresponding to this problem has a more profound experience, the specific use of the need for you to practice verification. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

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