On my desktop a have a drive G: attached to a server \\something-DC-01.something.local\something-Data$. (We use cisco any connect secure mobility client vpn)
I try using the powerautomate "Application" for running C:\Windows\explorer.exe with in the working directory: G:
but G: is nog recognized and i can not find it either with folder browsing. See picture below. How do i resolve this? I have tried desktop recording as well. While recording G: shows but when executing it does not find the folder.
G: does not show!
Please help me out on this.
I had a similar problem while having my desktop flows run in unattended mode on different VMs we have configured. Some didn't have the network drives mapped, so we added some PowerShell scripts at the start of the desktop flows to map the drives as a fail safe. Generally, we try to stay away from relying on the short form of the network drive and try to include the full server name, but people do not follow that rule 100% of the time, so this PowerShell script solves that.
This PowerShell script should work:
New-SmbMapping -LocalPath "K:" -RemotePath "\\yournetworkpath"