您的位置: 博乐信息网 > 娱乐

windows通過腳本文件添加站點的方法

发布时间:2019-11-08 21:56:08

我们公司新上线了一个OA系统,需要设置信任站点以及Active加载项才可以正常浏览访问如果在沒有域環境或者有很多分公司,那么通過腳本的方法,讓客戶端下載后,雙擊運行便可以設置成功这样的方式将大大提高用户的体验满意度和我们的工作效率将文本复制后保存,设置为bat文件,修改相应所需的站名称即可嘿嘿,很简单吧!

脚本如下:

@echo off

reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionInternet /va /f

reg add HKCUSoftwareMicrosoftWindowsCurrentVersionInternet

reg add HKCUSoftwareMicrosoftWindowsCurrentVersionInternet /v * /t REG_DWORD /d 2

reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionInternet SettingsZoneMapRangesRange101 /a /f

reg add HKCUSoftwareMicrosoftWindowsCurrentVersionInternet SettingsZoneMapRangesRange101

reg add HKCUSoftwareMicrosoftWindowsCurrentVersionInternet SettingsZoneMapRangesRange101 /a *

reg add HKCUSoftwareMicrosoftWindowsCurrentVersionInternet SettingsZoneMapRangesRange101 /a :Range /t REG_SZ /d 192.168.1.238

------

reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionInternet /va /f

reg add HKCUSoftwareMicrosoftWindowsCurrentVersionInternet

reg add HKCUSoftwareMicrosoftWindowsCurrentVersionInternet

reg delete HKCUSoftwareMicrosoftWindowsCurrentVersionInternet SettingsZoneMapEscRangesRange101 /a /f

reg add HKCUSoftwareMicrosoftWindowsCurrentVersionInternet SettingsZoneMapEscRangesRange101

reg add HKCUSoftwareMicrosoftWindowsCurrentVersionInternet SettingsZoneMapEscRangesRange101 /v * REG_DWORD /d 2

reg add HKCUSoftwareMicrosoftWindowsCurrentVersionInternet SettingsZoneMapEscRangesRange101 /v :Range /t REG_SZ /d 192.168.1.238

reg add HKEY_FAULTSoftwareMicrosoftInternet ExplorerMain Start Page /d /f NUL

reg add HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerMain Start Page /d /f NUL

reg add HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon /v DisableCAD /t REG_DWORD /d NUL

reg add HKCUSoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones2 /v 1004 /t REG_DWORD /d 0 /f

reg add HKCUSoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones2 /v 1201 /t REG_DWORD /d 0 /f

reg add HKCUSoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones2 /v 1402 /t REG_DWORD /d 0 /f

reg add HKCUSoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones2 /v 2201 /t REG_DWORD /d 0 /f

reg add HKCUSoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones2 /v 1001 /t REG_DWORD /d 0 /f

reg add HKCUSoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones2 /v 1405 /t REG_DWORD /d 0 /f

PAUSE

以上是windows通过脚本文件添加站点咯!

生物谷药业
远大医药立可安可以治腹泻吗
肠道感染吃立可安见效快吗
猜你会喜欢的
猜你会喜欢的