Resolve error "the specified server cannot perform the requested operation" in PowerShell

Home > Search
  by

Let's say error the specified server cannot perform the requested operation appears when using the Move-Item or Copy-Item commands in PowerShell. This error may occur when using a PowerShell Remoting command, such as Invoke-Command.

Move-Item "Microsoft.PowerShell.Core\FileSystem::C:\Users\username\Documents\Example.txt" -Destination "Microsoft.PowerShell.Core\FileSystem::\\Example\share\"

 

If \\Example\share is shared as a SMB / CIFS share, enter the following commands in PowerShell as an administrator on the local PC.

Set-SmbClientConfiguration -RequireSecuritySignature 1

Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" RequireSecureNegotiate -Value 0 -Force

 

Ensure SMB / CIFS file sharing is enabled on the local PC:

  1. Select the Windows Start icon > Control Panel.
  2. Select Programs and Features.
  3. Select Turn Windows features on or off.
  4. Ensure SMB 1.0/CIFS File Sharing Support is checked.


Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments