# Windows access denied

**URL:** <https://forum.ansible.com/t/windows-access-denied/17322>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [January 20, 2015, 7:49am UTC](https://forum.ansible.com/t/windows-access-denied/17322 "2015-01-20T07:49:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KlimaXima](https://avatars.discourse-cdn.com/v4/letter/k/a9a28c/32.png) [@KlimaXima](https://forum.ansible.com/u/KlimaXima)\
**Post date:** [January 20, 2015, 7:49am UTC](https://forum.ansible.com/t/windows-access-denied/17322/1 "2015-01-20T07:49:40Z")

</div>

Hello all,

I am following this turorial [http://docs.ansible.com/intro\_windows.html](http://docs.ansible.com/intro_windows.html) to install the python on ansible but i keep running into problem. I think it has something to do with the windows run as administrator or something.

Here is what ansible says:  
This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package.

This is my playbook code:

- name: Run the script  
hosts: windows\_server  
tasks:
- name: Install Python  
win\_msi:  
path=“C:/Users/vagrant/Downloads/python-2.7.9.msi” state=present

I can ping to my server run the raw commend like ipconfig and retrieve the output but can’t seem to download or install anything.

Thank you so much for your help!

---

<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:** [January 20, 2015, 12:47pm UTC](https://forum.ansible.com/t/windows-access-denied/17322/2 "2015-01-20T12:47:14Z")

</div>

A few things you could try…

check the windows event log

Check the user you are connecting with is actually a member of the administrators group.

log in to the windows machine as the same user you are connecting via ansible with and attempt to run the same msi.

Hope this helps,

Jon
