Jump to content

Recommended Posts

Posted

Hi,

Hoping you can help/assist.

I am in the process of setting up a new server for 1 of our schools. I am stumped at the moment as to why I can't seem to access the C drive using either the IP address or name which is \\Hostname\C$.

Can you advise of anything obvious as to why this is or what I've missed or need to enable to be able to access this. Currently stumped at the moment.

Thanks in advance.

Posted

How do I do this?

Please can you advise and also note it is Hyper V Server 2019 which is all command based I’m using.

Thanks

Posted
How do I do this?

Please can you advise and also note it is Hyper V Server 2019 which is all command based I’m using.

Thanks

 

Command I believe is: Set-NetFirewallRule -DisplayGroup "File And Printer Sharing" -Enabled True -Profile Any

 

This should do it on all profiles.

  • Thanks 1
Posted

Thank you for your response.

Just tried the above command but still getting that same error.

Anything else I'm missing. I feel its something obvious but I can't see it

Posted

Deleted and created a new vSwitch (External Network)

Still getting the same error

Should I have created this a External or should there be bother External and Internal?

Posted (edited)

New-VMSwitch -Name "vEthernet" -NetAdapterName Ethernet -AllowManagementOS:$true

 

This PowerShell command creates a new virtual switch with the name vEthernet. The -NetAdapterName parameter is used to specify the physical network adapter to bind. The -AllowManagementOS parameter with a $true value is used to allow the host OS to share the virtual switch and physical NIC with the VMs.

Edited by Primus
Posted (edited)

I used sconfig and setup the remote options in there and you can add specific users you want to manage the host here.

 

These are the commands I used after sconfig:

Enable-WSManCredSSP -Role Server

Enable-PSRemoting

Set-NetFirewallRule -DisplayGroup "File And Printer Sharing" -Enabled True -Profile Domain

 

Specifically the last one allows c$ share access.

 

As PotNoodleTech asked - is it on the domain? Does the user you're using have access?

Edited by Tones
Posted

Yes, it’s on the domain and I am a domain admin.

I’ve managed to get it working. Appreciate all your help with this.

Thanks again.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...