Persistent or auto-start teams meeting for unattended monitor

%3CLINGO-SUB%20id%3D%22lingo-sub-786219%22%20slang%3D%22en-US%22%3EPersistent%20or%20auto-start%20teams%20meeting%20for%20unattended%20monitor%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-786219%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20have%20a%20computer%2Fmonitor%20in%20the%20office%20persistently%20hosting%20a%20meeting%20which%20allows%20remote%20employee's%20to%26nbsp%3B%3CSPAN%3Ejoin%2Fleave%20at-will%20and%20share%20their%20cameras.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20local%20computer%20is%20unattended%20and%20needs%20to%20be%20able%20to%20start%2Frestart%2Fjoin%2Frejoin%20the%20meeting%20without%20local%20intervention.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20question%20is%20how%20do%20we%20configure%20the%20local%20computer%20to%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1.%20Automatically%20join%20a%20daily%20scheduled%20meeting%20in%20the%20morning%20at%20start%20of%20the%20work%20day%3C%2FP%3E%3CP%3EOR%20(if%20that%20can't%20be%20done)%3C%2FP%3E%3CP%3E2.%20Never%20leave%20a%20meeting%20that%20runs%20forever%20and%20automatically%20re-join%20if%20it%20drops%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-786219%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-792638%22%20slang%3D%22en-US%22%3ERe%3A%20Persistent%20or%20auto-start%20teams%20meeting%20for%20unattended%20monitor%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-792638%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENo%20native%20way%20that%20I%20know%20about%20but%20maybe%20you%20could%20use%20AutoIt%20or%20similar%20software%20to%20automated%20click%20on%20join%20every%20morning.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%2FLinus%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1131643%22%20slang%3D%22en-US%22%3ERe%3A%20Persistent%20or%20auto-start%20teams%20meeting%20for%20unattended%20monitor%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1131643%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F386530%22%20target%3D%22_blank%22%3E%40Eli_Taylor%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20do%20the%20same.%20Did%20you%20find%20a%20suitable%20solution%20for%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1132264%22%20slang%3D%22en-US%22%3ERe%3A%20Persistent%20or%20auto-start%20teams%20meeting%20for%20unattended%20monitor%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1132264%22%20slang%3D%22en-US%22%3E%3CP%3EAlso%20keen%20to%20implement%20this%20if%20someone%20finds%20a%20way!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1132268%22%20slang%3D%22en-US%22%3ERe%3A%20Persistent%20or%20auto-start%20teams%20meeting%20for%20unattended%20monitor%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1132268%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F490054%22%20target%3D%22_blank%22%3E%40PaulF707%3C%2FA%3E%26nbsp%3BNegative%2C%20we%20still%20haven't%20found%20or%20implemented%20a%20solution%20on%20this%20one%20%3A%20%2F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1132376%22%20slang%3D%22en-US%22%3ERe%3A%20Persistent%20or%20auto-start%20teams%20meeting%20for%20unattended%20monitor%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1132376%22%20slang%3D%22en-US%22%3E%3CP%3EIf%20you%20have%20a%20persistent%20link%20for%20the%20meetings%2C%20perhaps%20try%20having%20the%20URL%20load%20at%20start-up.%20You%20would%20need%20to%20ensure%20that%20credentials%20are%20saved%2Floaded%20into%20the%20browser.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1132471%22%20slang%3D%22en-US%22%3ERe%3A%20Persistent%20or%20auto-start%20teams%20meeting%20for%20unattended%20monitor%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1132471%22%20slang%3D%22en-US%22%3E%3CP%3E%40%3C%2FP%3E%3CP%3EEven%20with%20a%20URL%2C%20there%20are%20a%20couple%20of%20mouse%20clicks%20to%20get%20it%20to%20open%20in%20the%20teams%20app%2C%20and%20the%20another%20click%20in%20the%20app%20to%20join%20the%20meeting.%3C%2FP%3E%3CP%3EI'm%20going%20to%20try%20AutoIt%2C%20but%20I%20may%20have%20to%20stick%20with%20Zoom%20for%20this%20particular%20usage....%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1132884%22%20slang%3D%22en-US%22%3ERe%3A%20Persistent%20or%20auto-start%20teams%20meeting%20for%20unattended%20monitor%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1132884%22%20slang%3D%22en-US%22%3E%3CP%3EFound%201%20small%20improvement%3C%2FP%3E%3CP%3EThe%20meeting%20URL%20starts%20teams.microsoft.com%2Fl%2Fmeetup-join%2F%E2%80%A6%E2%80%A6.%3C%2FP%3E%3CP%3EIf%20you%20add%20in%3A%3C%2FP%3E%3CP%3E%3CSPAN%3Eteams.microsoft.com%2F%3CSTRONG%3E_%23%3C%2FSTRONG%3E%2Fl%2Fmeetup-join%2F%E2%80%A6%E2%80%A6.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Ethen%20this%20bypasses%20the%20option%20to%20open%20app%20or%20open%20in%20web.%20(and%20opens%20it%20in%20the%20browser)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20just%20need%20to%20find%20a%20way%20to%20emulate%20the%20'Join%20Now'%20button.......%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1132935%22%20slang%3D%22en-US%22%3ERe%3A%20Persistent%20or%20auto-start%20teams%20meeting%20for%20unattended%20monitor%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1132935%22%20slang%3D%22en-US%22%3E%3CP%3EIt's%20not%20immediately%20obvious%2C%20but%20the%20'Join'%20button%20(in%20Edge)%20has%20'focus'%20and%20can%20be%20activated%20by%20the%20Enter%20key.%3C%2FP%3E%3CP%3EThis%20crude%20solution%20using%20VBS%20and%20SendKeys%20appears%20to%20be%20working%20at%20the%20moment%20(subject%20to%20further%20testing).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CFONT%3E'%20Open%20Teams%20in%20Edge%3CBR%20%2F%3ESet%20WshShell%20%3D%20WScript.CreateObject(%22WScript.Shell%22)%3CBR%20%2F%3EWshShell.Run%20%22microsoft-edge%3A%5BENTERURLHERE%5D%22%2C%209%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%3CFONT%3E%3CBR%20%2F%3E'%20Give%20Teams%20time%20to%20load%3CBR%20%2F%3EWScript.Sleep%2015000%20%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%3CFONT%3E'%20Join%20Meeting%3CBR%20%2F%3EWshShell.SendKeys%20%22%7BENTER%7D%22%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%3CFONT%3E'%20Give%20Teams%20time%20to%20join%3CBR%20%2F%3EWScript.Sleep%2010000%20%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%3CFONT%3E'%20Go%20Full%20Screen%3CBR%20%2F%3EWshShell.SendKeys%20%22%7BTAB%7D%22%3CBR%20%2F%3EWScript.Sleep%20500%3CBR%20%2F%3EWshShell.SendKeys%20%22%7BTAB%7D%22%3CBR%20%2F%3EWScript.Sleep%20500%3CBR%20%2F%3EWshShell.SendKeys%20%22%7BTAB%7D%22%3CBR%20%2F%3EWScript.Sleep%20500%3CBR%20%2F%3EWshShell.SendKeys%20%22%7BTAB%7D%22%3CBR%20%2F%3EWScript.Sleep%20500%3CBR%20%2F%3EWshShell.SendKeys%20%22%7BENTER%7D%22%3CBR%20%2F%3EWScript.Sleep%20500%3CBR%20%2F%3EWshShell.SendKeys%20%22%7BDOWN%7D%22%3CBR%20%2F%3EWScript.Sleep%20500%3CBR%20%2F%3EWshShell.SendKeys%20%22%7BDOWN%7D%22%3CBR%20%2F%3EWScript.Sleep%20500%3CBR%20%2F%3EWshShell.SendKeys%20%22%7BENTER%7D%22%3C%2FFONT%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1336850%22%20slang%3D%22en-US%22%3ERe%3A%20Persistent%20or%20auto-start%20teams%20meeting%20for%20unattended%20monitor%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1336850%22%20slang%3D%22en-US%22%3E%3CP%3EI%20researched%20this%20question%20a%20while%20back%2C%20when%20I%20was%20trying%20to%20auto-start%20Zoom%20meetings%2C%20and%20came%20up%20with%20a%20solution%20that%20would%20likely%20work%20to%20start%20Teams%20meetings%20as%20well.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20wrote%20a%20four-line%20Windows%20Powershell%20script%20that%3A%3C%2FP%3E%3CUL%3E%3CLI%3Elaunches%20Zoom%3C%2FLI%3E%3CLI%3Ewaits%20a%20bit%3C%2FLI%3E%3CLI%3Eopens%20the%20URL%20for%20the%20Zoom%20meeting%3C%2FLI%3E%3CLI%3Ewaits%20a%20bit%3C%2FLI%3E%3CLI%3Ecloses%20the%20browser%3C%2FLI%3E%3C%2FUL%3E%3CP%3E(Newer%20browsers%20require%20a%20confirmation%E2%80%94they%20won't%20go%20right%20into%20the%20meeting%E2%80%94so%20I%20set%20the%20default%20browser%20to%20be%20an%20older%20version%20of%20Internet%20Explorer%20that%20will%20launch%20and%20join%20the%20meeting%20without%20confirmation.)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20also%20wrote%20a%20one-line%20Powershell%20script%20that%20quits%20Zoom%2C%20to%20end%20the%20meeting.%20(I%20have%20to%20%22force%20quit%22%20Zoom%2C%20because%20it%20wants%20a%20confirmation%20when%20quitting%20if%20there's%20an%20active%20meeting.)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAfter%20I%20wrote%20these%2C%20I%20used%20Task%20Scheduler%20to%20set%20up%20%22Start%20Meeting%22%20and%20%22End%20Meeting%22%20tasks%20that%20run%20the%20corresponding%20PowerShell%20scripts%20at%20the%20designated%20start%20and%20end%20times%20for%20the%20meetings.%3C%2FP%3E%3CP%3E(Each%20computer%20is%20set%20up%20to%20join%20the%20same%20meeting%20room%20for%20every%20meeting%2C%20but%20you%20could%20also%20write%20multiple%20%22start%20meeting%22%20scripts%20with%20different%20URLs.)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat's%20the%20solution%20I%20used%20for%20Zoom%2C%20and%20that's%20the%20setup%20I'm%20planning%20on%20using%20with%20Teams%2C%20once%20we%20start%20to%20migrate%20over.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3EUPDATE%3A%20Hmm...%20This%20works%20except%20for%20it%20still%20brings%20up%20the%20%22audio%20and%20video%20settings%22%20screen%2C%20with%20the%20Join%20Now%20button%2C%20for%20the%20%22host%22%2C%20unattended%20computer.%20I'll%20have%20to%20add%20an%20%22enter%20key%22%20press%20to%20the%20%22start%20meeting%22%20PowerShell%20script%2C%20to%20enter%20the%20meeting.%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CI%3EAlso%2C%20our%20host%20computers%20are%20Windows%2010%20machines%2C%20and%20this%26nbsp%3Bwon't%26nbsp%3Bwotk%20on%20the%20Mac.%20The%20Office%20365%20apps%20are%20AppleScript-able%2C%20though%2C%20and%20you%20could%20likely%20write%20scripts%20that%20would%20launch%20meetings%2C%26nbsp%3Bpress%20the%20%22Join%20Now%22%20button%2C%20and%20quit%20Teams%2C%20and%20have%20them%20execute%20at%20set%20times.%3C%2FI%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1337076%22%20slang%3D%22en-US%22%3ERe%3A%20Persistent%20or%20auto-start%20teams%20meeting%20for%20unattended%20monitor%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1337076%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F636379%22%20target%3D%22_blank%22%3E%40zanseattle%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20get%20this%20working%20with%20Teams%20I%20would%20really%20appreciate%20you%20sharing%20your%20success.%3C%2FP%3E%3CP%3EMy%20crude%20script%20below%20works%20sometimes%2C%20but%20it%20seems%20that%20the%20action%20menus%20in%20Teams%20seem%20to%20vary%2C%20sometimes%20depending%20on%20if%20someone%20used%20the%20session%20previously%20(perhaps%20opened%20the%20chat%20window%2C%20or%20turned%20off%20the%20camera%20etc)%2C%20and%20other%20times%20for%20no%20apparent%20reason%20(other%20than%20'Microsoft')%20-%20so%20the%20Send%20Keys%20process%20for%20activating%20different%20options%20don't%20always%20work%20correctly.%3C%2FP%3E%3CP%3EI%20could%20also%20do%20with%20a%20way%20of%20stopping%20Edge%20remembering%20old%20browser%20windows%20when%20restarting%20(as%20I%20can%20end%20up%20with%20multiple%20Teams%20sessions%20in%20multiple%20Tabs).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1749111%22%20slang%3D%22en-US%22%3ERe%3A%20Persistent%20or%20auto-start%20teams%20meeting%20for%20unattended%20monitor%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1749111%22%20slang%3D%22en-US%22%3ECould%20you%20please%20make%20a%20code%20for%20teams%2C%20that%20autoruns%20it.%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

