Remove-SmbShare: InitializeDefaultDrives op. on the 'FireSystem' provder failed

Welcome Forums General PowerShell Q&A Remove-SmbShare: InitializeDefaultDrives op. on the 'FireSystem' provder failed

Viewing 0 reply threads
  • Author
    Posts
    • #176176
      Participant
      Topics: 5
      Replies: 12
      Points: 72
      Rank: Member

      Hi,

      I can create an Smb Share and remove it but when a different user performs the same operation, on the remove operation they share is removed but they also experience the following error message:

      “Attempting to perform the InitializeDefaultDrives operation on the ‘FireSystem’ provider failed.”

      The command syntax is: Remove-SmbShare -Name ShareName -Force

      the curious aspect of this is that the share appears to have been removed. What is the best way to diagnosis this issue?

      This operation is performed on a Win2021 R2 server using PowerShell 4.0. The user in question probably has more privileges that I do in this environment. Could this be related to Culture or PS Profiles?

      Thanks in advance for your time and consideration.

       

      April

       

       

       

       

Viewing 0 reply threads
  • The topic ‘Remove-SmbShare: InitializeDefaultDrives op. on the 'FireSystem' provder failed’ is closed to new replies.