Enable admin share using the registry

 

 

Enable admin share using the registry

BY Default the Admin share is disabled in Windows Server 2022 ( in fact, in windows 10 and server 2016 onwards it was). It can be enabled as follows:

 

  1. From the computer you’d like to enable the admin share, click Start or Cortana and immediately type “powershell“. From the list of results, right-click Powershell and select Run as administrator.
  2. Copy and paste the following command into the Powershell window and hit enter.

Enable-NetFirewallRule -DisplayGroup 'File and Printer Sharing'
REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f

  1. Reboot the computer.
  2. You can now browse to the computer’s admin share using a local administrative account of the machine. For example:
    \\computername\c$

 

From <https://cormang.com/2018/01/06/enable-c-admin-share-windows-10-server-2016/>

 

 

 

 

 

 

 

 

 

Created with OneNote.

No comments:

Post a Comment

Removing tiered storage spaces - Windows Server 2022

As part of the work I have done in my homelab with tiered storage on Server 2022 storage spaces , here is a script I created that allows you...