File and Printer Sharing on Private networks?

RussF

New Member
Messages
21
Reaction score
5
I have found in NTLite->Settings->Network the ability to turn on Remote Administrative Shares, however it's useless unless you also turn on file and printer sharing. I was unable to find that setting anywhere in NTLite. I also haven't been able to find any documented registry keys to change on the internet. I would like to turn it on in the Private network profile only. Is this possible, or is it one of those things that is better done manually after installation?

Russ
 
There's no Settings to enable File and Printer Sharing in W10/11, because you need to update the Windows Firewall rules. Especially if you want to restrict remote access to Private networks only.

Run this PowerShell command from Post-Setup (Before logon):
Code:
powershell -nop -Command "Set-NetFirewallRule -DisplayGroup 'File And Printer Sharing' -Enabled True -Profile Private"

Turn On or Off File and Printer Sharing in Windows 11
 
That's fantastic garlin ! Will powershell automatically be run elevated since it is run before login?

Russ
 
Commands executed for either Post-Setup mode have admin rights. (Before logon) runs as SYSTEM, and (After logon) has admin rights if you're the primary user (member of Administrators group).
 
Back
Top