Browse Source

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 năm trước cách đây
mục cha
commit
9bf5205259
1 tập tin đã thay đổi với 10 bổ sung0 xóa
  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"