📎 AI Summary:
The thread discusses efforts to disable Network Discovery on Windows 10 using a batch file. The original poster encounters errors when running the command, likely due to language differences or system configurations, and seeks assistance. Ultimately, they succeed by adjusting the command to match the French language version of Windows 10, expressing gratitude for the help received.
The thread discusses efforts to disable Network Discovery on Windows 10 using a batch file. The original poster encounters errors when running the command, likely due to language differences or system configurations, and seeks assistance. Ultimately, they succeed by adjusting the command to match the French language version of Windows 10, expressing gratitude for the help received.
- Joined
- May 22, 2012
- Messages
- 4,597
Works ok at my endJust try this but it won't work
= You made a typo or didn't run as admin... could also mean your system has non-default Windows build, like a beta test copy but I assume wx pro or home.error message "no rule corresponding to specified criteria"
Last edited by a moderator:
If somebody can help me to create an exe file.
Cause my bat won't work and if I compile my .bat in .exe it wont work too.
Just need an exe who launch
netsh advfirewall firewall set rule group="Recherche du réseau" new enable=no
Thanks
David
Cause my bat won't work and if I compile my .bat in .exe it wont work too.
Just need an exe who launch
netsh advfirewall firewall set rule group="Recherche du réseau" new enable=no
Thanks
David
Ok I found ! need to replace é by , in the bat !!
When I'm in cmd I need to use
netsh advfirewall firewall set rule group="Recherche du réseau" new enable=no
but for bat file need to use
netsh advfirewall firewall set rule group="Recherche du r,seau" new enable=no
When I'm in cmd I need to use
netsh advfirewall firewall set rule group="Recherche du réseau" new enable=no
but for bat file need to use
netsh advfirewall firewall set rule group="Recherche du r,seau" new enable=no
- Joined
- Aug 12, 2011
- Messages
- 161
Why?
A batch file won't work but a exe (run as admin) should work...
netsh advfirewall firewall set rule group="network discovery" new enable=no
Hmm? Why would you think a batch file wouldn't work? All he needs to do is right click on the *.bat file and choose to Run as Administrator. This allows the batch script to run within an elevated command prompt which is no different than typing the command into an Administrator command prompt.
Similar threads
- Article
- Replies
- 0
- Views
- 2K
- Article
- Replies
- 0
- Views
- 469
- Article
- Replies
- 0
- Views
- 616
- Article
- Replies
- 0
- Views
- 568
- Article
- Replies
- 0
- Views
- 909