Updated TShell syntax

This commit is contained in:
ManikaDhiman 2019-08-16 09:51:37 +05:30
parent 81790b9e25
commit 7aed7c1ca6

View File

@ -6,7 +6,7 @@ ms.topic: article
ms.prod: w10 ms.prod: w10
ms.technology: windows ms.technology: windows
author: manikadhiman author: manikadhiman
ms.date: 05/21/2019 ms.date: 08/16/2019
ms.reviewer: ms.reviewer:
manager: dansimp manager: dansimp
--- ---
@ -2420,10 +2420,11 @@ To validate this policy:
1. Enable the policy ensure the device is on a cellular network. 1. Enable the policy ensure the device is on a cellular network.
2. Run the scheduled task on your device to check for app updates in the background. For example, on a mobile device, run the following commands in TShell: 2. Run the scheduled task on your device to check for app updates in the background. For example, on a mobile device, run the following commands in TShell:
- `regd delete HKEY_USERS\S-1-5-21-2702878673-795188819-444038987-2781\software\microsoft\windows\currentversion\windowsupdate /v LastAutoAppUpdateSearchSuccessTime /f` ```TShell
regd delete HKEY_USERS\S-1-5-21-2702878673-795188819-444038987-2781\software\microsoft\windows\currentversion\windowsupdate /v LastAutoAppUpdateSearchSuccessTime /f
- `exec-device schtasks.exe -arguments ""/run /tn """"\Microsoft\Windows\WindowsUpdate\Automatic App Update"""" /I""`
exec-device schtasks.exe -arguments '/run /tn "\Microsoft\Windows\WindowsUpdate\Automatic App Update" /I'
```
3. Verify that any downloads that are above the download size limit will complete without being paused. 3. Verify that any downloads that are above the download size limit will complete without being paused.
<!--/Validation--> <!--/Validation-->
@ -2472,11 +2473,6 @@ Added in Windows 10, version 1703. Specifies whether to ignore the MO download
> [!WARNING] > [!WARNING]
> Setting this policy might cause devices to incur costs from MO operators. > Setting this policy might cause devices to incur costs from MO operators.
- `exec-device schtasks.exe -arguments ""/run /tn """"\Microsoft\Windows\WindowsUpdate\AUScheduledInstall"""" /I""`
3. Verify that any downloads that are above the download size limit will complete without being paused.
<!--/Description--> <!--/Description-->
<!--SupportedValues--> <!--SupportedValues-->
The following list shows the supported values: The following list shows the supported values:
@ -2491,6 +2487,11 @@ To validate this policy:
1. Enable the policy and ensure the device is on a cellular network. 1. Enable the policy and ensure the device is on a cellular network.
2. Run the scheduled task on phone to check for OS updates in the background. For example, on a mobile device, run the following commands in TShell: 2. Run the scheduled task on phone to check for OS updates in the background. For example, on a mobile device, run the following commands in TShell:
```TShell
exec-device schtasks.exe -arguments '/run /tn "\Microsoft\Windows\WindowsUpdate\AUScheduledInstall" /I'
```
3. Verify that any downloads that are above the download size limit will complete without being paused.
<!--/Validation--> <!--/Validation-->
<!--/Policy--> <!--/Policy-->