Просмотр исходного кода

Added to re-enable WAP push service and Diagnostics

Added code to re-enable the WAP push service and the diagnostics tracking service.
Richard Newton 6 лет назад
Родитель
Сommit
9bf5205259
1 измененных файлов с 10 добавлено и 0 удалено
  1. 10 0
      Individual Scripts/Revert Changes

+ 10 - 0
Individual Scripts/Revert Changes

@@ -80,3 +80,13 @@
     Get-ScheduledTask  UsbCeip | Enable-ScheduledTask 
     Get-ScheduledTask  DmClient | Enable-ScheduledTask 
     Get-ScheduledTask  DmClientOnScenarioDownload | Enable-ScheduledTask 
+
+    Write-Output "Re-enabling and starting WAP Push Service"
+    #Enable and start WAP Push Service
+	Set-Service "dmwappushservice" -StartupType Automatic
+    Start-Service "dmwappushservice"
+    
+    Write-Output "Re-enabling and starting the Diagnostics Tracking Service"
+    #Enabling the Diagnostics Tracking Service
+	Set-Service "DiagTrack" -StartupType Automatic
+	Start-Service "DiagTrack"