(绿色是标题, 蓝色的是原作者,红色的部分就是需要修改的部分,根据你自己的实际情况修改) ======打开迅闪菜单的同时连接虚拟磁盘的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地址然后进行绑定(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% ======强制刷新组策略和注册表====== xp/2003命令 gpupdate /force 2k命令 secedit /refreshpolicy machine_policy /enforce ====== 批处理修改IE主页(斑竹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 ======解除禁止下载的几种方法====== 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〕进入〔启动画面〕时应 |