Answered SMS can report on the Page File settings?

  • Tuesday, January 12, 2010 12:23 PM
     
     
    I would like to know client pc pagefile settings , Is it possible to know using SMS reports .

    Sasi..
    sasi

All Replies

  • Tuesday, January 12, 2010 12:46 PM
     
     Answered
    The pagefile size is already inventoried by default. Just open Resource Explorer -> Memory -> Total Page File Space (KB).

    SELECT    
    v_R_System.Name0,
    v_GS_X86_PC_MEMORY.TotalPageFileSpace0
    FROM
    v_GS_X86_PC_MEMORY
    INNER JOIN
    v_R_System
    ON
    v_GS_X86_PC_MEMORY.ResourceID = v_R_System.ResourceID
  • Friday, August 06, 2010 6:06 AM
     
     

    Is there an easy way to get a list of all computer where the pagefile size is NOT set by windows?

  • Friday, August 06, 2010 8:16 AM
     
     Proposed Answer

    There does seem to be a section in the SMS_DEF.MOF file that is designed to query the Win32_PageFileSetting class.  It is disabled by default though.

    [ SMS_Report     (FALSE),
      SMS_Group_Name ("Page File Setting"),
      SMS_Class_ID   ("MICROSOFT|PAGE_FILE_SETTING|1.0") ]

    class Win32_PageFileSetting : SMS_Class_Template
    {
        [SMS_Report (FALSE)     ]
            string     Caption;
        [SMS_Report (FALSE)     ]
            string     Description;
        [SMS_Report (FALSE)     ]
            uint32     InitialSize;
        [SMS_Report (FALSE)     ]
            uint32     MaximumSize;
        [SMS_Report (FALSE), key]
            string     Name;
        [SMS_Report (FALSE)     ]
            string     SettingID;
    };

    Setting the entries from FALSE to TRUE might give what you are looking for.  See http://msdn.microsoft.com/en-us/library/aa394245(VS.85).aspx for a description of the class.

    On my system, which has the pagefile set to be system managed I have:-

       wmic.exe pagefileset list full

       Description='pagefile.sys' @ C:\
       InitialSize=0
       MaximumSize=0
       Name=C:\pagefile.sys
       SettingID=pagefile.sys @ C:

    Maybe InitialSize and MaximumSize of 0 means system managed???  Give it a test to see what it gives you.


    Regards,
    Tom Watson,
    E-Mail: Tom_...@...
    Blog: http://myitforum.com/cs2/blogs/tom_watson
    • Proposed As Answer by 5g Monday, June 11, 2012 2:42 PM
    •  
  • Thursday, June 07, 2012 7:25 AM
     
     
    Very Much Thank you....................................