fixed display issues

This commit is contained in:
jdeckerMS 2016-04-05 11:16:54 -07:00
parent 2e210dc998
commit ec42bc551c
5 changed files with 25 additions and 44 deletions

View File

@ -126,7 +126,7 @@ This topic lists new and updated topics in the [Manage and update Windows 10](in
<td align="left">New</td>
</tr>
<tr class="odd">
<td align="left">Customize Windows 10 Start with mobile device management (MDM)</td>
<td align="left">[Customize Windows 10 Start with mobile device management (MDM)](customize-windows-10-start-screens-by-using-mobile-device-management.md)</td>
<td align="left"></td>
</tr>
</tbody>

View File

@ -83,17 +83,8 @@ This example uses Microsoft Intune to configure an MDM policy that applies a cus
Example of the same layout file with escape characters replacing the markup characters:
<span codelanguage="XML"></span>
<table>
<thead>
<tr class="header">
<th align="left">XML</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td align="left"><pre><code>&amp;lt;wdcml:p xmlns:wdcml=&amp;quot;http://microsoft.com/wdcml&amp;quot;&amp;gt;Example of a layout file produced by Export-StartLayout:&amp;lt;/wdcml:p&amp;gt;&amp;lt;wdcml:snippet xmlns:wdcml=&amp;quot;http://microsoft.com/wdcml&amp;quot;&amp;gt;&amp;lt;![CDATA[&amp;lt;LayoutModificationTemplate Version=&amp;quot;1&amp;quot; xmlns=&amp;quot;http://schemas.microsoft.com/Start/2014/LayoutModification&amp;quot;&amp;gt;
```
&amp;lt;wdcml:p xmlns:wdcml=&amp;quot;http://microsoft.com/wdcml&amp;quot;&amp;gt;Example of a layout file produced by Export-StartLayout:&amp;lt;/wdcml:p&amp;gt;&amp;lt;wdcml:snippet xmlns:wdcml=&amp;quot;http://microsoft.com/wdcml&amp;quot;&amp;gt;&amp;lt;![CDATA[&amp;lt;LayoutModificationTemplate Version=&amp;quot;1&amp;quot; xmlns=&amp;quot;http://schemas.microsoft.com/Start/2014/LayoutModification&amp;quot;&amp;gt;
&amp;lt;DefaultLayoutOverride&amp;gt;
&amp;lt;StartLayoutCollection&amp;gt;
&amp;lt;defaultlayout:StartLayout GroupCellWidth=&amp;quot;6&amp;quot; xmlns:defaultlayout=&amp;quot;http://schemas.microsoft.com/Start/2014/FullDefaultLayout&amp;quot;&amp;gt;
@ -105,10 +96,8 @@ This example uses Microsoft Intune to configure an MDM policy that applies a cus
&amp;lt;/defaultlayout:StartLayout&amp;gt;
&amp;lt;/StartLayoutCollection&amp;gt;
&amp;lt;/DefaultLayoutOverride&amp;gt;
&amp;lt;/LayoutModificationTemplate&amp;gt;]]&amp;gt;&amp;lt;/wdcml:snippet&amp;gt;</code></pre></td>
</tr>
</tbody>
</table>
&amp;lt;/LayoutModificationTemplate&amp;gt;]]&amp;gt;&amp;lt;/wdcml:snippet&amp;gt;
```
2. In the Microsoft Intune administration console, click **Policy** &gt; **Add Policy**.

View File

@ -87,7 +87,7 @@ To support pinning applications in multiple app packages, an AUMID parameter can
The following example shows how to pin both Outlook Mail and Outlook Calendar:
``` syntax
```
<Apps>
<!-- Outlook Calendar -->
<Application productId="{A558FEBA-85D7-4665-B5D8-A2FF9C19799B}" aumid="microsoft.windowscommunicationsapps_8wekyb3d8bbwe!microsoft.windowslive.calendar">

View File

@ -50,7 +50,8 @@ To perform a "wipe and persist" reset, preserving the provisioning applied to th
<SyncBody>
<Exec>
<CmdID>3</CmdID>
<Item> <Target><LocURI>./Vendor/MSFT/RemoteWipe/DoWipePersistProvisionedData</LocURI></Target>
<Item>
<Target><LocURI>./Vendor/MSFT/RemoteWipe/DoWipePersistProvisionedData</LocURI></Target>
</Item>
</Exec>
<Final/>

View File

@ -288,27 +288,21 @@ Alternatively, you can turn on Shell Launcher using the Deployment Image Servici
**To set your custom shell**
- Modify the following PowerShell script as appropriate and run the script on the kiosk device.
Modify the following PowerShell script as appropriate and run the script on the kiosk device.
<span codelanguage=""></span>
<table>
<colgroup>
<col width="100%" />
</colgroup>
<tbody>
<tr class="odd">
<td align="left"><pre><code>$COMPUTER = &quot;localhost&quot;
```
$COMPUTER = &quot;localhost&quot;
$NAMESPACE = &quot;root\standardcimv2\embedded&quot;
# Create a handle to the class instance so we can call the static methods.
# Create a handle to the class instance so we can call the static methods.
$ShellLauncherClass = [wmiclass]&quot;\\$COMPUTER\${NAMESPACE}:WESL_UserSetting&quot;
# This well-known security identifier (SID) corresponds to the BUILTIN\Administrators group.
# This well-known security identifier (SID) corresponds to the BUILTIN\Administrators group.
$Admins_SID = &quot;S-1-5-32-544&quot;
# Create a function to retrieve the SID for a user account on a machine.
# Create a function to retrieve the SID for a user account on a machine.
function Get-UsernameSID($AccountName) {
@ -319,56 +313,53 @@ Alternatively, you can turn on Shell Launcher using the Deployment Image Servici
}
# Get the SID for a user account named &quot;Cashier&quot;. Rename &quot;Cashier&quot; to an existing account on your system to test this script.
# Get the SID for a user account named &quot;Cashier&quot;. Rename &quot;Cashier&quot; to an existing account on your system to test this script.
$Cashier_SID = Get-UsernameSID(&quot;Cashier&quot;)
# Define actions to take when the shell program exits.
# Define actions to take when the shell program exits.
$restart_shell = 0
$restart_device = 1
$shutdown_device = 2
# Examples
# Examples
# Set the command prompt as the default shell, and restart the device if it&#39;s closed.
# Set the command prompt as the default shell, and restart the device if it&#39;s closed.
$ShellLauncherClass.SetDefaultShell(&quot;cmd.exe&quot;, $restart_device)
# Display the default shell to verify that it was added correctly.
# Display the default shell to verify that it was added correctly.
$DefaultShellObject = $ShellLauncherClass.GetDefaultShell()
&quot;`nDefault Shell is set to &quot; + $DefaultShellObject.Shell + &quot; and the default action is set to &quot; + $DefaultShellObject.defaultaction
# Set Internet Explorer as the shell for &quot;Cashier&quot;, and restart the machine if it&#39;s closed.
# Set Internet Explorer as the shell for &quot;Cashier&quot;, and restart the machine if it&#39;s closed.
$ShellLauncherClass.SetCustomShell($Cashier_SID, &quot;c:\program files\internet explorer\iexplore.exe www.microsoft.com&quot;, ($null), ($null), $restart_shell)
# Set Explorer as the shell for administrators.
# Set Explorer as the shell for administrators.
$ShellLauncherClass.SetCustomShell($Admins_SID, &quot;explorer.exe&quot;)
# View all the custom shells defined.
# View all the custom shells defined.
&quot;`nCurrent settings for custom shells:&quot;
Get-WmiObject -namespace $NAMESPACE -computer $COMPUTER -class WESL_UserSetting | Select Sid, Shell, DefaultAction
# Enable Shell Launcher
# Enable Shell Launcher
$ShellLauncherClass.SetEnabled($TRUE)
&quot;`nEnabled is set to &quot; + $DefaultShellObject.IsEnabled()
# Remove the new custom shells.
# Remove the new custom shells.
$ShellLauncherClass.RemoveCustomShell($Admins_SID)
$ShellLauncherClass.RemoveCustomShell($Cashier_SID)
</code></pre></td>
</tr>
</tbody>
</table>
```
## Related topics