Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6905351
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:10:23+00:00 2026-05-27T08:10:23+00:00

This is just crazy, I am starting on PowerShell. And of course I need

  • 0

This is just crazy, I am starting on PowerShell. And of course I need to do Admin work remotely.

A simple

dir \\server\share\folder

Just refuses to work, I get this error

Get-ChildItem : Cannot find path '\\server\share\folder' because it does not exist.
    + CategoryInfo          : ObjectNotFound: (\\server\share\folder:String) [Get-ChildItem], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand

To me it is pretty obvious it is an access rights issue. And we do have a domain here at the company. I am logged in to the server, with the exact same user account, on VNC and I can see the UNC path. But whenever I try to just copy a file from my desktop with the remote connection. It just won’t work!!!!

I can do many other things so I am positive I am connected.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T08:10:23+00:00Added an answer on May 27, 2026 at 8:10 am

    To get this to work, you must configure both your local and remote computers.

    On the remote server, run the following command:

     Enable-WSManCredSSP -Role server
    

    You’ll know things are confgured correctly if you run the Get-WSManCredSSP cmdlet and get the following output:

    The machine is not configured to allow delegating fresh credentials.
    This computer is configured to receive credentials from a remote client computer.

    On your local computer, from an Administrative PowerShell prompt, you need to allow credential delegation in PowerShell. Run the following command:

     Enable-WSManCredSSP -Role Client -DelegateComputer <REMOTE_COMPUTER_NAME>
    

    You can enable all servers by using * for REMOTE_COMPUTER_NAME.

    You’ll know this is configured correctly when you run Get-WSManCredSSP and get the following output:

    The machine is configured to allow delegating fresh credentials to the following target(s): wsman/REMOTE_SERVER_NAME
    This computer is not configured to receive credentials from a remote client computer.

    On your local machine, update Group Policy to allow your credentials to be delegated to the remote server.

    1. Open gpedit.msc and browse to Computer Configuration > Administrative Templates > System > Credentials Delegation.
    2. Double-click “Allow delegating fresh credentials with NTLM-only Server Authentication”.
    3. Enable the setting and add the build server to the server list as WSMAN/BuildServerName. (You can enable all servers by entering WSMAN/*.)

    Then, when you need to run your command on the remote server, you can’t use any of the *-PSSession commands because CredSSP can’t use cached credentials. You have to start the session using Invoke-Command, and use CredSSP as the value to the Authentication parameter, like so:

    Invoke-Command -ScriptBlock { # remote commands here } `
                   -ComputerName <REMOTE_COMPUTER_NAME> `
                   -Authentication CredSSP `
                   -Credential <USERNAME>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Maybe it is just a simple mistake but this thing is driving me crazy.
This is probably just a crazy pipe dream but I thought I would ask
Hey guys, sorry for this probably fairly simple question but I'm starting to get
This might be just too crazy to accomplish but this is what I'm trying
Perhaps I am just crazy or missing something really basic. Why would this happen?
This is really starting to drive me crazy; I've spend a solid two hours
I cannot get this crazy dependency to work and please don't tell me to
First of I apologize if this is a dumb question - I'm just starting
Okay, this is just a crazy idea I have. Stack Overflow looks very structured
Maybe I am just crazy, or maybe I forgot the way things should work.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.