本帖最后由 temp2005 于 2020-4-6 21:36 编辑
按这篇教程(http://www.cfan.com.cn/2014/1128/113616.shtml)操作,用ghostexp修改了一个win10 64位的镜像文件,已实现了开机后能自动延时一分钟启动teamviewer了,但有几个问题还没解决,特来求助:
1。延时一分钟启动那个提示框如何隐藏
2。怎么写注册表,以实现默认启用“网络发现”
3。teamviwer选择的是安装版,安装后将整个文件夹复制到镜像文件program files文件夹,但首次运行时会弹出teamviewer网站首页及默认禁用提示,如何消除?ps:teamviewer弹网站首页可能是版本的原因(teamviewertest.7z:https://www.lanzous.com/iasig9g),若有好的版本,也请推荐一个。
附上批处理teamviewer.bat和注册表文件firewall.reg,哪位帮修改下,不胜感谢!
这二个文件放在镜像里的C盘根目录,修改了software注册表(添加teamviewer.bat到开始启动项),
teamviewer安装文件夹放在c:\programfiles文件夹下
以下是teamviewer.bat文件的内容:
regedit.exe /s "C:\firewall.reg"
@echo off
echo %time%
ping /n 60 127.1 >nul
echo %time%
"C:\Program Files\TeamViewer\TeamViewer.exe" --control "%1"
@echo off
以下是firewall.reg文件的内容:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile]
"DisableNotifications"=dword:00000000
"EnableFirewall"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\Logging]
"LogDroppedPackets"=dword:00000000
"LogFilePath"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,\
00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
4c,00,6f,00,67,00,46,00,69,00,6c,00,65,00,73,00,5c,00,46,00,69,00,72,00,65,\
00,77,00,61,00,6c,00,6c,00,5c,00,70,00,66,00,69,00,72,00,65,00,77,00,61,00,\
6c,00,6c,00,2e,00,6c,00,6f,00,67,00,00,00
"LogFileSize"=dword:00001000
"LogSuccessfulConnections"=dword:00000000
这二个文件放在附件teamviewer.rar里了。
|