Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, March 17, 2020 8:14 AM
Yesterday I was fiddling with Azure Files service to check out its Internet-accessible SMB shared folder behaviour.
Mapping a drive letter with NET USE was simple enough. (although disturbed they don't offer a read-only access key, and must use full admin write access key) The significant thing though, is we're mapping a drive letter for NT AUTHORITY\SYSTEM context, done so via a scheduled task to run on system start. That works ok too.
However, now when I launch up PowerShell ISE, it's stuck forever at loading. Nothing can be done other than to kill powershell_ise.exe.
When I run a regular PowerShell shell, I see an error Attempting to perform the InitializeDefaultDrives operation on the 'FileSystem' provider failed
If I disconnect the drive letter than the problem goes away.
Thing is, previously, we were mapping the drive letter to an IIS WebDAV web server and didn't face any such problem. What sort of differences with Azure's public SMB server(s) can cause this limbo?
The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral
All replies (4)
Wednesday, March 18, 2020 6:36 AM
Hi,
>>When I run a regular PowerShell shell, I see an error Attempting to perform the InitializeDefaultDrives operation on the 'FileSystem' provider failed
This error is typically displayed by PowerShell when you either do not have access (e.g. due to permissions) to some of your drives or have something like SoftGrid installed.
Please refer the following link:
https://www.techtalkz.com/threads/initializedefaultdrives-error-message-on-startup.180540/
Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information
Since your environment is complex, it is recommend to have this question asked in Azure community for better answers.
Azure community: https://azure.microsoft.com/en-us/support/community/
Hope this can help you, if you have anything unclear, please let me know.
Have a nice day!
Ellen
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Wednesday, March 25, 2020 2:53 AM
Hi,
Just checking the current situation of your problem.
Please let us know if you would like further help.
Best regards,
Ellen
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Wednesday, March 25, 2020 5:35 AM
I asked too at MSDN forums, but there doesn't appear to be any useful information on why PowerShell breaks so easily and how to fix it.
The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral
Monday, April 6, 2020 5:38 AM
Hi,
Since your environment is complex, it is recommend to have this question asked in Azure community for better answers.
Azure community: https://azure.microsoft.com/en-us/support/community/
Hope this can help you, if you have anything unclear, please let me know.
Have a nice day!
Ellen
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].