# Basic solution wanted - Start IE url

**URL:** <https://forum.ansible.com/t/basic-solution-wanted-start-ie-url/26319>\
**Category:** Ansible Project\
**Created:** [December 18, 2017, 1:33pm UTC](https://forum.ansible.com/t/basic-solution-wanted-start-ie-url/26319 "2017-12-18T13:33:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nbmprivat](https://avatars.discourse-cdn.com/v4/letter/n/cab0a1/32.png) [@nbmprivat](https://forum.ansible.com/u/nbmprivat)\
**Post date:** [December 18, 2017, 1:33pm UTC](https://forum.ansible.com/t/basic-solution-wanted-start-ie-url/26319/1 "2017-12-18T13:33:33Z")

</div>

Hi there,

I’ve tried:

1. script module - powershell script
2. win\_command module - start.exe
3. starting iexplore.exe with url

Nothing works. I guess the first command doesn’t work because ansible uses another user to start powershell. The logged in user must start the process.

Anybody knows how to start ie url with ansible?

---

<div class="post-metadata">

**Author:** ![j.r.hawkesworth](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Post date:** [December 22, 2017, 9:50am UTC](https://forum.ansible.com/t/basic-solution-wanted-start-ie-url/26319/2 "2017-12-22T09:50:36Z")

</div>

I guess you might be able to get this to work by using win\_psexec although I haven’t tried.

Starting interactive programs like this isn’t really what winrm is intended for (the ‘rm’ bit stands for ‘remote management’) and running interactive programs is sort of at the edge of machine management.

What are you trying to achieve? If you just want to use IE to download something from a URL have a look at the win\_get\_url module which will do this in a way that fits well with the rest of ansible.

Jon

---

<div class="post-metadata">

**Author:** ![nbmprivat](https://avatars.discourse-cdn.com/v4/letter/n/cab0a1/32.png) [@nbmprivat](https://forum.ansible.com/u/nbmprivat)\
**Post date:** [December 22, 2017, 10:50am UTC](https://forum.ansible.com/t/basic-solution-wanted-start-ie-url/26319/3 "2017-12-22T10:50:54Z")

</div>

Thanks for the answer.

I tried:

- win\_psexec
- win\_command
- script
- win\_shell

Nothing worked so decided not to have this feature.

I am provisioning a new vm in vsphere for development testing purposes which installs specific versions of java, tomcat and in-house application and in the end wanted to open up IE showing the webapplication.

---

<div class="post-metadata">

**Author:** ![j.r.hawkesworth](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Post date:** [December 22, 2017, 6:16pm UTC](https://forum.ansible.com/t/basic-solution-wanted-start-ie-url/26319/4 "2017-12-22T18:16:16Z")

</div>

Perhaps next best thing is to use win\_shortcut to create links to the applications on the desktop.
