[ansible-project] Re: Windows mapped drives – what the hell is going on?

2020-01-16 Thread Jordan Borean
This is unfortunately outside of what I know and I can't really offer and more help. From what I can see the registry settings are the same when Ansible creates the drive vs when it's created with net use, even net use sees the drive, it's just not available. What you need to do now is enable f

[ansible-project] Re: Windows mapped drives – what the hell is going on?

2020-01-16 Thread Pjotr Banas
Hi Jordan, 1) When you map it manually with net use, can you log off and back on and the drive still remains connected and visible in Windows Explorer? - Yes 2) The output for 'net use' on a limited process is showing that the Z map is configured but is unavailable, does the drive show up in Win

[ansible-project] Re: Windows mapped drives – what the hell is going on?

2020-01-15 Thread Jordan Borean
Unfortunately I cannot explain this at all, a couple of final question/clarifications - When you map it manually with net use, can you log off and back on and the drive still remains connected and visible in Windows Explorer? - The output for 'net use' on a limited process is showing th

[ansible-project] Re: Windows mapped drives – what the hell is going on?

2020-01-15 Thread Pjotr Banas
1) What is the full command you run to map the drive normally (outside of Ansible)? - net use z: \\bellagio.intra.vegas.net\how\the\hell\to\solve\this\issue /persistent:yes' 2) If you manually map it through the GUI are you connecting with explicit credentials? - I'm connecting using mRemote, R

[ansible-project] Re: Windows mapped drives – what the hell is going on?

2020-01-15 Thread Pjotr Banas
1) What is the full command you run to map the drive normally (outside of Ansible)? - net use z: \\burak2.intra.noklab.net\Global_veryfication\[4]_TP\Ansible /persistent:yes' 2) If you manually map it through the GUI are you connecting with explicit credentials? - I'm connection using mRemote,

[ansible-project] Re: Windows mapped drives – what the hell is going on?

2020-01-15 Thread Jordan Borean
That is very curious, typically the opposite is the case where the standard (limited) process is able to see the mapped drive but the admin process is not. We can see that in both scenarios net use can see that there is a valid configuration for the mapped drive but it is only successfully conn

[ansible-project] Re: Windows mapped drives – what the hell is going on?

2020-01-15 Thread Pjotr Banas
EDIT: 2) PowerShell as Administrator: PS C:\Windows\system32> gdr -PSProvider 'FileSystem' > > > Name Used (GB) Free (GB) Provider Root > CurrentLocation > - -

[ansible-project] Re: Windows mapped drives – what the hell is going on?

2020-01-15 Thread Pjotr Banas
It turned out that this issue is somehow related to permissions/security settings - any suggestions? I asked our internal IT team to check security event log: Please, look what I've found: * RDP login, user: elvis * I've mounted drive under Z: letter, Z: drive is visible. Computer\HKEY

[ansible-project] Re: Windows mapped drives – what the hell is going on?

2020-01-15 Thread Jordan Borean
Sorry about the option name mismatch but glad you found the correct one. Your task seems to be correct so it's curious as to why it isn't showing up. What I recommend you look at; - See if the key 'HKCU:\Network\Z' is present and if the entries match what you set - Run the command 'net

[ansible-project] Re: Windows mapped drives – what the hell is going on?

2020-01-15 Thread Pjotr Banas
Hi Jordan, First of all big thanks for your reply, I'm really surprised how efficiently this community works. So, let's cut to the chase. I focused on your first hint and according to it, I've corrected my playbook: (for others info: there was a 'typo' - name instead of letter) - name: Mou

[ansible-project] Re: Windows mapped drives – what the hell is going on?

2020-01-15 Thread Pjotr Banas
Hi Jordan, First of all big thanks for your reply, I'm really surprised how efficiently this community works. So, let's cut to the chase. I focused on your first hint and according to it, I've corrected my playbook: (for others info: there was a 'typo' - *name* instead of *letter*) - name:

[ansible-project] Re: Windows mapped drives – what the hell is going on?

2020-01-14 Thread 'J Hawkesworth' via Ansible Project
Having a file server mounted on lots of windows client pcs is a common pattern in windows shops but I decided to use a web server and make the windows client machines collect the apps they need using win_get_url module. Hope this helps, Jon On Tuesday, January 14, 2020 at 1:57:40 PM UTC, Pjo

[ansible-project] Re: Windows mapped drives – what the hell is going on?

2020-01-14 Thread Jordan Borean
Hi, the blog is still accepting comments, I just need to approve them so it doesn't get spammed. As for your issue at hand. 1) to use Ansible to map this network drive automatically in all VMs for > the domain user (mapped drive should be visible after VM reboots, during > every RDP sessions u