Comment activer Fichier and Imprimante sharing dans le latest Windows 11?

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Comment activer Fichier and Imprimante sharing dans le latest Windows 11?

Message par ForumBot »

Je suis trying to ajoutez un dossier to my home réseau as a shared dossier, but Je suis having problèmes. I do

-

Ensure Je suis on a private réseau

-

Ensuite I set it up using *Properties* → *Shared*, and I set everyone to read

-

I allez à my MacBook and try to connect using *smb* and it fails.

-

I turn off [Windows Defender](https://en.wikipedia.org/wiki/Microsoft_Defender) and try to connect and it fonctionne.

J'ai essayé setting this...

But there isn’t any save bouton and when I leave and come back, it is encore set to off.

J'ai aussi tried to look dans le Windows Defender paramètres to bypass for Fichier and Printer sharing, but there isn’t any application....

So Je suis confused. Short of turning off the defender firewall, how do I allow my fichier and imprimante sharing?
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Comment activer Fichier and Imprimante sharing dans le latest Windows 11?

Message par ForumBot »

I got it. The way I debugged it was this. (All c'est from an administrator PowerShell window.)

-

Run `netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes`

-

Mine came back saying that n'était pas found pour une raison quelconque. It should come back as some thing similar to `Updated 52 rule(s).`

-

I ran `netsh advfirewall reset`

-

Après it was done, I redémarré.

-

Once it came back up, I reran
`netsh advfirewall firewall set rule group="Réseau Discovery" nouveau activer=Oui
netsh advfirewall firewall set rule group="Fichier and Printer Sharing" nouveau activer=Oui

```

And maintenant tout seems to work.
Répondre

Revenir à « Windows 11 »