- WMI Library -
WMI Libraly > Win32_Desktop Class

Win32_Desktop Class

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.


Properties

  • BorderWidth
  • The BorderWidth property sets the width of the borders around all windows with adjustable borders.
    Example: 3.

  • Caption
  • A short textual description (one-line string) of the CIM_Setting object.

  • CoolSwitch
  • 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.

  • CursorBlinkRate
  • The CursorBlinkRate property indicates the length of time between successive cursor blinks.
    Example: 530.

  • Description
  • A textual description of the CIM_Setting object.

  • DragFullWindows
  • 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.

  • GridGranularity
  • 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.
    Example: 1.

  • IconSpacing
  • The IconSpacing property specifies the spacing between icons.
    Example: 75

  • IconTitleFaceName
  • The IconTitleFaceName property indicates the nameof the font used for the names of the icons.
    Example: MS San Serif.

  • IconTitleSize
  • The IconTitleSize property indicates the icon font size.
    Example: 9.

  • IconTitleWrap
  • 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.

  • Name
  • The Name property indicates the name that identifies the current desktop profile.
    Example: MainProf

  • Pattern
  • The Pattern property indicates the name of the pattern used as the background for the desktop

  • ScreenSaverActive
  • The ScreenSaverActive property indicates whether the screen saver is active.
    Values: TRUE or FALSE. A value of TRUE indicates the screen saver is active.

  • ScreenSaverExecutable
  • The ScreenSaverExecutable property indicates the name of the current screen saver executable file.
    Example: LOGON.SCR.

  • ScreenSaverSecure
  • 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.

  • ScreenSaverTimeout
  • The ScreenSaverTimeout property indicates the amount of time that passes before the screen saver starts.

  • SettingID
  • The identifier by which the CIM_Setting object is known.

  • Wallpaper
  • The Wallpaper property indicates the file name for the wallpaper design on the background of the desktop.
    Example: WINNT.BMP

  • WallpaperStretched
  • 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.

  • WallpaperTiled
  • The WallpaperTiled property indicates whether the wallpaper is tiled or centered.
    Values: TRUE or FALSE. A value of TRUE indicates the wallpaper is tiled.


    Methods

    Method not found.

    Example WQL

    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.

    This link is Microsoft documents for "Managing Windows with WMI".
    That is VB(Visual Basic) scripting sample.
    This link is Microsoft documents for "Advanced Programming Topics in WMI .NET".
    That is VB.net(Visual Basic .net) scripting sample.

    - WMI Library -
    http://library.wmifun.net/

    WMI useful by VB,VB.Net,VC,VC.Net,VC#.Net,VBS(WSH),PowerShell for PC asset management, system monitoring and collecting hardware and software inventory.

    This website is created by Toh.
    Copyright(C) 1997-2016 WMI Fun !!. All rights reserved.
    ^ Go to the top...