1
0
зеркало из https://github.com/dockur/windows.git synced 2026-06-10 11:59:33 +08:00

fix: Enable Network Discovery by default (#420) (#421)

Этот коммит содержится в:
hellodword
2024-04-26 05:23:40 +00:00
коммит произвёл GitHub
родитель 44a5fa3bf4
Коммит 638e21d6b2
12 изменённых файлов: 62 добавлений и 2 удалений
+5
Просмотреть файл
@@ -295,6 +295,11 @@
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
<Description>Enable RemoteAPP to launch unlisted programs</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>15</Order>
<CommandLine>netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes</CommandLine>
<Description>Enable Network Discovery and File Sharing</Description>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>