I'm using Windows Server 2019 but other versions are probably the same.

Our product runs on dedicated servers and uses a NullSessionShare (please don't worry about security there).

In order for the NullSessionsShares registry setting to take effect you have to reboot the server. I am trying to avoid that.

I assumed I could restart a service to make changes to NullSessionShares take effect so that a reboot is not required, but its not happening. So far I've tried

  • Server
  • Netlogon
  • Network connections
  • Workstation

I also tried

gpupdate /force

no luck

Is there a specific service, or other command I can issue that will make the configuration change to NullSessionShares take effect without a reboot ?


  • Also tried ``` Restart-NetAdapter -name "Ethernet"``` and Set-SmbServerConfiguration -EnableSMB2Protocol $false followed by ``` Set-SmbServerConfiguration -EnableSMB2Protocol $true```, then a gpupdate and restart "server" but still no luck – user2728841 Oct 15 '19 at 16:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.