Questions tagged [remoting]
48 questions
11
votes
3 answers
Cannot get CredSSP authentication to work in PowerShell
In attempting to create a PowerShell script using remoting I ran into what I believe is the double-hop problem. In that article, Perriman gives a succinct description of the problem as well as the specific steps to resolve the issue (almost trivial…
![](../../users/profiles/14413.webp)
Michael Sorens
- 445
- 2
- 6
- 17
10
votes
10 answers
psexec: "Access is Denied"?
Inspired by my previous question here, I've been experimenting with PSExec.
The goal is to trip off some fairly simple scripts / programs on one WindowsXP machine from another, and as PowerShell 2 doesn't yet do remoting on XP, PSexec seems like…
![](../../users/profiles/1382.webp)
Electrons_Ahoy
- 1,801
- 3
- 14
- 16
7
votes
3 answers
How to allow access to winrs for non-admin user?
I have Windows Server 2012 (and Server 2008, but it is next priority) to monitor it using txwinrm. txwinrm library internally is using WinRS protocol. I have to monitor it using least privileged user, but don't know how to configure access for him.…
![](../../users/profiles/191426.webp)
Bunyk
- 1,314
- 2
- 11
- 16
6
votes
3 answers
Powershell remoting suddenly stops working
I'm having trouble executing a remote powershell script which is supposed to update the installation
of an application for automated testing in a taskmanager task running once a day.
The rather simple script (details below) used to run successfully…
![](../../users/profiles/325413.webp)
Thomas
- 161
- 5
5
votes
1 answer
Enter-PSSession on localhost is failing
I am attempting to execute the following Powershell command:
Enter-PSSession -ComputerName localhost
The server in use is running Windows Server 2008 R2 SP1 64-bit. The server is on a domain. I am logged in under my domain administrator account.…
![](../../users/profiles/370906.webp)
Daniel Schealler
- 151
- 1
- 4
4
votes
5 answers
Is there a way to get PowerShell 2's remoting features to work between Windows XP machines?
PowerShell 2.0 has some super-snazzy remoting features. However, I'm unclear if they can be made to work with / between Windows XP machines, or if you need Windows Vista or Windows 7.
Here's what I have:
A pair of Windows XP MCE machines with SP3…
![](../../users/profiles/1382.webp)
Electrons_Ahoy
- 1,801
- 3
- 14
- 16
4
votes
1 answer
Enable-PSRemoting or Set-WSManQuickConfig?
I'm getting pumped up for DSC and I want to cover my bases. I see that Enable-PSRemoting actually runs Set-WSManQuickConfig according to help documentation, I guess my main question is, what is the difference between the two? Looks like newer…
![](../../users/profiles/401971.webp)
evenyougreg
- 85
- 1
- 6
4
votes
1 answer
Set-NetFirewallRule alternative in Windows Server 2008
I am trying to Enable Powershell Remoting on a Windows Server 2008, but from what I understand, the default firewall exception is that PSRemoting is only allowed if the computer (both client and server) resides in the same local subnet.
How to…
![](../../users/profiles/292680.webp)
Jeff
- 61
- 1
- 4
3
votes
2 answers
WinRM remoting server with local Adminnistrator account not working?
I have a server Windows 2012R2 in the domain. This server has no domain user access, only local admin user. I can RDC into this machine using admin account, but cannot have a PSSession, so Enter-PSSession or Invoke-Command or New-PSSession does not…
![](../../users/profiles/508659.webp)
Dilshad Abduwali
- 175
- 1
- 2
- 7
3
votes
1 answer
PowerShell remoting doesn't work if computer name contains dot
I have one system where I cannot connect to remote computer (or to itself remotely) using PowerShell when computer name contains dot.
For example, this works:
Enter-PSSession HostA -Credential user1
But this doesn't:
Enter-PSSession…
![](../../users/profiles/175073.webp)
Cozzamara
- 143
- 2
- 6
3
votes
4 answers
How can I use shared functions in a remote Powershell session?
I have some Powershell scripts for setting up IIS web applications, message queues, etc.
They use a set of shared function libraries we've created - so each script starts with the line
. .\common.ps1
to reference the shared library. The shared…
![](../../users/profiles/79.webp)
Dylan Beattie
- 576
- 2
- 9
- 23
3
votes
2 answers
Powershell remote sessions and access to network resources
It seems I cannot access network resources in a remote Powershell session. This is using Powershell v2. Both the local and remote computers are on the same domain.
As an example, if I am on MachineA and connect to MachineB via Enter-PSSession…
![](../../users/profiles/13094.webp)
Daniel Pratt
- 133
- 1
- 4
3
votes
2 answers
Run command remotely on Windows computer
I have a Windows Server 2008 instance on Amazon EC2 (Amazon's cloud compute platform, which provides VMs in the cloud). It has an external IP, and I have an admin account on the box. I would like to 'bootstrap' this instance remotely i.e. I want to…
![](../../users/profiles/42556.webp)
Bilal Aslam
- 131
- 3
3
votes
3 answers
Why does a scheduled task access the database as anonymous (vs configured acct)?
**Update: I added a much shortened script which generates the same issue. See the bottom of this port:
I have a PowerShell script that runs a SQL query against a MSSQL server (different server). The script runs as expected when run interactively.…
![](../../users/profiles/19710.webp)
uSlackr
- 6,337
- 21
- 36
2
votes
1 answer
Powershell Implicit Remoting using JEA issue with MaxConcurrentUsers
Summary:
I am running an implicit remoting server to centralize scripts which is accessible to 200 users. I am utilizing PowerShell 5 on the remote server and utilizing JEA. Modules and scripts are set up in the C:\Program Files directory.
Issue:
I…
![](../../users/profiles/408963.webp)
Alexander Sinno
- 153
- 5