【问题标题】:How to configure TeamViewerQS skipping the EULA-Prompt?如何配置 TeamViewerQS 跳过 EULA 提示?
【发布时间】:2022-07-21 16:13:22
【问题描述】:

我一直在寻找一个选项,以不提示用户接受 EULA 或显示任何其他令人分心的提示的方式打包适用于 Windows 的 TeamViewerQS。解决方案如下。

【问题讨论】:

    标签: powershell package teamviewer


    【解决方案1】:

    此处是 Powershell 示例,用于在 TeamViewerQS 开始/结束期间禁用任何提示。每个 REG 条目用于不同版本的工具:

    # prepare registry for startup:
    $reg = "HKCU:\\Software\TeamViewer"
    if (!(Test-Path $reg)) {New-Item -Path $reg -Force -ea 0}
    $null = New-ItemProperty -Path $reg -Name 'TeamViewerTermsOfUseAcceptedQS' -PropertyType 'DWord' -Value 1 -Force -ea 0
    $null = New-ItemProperty -Path $reg -Name 'EulaByUserAccepted_QS' -PropertyType 'DWord' -Value 1 -Force -ea 0
    $null = New-ItemProperty -Path $reg -Name 'IntroShown' -PropertyType 'DWord' -Value 1 -Force -ea 0
    
    # disable exit-popup for v11:
    $hta  = "$env:temp\TeamViewer\TeamViewer11_Exit.hta"
    $null = New-Item -Path $hta -Force -ea 0
    $null = Set-ItemProperty -Path $hta -Name IsReadOnly -Value $true
    

    包装愉快!这是一个很棒的工具!

    【讨论】:

      猜你喜欢
      • 2021-06-12
      • 2013-03-18
      • 1970-01-01
      • 1970-01-01
      • 2017-06-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-07-17
      相关资源
      最近更新 更多