# How to restart a remote Firefox in Windows machine?

**URL:** <https://forum.ansible.com/t/how-to-restart-a-remote-firefox-in-windows-machine/38087>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [June 12, 2023, 4:49pm UTC](https://forum.ansible.com/t/how-to-restart-a-remote-firefox-in-windows-machine/38087 "2023-06-12T16:49:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjuanlu](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@sjuanlu](https://forum.ansible.com/u/sjuanlu)\
**Post date:** [June 12, 2023, 4:49pm UTC](https://forum.ansible.com/t/how-to-restart-a-remote-firefox-in-windows-machine/38087/1 "2023-06-12T16:49:17Z")

</div>

Hi Team! I’ve tried to restart a firefox in remote machine to apply the updates. I can’t use chocolately because Net. Framework is neccesary but it’s not complied with security businness.

I have usedthese modules:  
win\_command  
win\_shell  
raw  
command

and a bat script in target machine with commands necessary to start firefox but not work.

Any idea?  
Thanks in advanced.

---

<div class="post-metadata">

**Author:** ![Nico\_Kadel-Garcia](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/nico_kadel-garcia/32/9998_2.png) [@Nico\_Kadel-Garcia](https://forum.ansible.com/u/Nico_Kadel-Garcia)\
**Post date:** [June 27, 2023, 12:11pm UTC](https://forum.ansible.com/t/how-to-restart-a-remote-firefox-in-windows-machine/38087/2 "2023-06-27T12:11:21Z")

</div>

Firefox would normally start an application in a window manager, a  
console session, not a program that would run from a remote execution  
tool like "winrm" or "ssh". Where do you expect it to display? And  
what are you trying to do?
