The Win32_Desktop class represents the common characteristics of a user's desktop. The properties of this class can be modified by the user to customize the desktop.
Namespace value is root/CIMV2.
WMI Provider value is CIMWin32.
The BorderWidth property sets the width of the borders around all windows with adjustable borders.
A short textual description (one-line string) of the CIM_Setting object.
The CoolSwitch property indicates whether fasttask switching is turned on. Fast task switching allows the user to switch between windows using the ALT+TAB keyboard combination.
The CursorBlinkRate property indicates the length of time between successive cursor blinks.
A textual description of the CIM_Setting object.
The DragFullWindows property indicates whether the contents of a window are shown when a user moves the window.
Values: TRUE or FALSE. A value of TRUE indicates the content of the window is displayed while the user moves the window.
The GridGranularity property indicates the spacing of the grid that windows are bound to on the desktop. This makes organizing windows easier. The spacing is usually fine enough that the user does not notice it.
The IconSpacing property specifies the spacing between icons.
The IconTitleFaceName property indicates the nameof the font used for the names of the icons.
Example: MS San Serif.
The IconTitleSize property indicates the icon font size.
The IconTitleWrap property indicates whether the icon's title text wraps to the next line.
Values: TRUE or FALSE. A value of TRUE indicates the title wraps to the next line.
The Name property indicates the name that identifies the current desktop profile.
The Pattern property indicates the name of the pattern used as the background for the desktop
The ScreenSaverActive property indicates whether the screen saver is active.
Values: TRUE or FALSE. A value of TRUE indicates the screen saver is active.
The ScreenSaverExecutable property indicates the name of the current screen saver executable file.
The ScreenSaverSecure property determines whether the password is enabled for the screen saver.
Values: TRUE or FALSE. If TRUE, the screen saver password is enabled.
The ScreenSaverTimeout property indicates the amount of time that passes before the screen saver starts.
The identifier by which the CIM_Setting object is known.
The Wallpaper property indicates the file name for the wallpaper design on the background of the desktop.
The WallpaperStretched property indicates whether the wallpaper is stretched to fill the entire screen. Microsoft Plus! must be installed before this option is available.
Values: TRUE and FALSE. A value of TRUE indicates the wallpaper is stretched to fit the entire screen. If FALSE, the wallpaper retains its original dimensions on the desktop background.
The WallpaperTiled property indicates whether the wallpaper is tiled or centered.
Values: TRUE or FALSE. A value of TRUE indicates the wallpaper is tiled.
Method not found.
SELECT * FROM Win32_Desktop
About this site information
This contents is created by WMI having class information.
WMI Environment is Windows Server 2008 R2 Enterprise Edition.
is Microsoft documents for "Managing Windows with WMI"
That is VB(Visual Basic) scripting sample.
is Microsoft documents for "Advanced Programming Topics in WMI .NET"
That is VB.net(Visual Basic .net) scripting sample.