|
@@ -310,6 +310,15 @@
|
|
|
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
|
|
<UserAuthentication>0</UserAuthentication>
|
|
|
</component>
|
|
|
+ <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
|
|
+ <FirewallGroups>
|
|
|
+ <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
|
|
+ <Active>true</Active>
|
|
|
+ <Profile>all</Profile>
|
|
|
+ <Group>@FirewallAPI.dll,-28752</Group>
|
|
|
+ </FirewallGroup>
|
|
|
+ </FirewallGroups>
|
|
|
+ </component>
|
|
|
</settings>
|
|
|
<settings pass="auditSystem" />
|
|
|
<settings pass="auditUser" />
|
|
@@ -457,31 +466,26 @@
|
|
|
</SynchronousCommand>
|
|
|
<SynchronousCommand wcm:action="add">
|
|
|
<Order>20</Order>
|
|
|
- <CommandLine>powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)"</CommandLine>
|
|
|
+ <CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
|
|
<Description>Enable Network Discovery</Description>
|
|
|
</SynchronousCommand>
|
|
|
<SynchronousCommand wcm:action="add">
|
|
|
<Order>21</Order>
|
|
|
- <CommandLine>powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "FPS-.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)"</CommandLine>
|
|
|
+ <CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
|
|
<Description>Enable File Sharing</Description>
|
|
|
</SynchronousCommand>
|
|
|
<SynchronousCommand wcm:action="add">
|
|
|
- <Order>23</Order>
|
|
|
- <CommandLine>powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "RemoteDesktop-[^I].*" | Select-Object DisplayGroup -Unique | % DisplayGroup)"</CommandLine>
|
|
|
- <Description>Add RDP in firewall</Description>
|
|
|
- </SynchronousCommand>
|
|
|
- <SynchronousCommand wcm:action="add">
|
|
|
- <Order>23</Order>
|
|
|
+ <Order>22</Order>
|
|
|
<CommandLine>reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV1 /d 0 /t REG_DWORD /f</CommandLine>
|
|
|
<Description>Disable unsupported hardware notifications</Description>
|
|
|
</SynchronousCommand>
|
|
|
<SynchronousCommand wcm:action="add">
|
|
|
- <Order>24</Order>
|
|
|
+ <Order>23</Order>
|
|
|
<CommandLine>reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV2 /d 0 /t REG_DWORD /f</CommandLine>
|
|
|
<Description>Disable unsupported hardware notifications</Description>
|
|
|
</SynchronousCommand>
|
|
|
<SynchronousCommand wcm:action="add">
|
|
|
- <Order>25</Order>
|
|
|
+ <Order>24</Order>
|
|
|
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
|
|
<Description>Execute custom script from the OEM folder if exists</Description>
|
|
|
</SynchronousCommand>
|