Windows To Go

Check whether a machine used Windows To Go to boot.

John Savill

April 25, 2014

1 Min Read
To Go box

Q: How can I use WMI to determine whether a machine is using Windows To Go?

A: The Win32_OperatingSystem class contains an attribute called PortableOperatingSystem that is set to TRUE if the operating system booted from an external USB device. You can therefore use this attribute to determine whether the operating system booted from external USB and is using Windows To Go. You can also use this information to create collections in solutions such as Configuration Manager.

WMI SELECT * FROM Win32_OperatingSystem WHERE PortableOperatingSystem=True

Or:

PS C:WINDOWSsystem32> WMIC Path Win32_OperatingSystem Get PortableOperatingSystemPortableOperatingSystemFALSE

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like