"SWbemServicesEx: Quota Validation" Error while executing a VB Script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mdfidahussain
    New Member
    • Oct 2007
    • 40

    "SWbemServicesEx: Quota Validation" Error while executing a VB Script

    Hello VB Experts,

    I've encountered an error -> "SWbemServicesE x: Quota Validation" while executing a VB Script, infact the script is simple and is also running fine for many servers but only bothers me with this error for a particular server, any idea for which case this would occur??

    ***## Script ##***

    strComputer = "server_nam e"
    Set objWMIService = GetObject("winm gmts:" & "{impersonation Level=impersona te}!\\" & strComputer & "\root\cimv 2")
    '--->Error is occuring in the below line
    Set colSettings = objWMIService.E xecQuery ("Select * from Win32_ComputerS ystem")
    For Each objComputer in colSettings
    Wscript.Echo "System Name: " & objComputer.Nam e
    Wscript.Echo "Domain: " & objComputer.Dom ain
    Wscript.Echo "SystemType : " & objComputer.Sys temType
    Next


    Any sort of help would be highly appreciated !!

    thnx
  • mdfidahussain
    New Member
    • Oct 2007
    • 40

    #2
    Friends,

    Any help????

    waiting for ur valuable reply

    thnx

    Comment

    • mdfidahussain
      New Member
      • Oct 2007
      • 40

      #3
      <reminder>

      Any help friends?

      thnx in advance

      Comment

      • mdfidahussain
        New Member
        • Oct 2007
        • 40

        #4
        Typo on my part:

        it's Quota Violation not Quota Validation.....


        Sorry for the inconvinience caused


        regards

        Comment

        Working...