您好,登錄后才能下訂單哦!
這篇文章主要講解了“如何編寫注冊表-批處理-VBS之間的功能對應”,文中的講解內容簡單清晰,易于學習與理解,下面請大家跟著小編的思路慢慢深入,一起來研究和學習“如何編寫注冊表-批處理-VBS之間的功能對應”吧!
(綠色是標題,紅色的部分就是需要修改的部分,根據你自己的實際情況修改)
======打開迅閃菜單的同時連接虛擬磁盤的VBS======
Set WshShell = WScript.CreateObject("WScript.Shell")
Return = WshShell.Run ("c:\client\新調用.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調用BAT======
set ws=wscript.createobject("wscript.shell")
ws.run "run.bat /start",0
======修改IE狀態欄顯示字符======
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"="在這里改:"
注:每個人的系統 注冊表位置都是不同的
====== 批處理獲得本機的IP和MAC地址然后進行綁定======
@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%
======強制刷新組策略和注冊表======
xp/2003命令
gpupdate /force
2k命令
secedit /refreshpolicy machine_policy /enforce
====== 批處理修改IE主頁======
@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
======解除禁止下載的幾種方法======
VBS代碼:
DIM WSH
SET WSH=WSCRIPT.CreateObject("WSCRIPT.SHELL")
WSH.POPUP("本程序的作用是解決無法下載的問題")
WSH.Regwrite"HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones03",0,"REG_DWORD"
WSH.POPUP("現在您可以下載程序了!")
JS代碼:
VAR WSHShell=WSCRIPT.CREATOBJEt("WSCRIPT.SHELL");
WSHShell.Popup("本程序解決無法下載的問題,");
WSHShell.RegWrite("HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones03",0,"reg_dword");
INF代碼
[Version]
Signature="$CHICAGO$"
[DefaultInstall]
DelReg=Del
[Del]
HKCU,"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones",1803
====== 屏蔽WIN2003開機彈出的錯誤對話框:在系統啟動時至少有一個服務或驅動程序產生錯誤======
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows]
"NoPopUpsOnBoot"=dword:00000001
======導入注冊表不給任何提示的方法======
http://bbs.txwm.com/dispbbs.asp?boardID=190&ID=385102
======簡單三步,更改序列號解決WINDOWS XP在線升級問題======
1)在〔開始〕→〔執行〕→〔Regedit〕→〔HKEY_LOCAL_MACHINE〕→〔SOFTWARE〕 →〔Microsoft〕→
〔Windows NT〕→〔CurrentVersion〕 在〔WPAEvents〕內將〔OOBETimer〕的頭兩個數值〔FF〕刪除
2)在〔開始〕→〔執行〕→〔oobe/msoobe /a〕進入〔啟動畫面〕→選擇第二項〔電話啟動〕
3)在進入下一個視窗,選擇〔change product key〕來修改序列號及輸入新的序列號,完成后點擊〔update〕進行更新及選〔remind me later〕以后提醒注冊即可。
重新啟動電腦后在〔開始〕→〔執行〕→〔oobe/msoobe /a〕進入〔啟動畫面〕時應該顯示已經啟動
KLV,VOL版用戶可用序列號:
MRX3F-47B9T-2487J-KWKMF-RPWBY(工行版) 可用
QC986-27D34-6M3TY-JJXP9-TBGMD(臺灣交大學生版) 可用
CM3HY-26VYW-6JRYC-X66GX-JVY2D 可用
DP7CM-PD6MC-6BKXT-M8JJ6-RPXGJ 可用
F4297-RCWJP-P482C-YY23Y-XH8W3 可用
HH7VV-6P3G9-82TWK-QKJJ3-MXR96 可用
HCQ9D-TVCWX-X9QRG-J4B2Y-GR2TT 可用
======去除系統面板上的遠程和系統還原選項======
regsvr32 /u remotepg.dll
regsvr32 /u wuaueng.dll
======冒險島刷新率設置成85HZ的注冊表(對玩冒險島黑屏的兄弟有用)======
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wizet\MapleStory]
"ExecPath"="E:\\OnlineGame\\冒險島"
"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面板上點QQ游戲無反映的解決注冊表(一定是做母盤的時候沒有運行過QQ游戲吧?)======
Windows Registry Editor Version 5.00
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Tencent\QQGame\SYS]
"HallDirectory"="e:\\網游平臺\\QQGame\\"
"GameDirectory"="e:\\網游平臺\\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:\\網游平臺\\QQGame\\"
"GameDirectory"="E:\\網游平臺\\QQGame\\"
======運行共享里的EXE不給予提示的方法======
IE--Internet 選項--安全--自定義級別--安全設置--加載應用程序和不安全文件:選擇|啟用|即可
======制作2003系統最重要的步驟:讓2003象XP一樣兼容游戲======
修改boot.ini為:
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows Server 2003, Standard" /NoExecute=alwaysoff /fastdetect
此方法等同于:我的電腦--屬性--高級--性能--設置--數據執行保護,選擇|只為關鍵Windows程序和服務啟用數據執行保護|
======如果你的2003不能在線升級和打補丁,試試這個注冊表======
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之間的功能對應”的內容了,經過本文的學習后,相信大家對如何編寫注冊表-批處理-VBS之間的功能對應這一問題有了更深刻的體會,具體使用情況還需要大家實踐驗證。這里是億速云,小編將為大家推送更多相關知識點的文章,歡迎關注!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。