Posts

Showing posts from November, 2016

How To Fix Miracast for a Specific Device when the Firewall blocks All Public Connections

If you are attempting to Miracast from a device that has group policy on it that disables all public connection, the Miracast will fail. You can get around this by getting up a scheduled task.


First, create Task with custom XML Filtering with this filtering

<QueryList>
  <Query Id="0" Path="Microsoft-Windows-WLAN-AutoConfig/Operational">
    <Select Path="Microsoft-Windows-WLAN-AutoConfig/Operational">*[EventData[Data[@Name='SSID'] and (Data='SSID NAME')]]
</Select>
  </Query>
</QueryList>
The script that will run every time the above event happens will run this code:

$source = 'Miracast Wifi Direct Fix' $WifiDirectSSIDName = "SSID Name" New-EventLog -Logname Application -source $source -ErrorAction SilentlyContinue
(Get-ChildItem "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles") |
foreach{if (($PSItem).GetValue("ProfileName") -eq "$Wifi…

My Windows 10 Remove Apps Script

This Script will remove apps but leave Calculator and photos, Sticky Notes and Alarms. Must run as admin to remove provisioned apps. This can be run on an offline image, or an online one.

Edit: Updated 11/14/17 for Creator's Update
Edit2: updated 3/20/18 to add Microsoft.Xbox .TCUI

$applist = "Microsoft.Windows.CloudExperienceHost,
Microsoft.AAD.BrokerPlugin
Microsoft.AccountsControl
Microsoft.BioEnrollment
Microsoft.LockApp
Microsoft.MicrosoftEdge
Microsoft.Windows.AssignedAccessLockApp
Microsoft.Windows.ContentDeliveryManager
Microsoft.Windows.ParentalControls
Microsoft.Windows.ShellExperienceHost
Microsoft.XboxGameCallableUI
Microsoft.XboxIdentityProvider
Windows.ContactSupport
windows.immersivecontrolpanel
Windows.MiracastView
Windows.PrintDialog
Windows.PurchaseDialog
windows.devicesflow
Microsoft.Windows.Cortana
Microsoft.WindowsStore
Microsoft.Windows.FeatureOndemand.InsiderHub
Microsoft.WindowsCalculator
Microsoft.Windows.Photos
Microsoft.Windows.SecondaryTileExperie…