Link to home
Start Free TrialLog in
Avatar of Robert
RobertFlag for United States of America

asked on

Issues using mmc to connect to remote system with different login credentials

I'm running into authentication issues when trying to use the mmc from my domain laptop to remotely connect to a Windows Embedded PC that is in a Workgroup.  I am able to use the net use command to access the remote IPC$

PS C:\> net use \\10.11.5.16\IPC$ /user:administrator
Local name
Remote name       \\10.11.5.16\IPC$
Resource type     IPC
Status            OK
# Opens           0
# Connections     1
The command completed successfully.

Open in new window



However, when I try to launch Computer Management from the command line, I receive an Event Viewer window, saying "Access is denied(5)":
compmgmt.msc /computer=10.11.5.16

Open in new window



I also used mmc to load the computer management snap-in to remote host 10.11.5.16.  I then saved the session to the Desktop.  I then ran the program as a different user (Shift+Right-click), but was still unable to connect using the admin credentials.


If I am unable to get this working, is WinRM still a viable alternative, or has that been replaced with a newer tool?

Thank you

-Robert
Avatar of Mahesh
Mahesh
Flag of India image

multiple things need to be considered here

1st of all inbound TCP 445 and NetBIOS ports (UDP137, 138 and TCP 139) must be allowed in firewall of remote machine
$ share must exists on remote machine
Remote management is allowed in firewall
Remote registry service must be running on machine
U need account which is part of local administrators group of remote machine
Normally if machine is domain joined, all above things are automatically taken care unless somebody explicitly change settings
Avatar of Robert

ASKER

@Mahesh - There is no firewall running on the remote machine, so no issues with open ports.
C$ and IPC$ are both accessible from the source machine (I was able to access IPC$ via net use)
Remote registry is set to automatic and is running
I have two user accounts in the administrators group

Are there any other requirements besides remote registry?  SO far, I have been unable to locate any additional details about the "Access is Denied" through Event Viewer on either machine.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.