We have a computer/monitor in the office persistently hosting a meeting which allows remote employee's to join/leave at-will and share their cameras.

 

The local computer is unattended and needs to be able to start/restart/join/rejoin the meeting without local intervention.

 

The question is how do we configure the local computer to:

 

1. Automatically join a daily scheduled meeting in the morning at start of the work day

OR (if that can't be done)

2. Never leave a meeting that runs forever and automatically re-join if it drops

11 Replies
Highlighted

Hi,

 

No native way that I know about but maybe you could use AutoIt or similar software to automated click on join every morning.

 

/Linus

Highlighted

@Eli_Taylor 

I am trying to do the same. Did you find a suitable solution for this?

Highlighted

Also keen to implement this if someone finds a way!

 

 

 

Highlighted

@PaulF707 Negative, we still haven't found or implemented a solution on this one : /

Highlighted

If you have a persistent link for the meetings, perhaps try having the URL load at start-up. You would need to ensure that credentials are saved/loaded into the browser.

Highlighted

@

Even with a URL, there are a couple of mouse clicks to get it to open in the teams app, and the another click in the app to join the meeting.

I'm going to try AutoIt, but I may have to stick with Zoom for this particular usage....

 

Highlighted

Found 1 small improvement

The meeting URL starts teams.microsoft.com/l/meetup-join/…….

If you add in:

teams.microsoft.com/_#/l/meetup-join/…….

then this bypasses the option to open app or open in web. (and opens it in the browser)

I just need to find a way to emulate the 'Join Now' button.......

Highlighted

It's not immediately obvious, but the 'Join' button (in Edge) has 'focus' and can be activated by the Enter key.

This crude solution using VBS and SendKeys appears to be working at the moment (subject to further testing).

 

' Open Teams in Edge
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "microsoft-edge:[ENTERURLHERE]", 9

' Give Teams time to load
WScript.Sleep 15000
' Join Meeting
WshShell.SendKeys "{ENTER}"
' Give Teams time to join
WScript.Sleep 10000
' Go Full Screen
WshShell.SendKeys "{TAB}"
WScript.Sleep 500
WshShell.SendKeys "{TAB}"
WScript.Sleep 500
WshShell.SendKeys "{TAB}"
WScript.Sleep 500
WshShell.SendKeys "{TAB}"
WScript.Sleep 500
WshShell.SendKeys "{ENTER}"
WScript.Sleep 500
WshShell.SendKeys "{DOWN}"
WScript.Sleep 500
WshShell.SendKeys "{DOWN}"
WScript.Sleep 500
WshShell.SendKeys "{ENTER}"
Highlighted

I researched this question a while back, when I was trying to auto-start Zoom meetings, and came up with a solution that would likely work to start Teams meetings as well.

 

I wrote a four-line Windows Powershell script that:

  • launches Zoom
  • waits a bit
  • opens the URL for the Zoom meeting
  • waits a bit
  • closes the browser

(Newer browsers require a confirmation—they won't go right into the meeting—so I set the default browser to be an older version of Internet Explorer that will launch and join the meeting without confirmation.)

 

I also wrote a one-line Powershell script that quits Zoom, to end the meeting. (I have to "force quit" Zoom, because it wants a confirmation when quitting if there's an active meeting.)

 

After I wrote these, I used Task Scheduler to set up "Start Meeting" and "End Meeting" tasks that run the corresponding PowerShell scripts at the designated start and end times for the meetings.

(Each computer is set up to join the same meeting room for every meeting, but you could also write multiple "start meeting" scripts with different URLs.)

 

That's the solution I used for Zoom, and that's the setup I'm planning on using with Teams, once we start to migrate over.

 

UPDATE: Hmm... This works except for it still brings up the "audio and video settings" screen, with the Join Now button, for the "host", unattended computer. I'll have to add an "enter key" press to the "start meeting" PowerShell script, to enter the meeting.

 

Also, our host computers are Windows 10 machines, and this won't wotk on the Mac. The Office 365 apps are AppleScript-able, though, and you could likely write scripts that would launch meetings, press the "Join Now" button, and quit Teams, and have them execute at set times.

Highlighted

@zanseattle 

If you get this working with Teams I would really appreciate you sharing your success.

My crude script below works sometimes, but it seems that the action menus in Teams seem to vary, sometimes depending on if someone used the session previously (perhaps opened the chat window, or turned off the camera etc), and other times for no apparent reason (other than 'Microsoft') - so the Send Keys process for activating different options don't always work correctly.

I could also do with a way of stopping Edge remembering old browser windows when restarting (as I can end up with multiple Teams sessions in multiple Tabs).

Highlighted

Could you please tell me or make a code for teams, that does the same as the one you've made for Zoom.