Your device will be assigned to Company ...message

NGPIT
NGPIT Posts: 6

I deploy a teamviewer host client , but have assignment message need to acept by manual, can I automatic allow this ?

Best Answers

  • JeanK
    JeanK Posts: 7,073 Community Manager 🌍
    Answer ✓

    Hello @NGPIT and a big welcome to the TeamViewer Community family!

    We recommend following our Mass deployment on Windows - User guide.

    In step 9, you'll find the command line we recommend using:

    start /wait MSIEXEC.EXE /i "PATH_TO_MSI_FILE\TeamViewer_Host.msi" /qn CUSTOMCONFIGID=YOUR_CUSTOM_CONFIG_ID
    timeout /t 30 /nobreak
    "C:\Program Files (x86)\TeamViewer\TeamViewer.exe" assignment --id YOUR_ASSIGNMENT_ID
    

    The /qn parameter will ensure that no assignment confirmation message will pop up.

    Let me know if this has worked for you!

    /JeanK

    Community Manager

  • JeanK
    JeanK Posts: 7,073 Community Manager 🌍
    Answer ✓

    Hi @NGPIT,

    Sorry, we didn't clarify this in the first place.

    Indeed, deployment capabilities are only available for Corporate license holders.

    Correct, in this scenario, the .exe cannot be used.

    We thank you in advance for your understanding.

    /JeanK

    Community Manager

«1

Answers

  • JeanK
    JeanK Posts: 7,073 Community Manager 🌍
    Answer ✓

    Hello @NGPIT and a big welcome to the TeamViewer Community family!

    We recommend following our Mass deployment on Windows - User guide.

    In step 9, you'll find the command line we recommend using:

    start /wait MSIEXEC.EXE /i "PATH_TO_MSI_FILE\TeamViewer_Host.msi" /qn CUSTOMCONFIGID=YOUR_CUSTOM_CONFIG_ID
    timeout /t 30 /nobreak
    "C:\Program Files (x86)\TeamViewer\TeamViewer.exe" assignment --id YOUR_ASSIGNMENT_ID
    

    The /qn parameter will ensure that no assignment confirmation message will pop up.

    Let me know if this has worked for you!

    /JeanK

    Community Manager

  • I have same question.

    When run this command "C:\Program Files (x86)\TeamViewer\TeamViewer.exe" assignment --id YOUR_ASSIGNMENT_ID
    

    there is a popup windows that prompts to Allow and Finish or Cancel.

    Looking for option to not show that window and to Allow assignment.

  • JeanK
    JeanK Posts: 7,073 Community Manager 🌍

    Hi @Kplatte, hi @NGPIT,

    Exactly - and this is expected, as your command line does not contain "/qn".

    To make sure no window pops up, you must use the /qn parameter in your command line, as in the example I shared:

    start /wait MSIEXEC.EXE /i "PATH_TO_MSI_FILE\TeamViewer_Host.msi" /qn CUSTOMCONFIGID=YOUR_CUSTOM_CONFIG_ID
    timeout /t 30 /nobreak
    "C:\Program Files (x86)\TeamViewer\TeamViewer.exe" assignment --id YOUR_ASSIGNMENT_ID
    

    Let me know if it worked with a command line including /qn.

    /JeanK

    Community Manager

  • NGPIT
    NGPIT Posts: 6

    Hello @JeanK

    It seems that my authorization only allows installation using an executable (exe) file. If that's the case, is there any other way?

  • JeanK
    JeanK Posts: 7,073 Community Manager 🌍
    edited January 2024

    Hi @NGPIT,

    The silent installation should also be possible with the .msi file.

    What are you observing? Could you describe what is not working as expected?

    /JeanK

    Community Manager

  • NGPIT
    NGPIT Posts: 6


    During the silent installation with the command TeamViewer_Host_Setup.exe /S /norestart, a popup window asks to "allow" or "cancel" remote management on the first launch. If ignored or "cancel" is chosen, the computer won't show up in the admin console. Is there a way to auto-allow this setting and skip the popup?

  • JeanK
    JeanK Posts: 7,073 Community Manager 🌍

    Hi @NGPIT ,

    Thanks for reaching out!

    To install TeamViewer Host silently (with no manual confirmation), you must put /qn in your command line.

    Could you give it a try and let us know if it worked?

    All the best,

    /JeanK

    Community Manager

  • NGPIT
    NGPIT Posts: 6

    Hello,

    My license is "Premium," which appears to require a "Corporate" level license or higher for "MSI" deployment capabilities. Does this mean that "EXE" cannot be used?

  • JeanK
    JeanK Posts: 7,073 Community Manager 🌍
    Answer ✓

    Hi @NGPIT,

    Sorry, we didn't clarify this in the first place.

    Indeed, deployment capabilities are only available for Corporate license holders.

    Correct, in this scenario, the .exe cannot be used.

    We thank you in advance for your understanding.

    /JeanK

    Community Manager

  • Hi @JeanK,

    we have the same issue. We actually use the /qn parameter as seen in this screenshot:

    We are still getting the same question that @NGPIT showed in his screenshot.

    Our license is Tensor Basic, so we have the actual license requirements. How do we fix this? We want to be able to roll out the host and apply customizations and policies during the rollout.

  • JeanK
    JeanK Posts: 7,073 Community Manager 🌍

    Hi @elbcloud_casi,

    I had a chat with our engineers, and I'm pretty sure I found the issue.

    You need to go to your module via Design & Deploy and make sure that the toggle Use Managed Group Assignment is unticked.

    Click Save to apply the change.

    Then, try again; no pop-up should be shown after the installation.

    Let me know if this has worked for you!

    /JeanK

    Community Manager

  • Hi @JeanK thank you for checking.

    Unfortunately, this is not the fix we need. If we disable the managed group assignments, this has other negative implications.

    Is it planned to have a way to silently roll out the TV Host without getting the prompt, like the old way?

    Best regards,

    Carsten

  • JeanK
    JeanK Posts: 7,073 Community Manager 🌍

    Hi @elbcloud_casi,

    With the process we described in Mass deployment on Windows - Overview, there shouldn't be any negative implications.

    If so, would you tell us which negative implications exactly you mean?

    /JeanK

    Community Manager

  • Hi @JeanK,

    thank you. The issue is, that the Computers get created in Groups that afterwards need to be updated as mentioned in the Admin Portal.

    Also, we need to manually manage permissions for every group that is created by manually adding agents with the corresponding permissions. Using managed group assignments, we have none of these pains, but the initially mentioned account assignment pop-up.

  • JeanK
    JeanK Posts: 7,073 Community Manager 🌍

    Hi @elbcloud_casi,

    This is correct; after the deployment, you need to go through the device groups and set/adjust the permissions for every group.

    There is currently no other option or workaround we can offer.

    Regarding the pop-up, I'd recommend opening a support ticket. Our engineers might take a look at it. 🙂

    /JeanK

    Community Manager

  • The "use managed group assignment" toggle (per your screenshot) only exists for the old custom module accessible via the old web Management Console. It does not exist in the new custom module interface accessible via the new web Management Portal. This has been an issue for a very long time.

  • JeanK
    JeanK Posts: 7,073 Community Manager 🌍
    edited February 2024

    @wsucppsits You don't need this toggle in the new web app https://web.teamviewer.com/.

    You can define the assignments via the rollout configuration, as explained here:

    📄 Create a rollout configuration - 6/10

    Let me know if you have any further questions! I'll be happy to assist.

    /JeanK

    Community Manager

  • lbunnell
    lbunnell Posts: 1

    This is the command we are using:

    start /wait MSIEXEC.EXE /i "Teamviewer_Host.msi" /qn CUSTOMCONFIGID=xxxxxx


    It does have the /qn flag and we are getting the end user pop-up to "Allow and Finish or Cancel" when deploying.

    I have checked the custom module and there are no settings for group assignment to untick.

  • JeanK
    JeanK Posts: 7,073 Community Manager 🌍

    Hi all,

    I've talked with our engineers and come back with (hopefully) the solution. 🙂

    When using the new interface and deploying TeamViewer via script, the rollout configuration in the module's settings must be set to None.

    Please give it a try. You shouldn't see the pop-up; the installation should occur without user interaction.

    Looking forward to hearing from you.

    /JeanK

    Community Manager

  • BHDM
    BHDM Posts: 1


    We are facing the same issue and cannot find your additional configuration / select the Rollout configuration / 'None'.

  • nick1992
    nick1992 Posts: 2

    If you use Intune and use the command /qn CUSTOMCONFIGID=xxxxxx you would get the pop-up message and be required to accept it.

    It would be nice if you could assign it with just the assignment ID after the customconfig.

    Like; /qn CUSTOMCONFIGID=YOUR_CUSTOM_CONFIG_ID  assignment --id YOUR_ASSIGNMENT_ID

  • FlorianO93
    FlorianO93 Posts: 11
    edited May 2024

    Dear TeamViewer Support Team,

    I want to deploy the TeamViewer Host for unattended remote support on my Microsoft Teams Room systems (Windows 11) via Microsoft Intune.

    The installation should be completely automatic on the device level without any subsequent intervention. After the installation, the device should be assigned to a TeamViewer device group so that authorized users can easily connect to the device.

    I have created the script installation via Intune as described in the instructions. The .bat file executes the following during installation:

    start /wait MSIEXEC.EXE /i "%~dp0\TeamViewer_Host.msi" /qn CUSTOMCONFIGID=*****
    timeout /t 30 /nobreak
    "C:\Program Files\TeamViewer\TeamViewer.exe" assignment --id **************
    
    

    The software installs without any issues, but after the installation, it is still necessary to start/open the Host once and confirm the assignment. Only then does the device appear in the TeamViewer device management group. Since the devices are distributed and not on-site, someone always has to be there.

    What is the solution to make everything run automatically so that I don't have to touch the device after installation and can simply access the device through the device group it is assigned to? Please support.

  • Greetings to everyone.
    First of all, I must say that this situation is very frustrating. The lack of correct documentation and non-reliable silent mass deployment process is unacceptable.

    I was able to install a custom module host successfully silently and decided to share the info with you. Probably it is noteworthy that I have a "Commercial" license and installing for Windows. Here are my actions:

    • in the "modern" admin panel I created a rollout configuration;
    • then I created a custom module - TV Host and set the roll-out setup to "None" (without it, the assignment confirmation window pops up after installation);
    • started custom module .exe file with flag /S;
    • after installation, I assign TeamViewer Host with "path_to_TV.exe" assignment --id _myid_

      so the complete script looks like this:
    "TeamViewer_Host_Setup NO ROLLOUT.exe" /S
    timeout /t 20 /nobreak
    "C:\Program Files (x86)\TeamViewer\TeamViewer.exe" assignment --id _myid_
  • FlorianO93
    FlorianO93 Posts: 11
    edited June 2024

    @Mykyta_Makovetskyi

    Thank you for your answer. ☺️

    I have one question:
    Did you really just name the TeamViewerHost.exe file “”TeamViewer_Host_Setup NO ROLLOUT.exe” and run it? Is the naming of the EXE file really important? I would have expected it to be in an installation parameter?

    I would have distributed the application with the .MSI packages and the link to the custom module. Is that not possible or where is the problem? the .MSI or the custom module?

  • I believe the file name doesn't matter.

    When installing with the given .MSI package I had some issues, though now can't remember what exactly. Also, I think .MSI was installing outdated TeamViewer so I suppose it's outdated.

  • FlorianO93
    FlorianO93 Posts: 11

    @Mykyta_Makovetskyi

    So the script you shared doesn't work for me. The installation doesn't even run silently and I have to press everything.

    My goal is that the installation and the assignment of the rollout configuration runs completely automatically and the device is then simply in the TeamViewer device list.

  • Yeah, silent installation and assignment are everyone's goals here)) And it's justifiable for such a product I think.

    Ok, to clarify: yes, my custom module TV Host installer is renamed to "TeamViewer_Host_Setup NO ROLLOUT.exe" and is located in the same folder as my script. I did check this approach on two computers and it seems to work.

  • FlorianO93
    FlorianO93 Posts: 11

    The following solution has now worked completely for me and I have adopted it in my Intune installation routine.
    The installation is carried out via a PowerShell script:

    Set variable for the TeamViewer Host install

    $TeamViewerHost = ".\TeamViewer_Host.msi"
    $TeamViewerCustomConfigID = "XXXXXX"
    $TeamViewerAssignmentID = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

    Install TeamViewer Host

    Write-Output "Installing TeamViewer Host..."
    #Start-Process -FilePath "msiexec.exe" -ArgumentList "/i "$TeamViewerHost" /quiet /norestart" -Wait -NoNewWindow

    Start-Process -FilePath "msiexec.exe" -ArgumentList "/i "$TeamViewerHost" /quiet /norestart CUSTOMCONFIGID=$TeamViewerCustomConfigID" -Wait -NoNewWindow

    Insert a short waiting time to ensure that the installation is complete
    Write-Output "Wait 30 seconds to ensure that the installation is complete."
    Start-Sleep -Seconds 30
    Check whether TeamViewer is installed

    if (Test-Path "$env:ProgramFiles\TeamViewer\TeamViewer.exe") {
    Write-Output "TeamViewer installed successfully."

    # TeamViewer rollout configuration
    Write-Output "Configuring TeamViewer Host with Config ID: $TeamViewerAssignmentID"

    Start-Process "$env:ProgramFiles\TeamViewer\TeamViewer.exe" -ArgumentList "assignment --id $TeamViewerAssignmentID" -Wait -NoNewWindow
    Write-Output "TeamViewer Host configuration successfull."

    } else {

    Write-Output "TeamViewer Host configuration  failed."
    

    }