Bootstrap FreeKB - PowerShell - Resolve "the specified server cannot perform the requested operation"
PowerShell - Resolve "the specified server cannot perform the requested operation"

Updated:   |  PowerShell articles

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.



Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


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