First of all the BB tells me i'm logged on but I can only create a post as a Guest....


The output of Kixomatic differs with the output of Scriptomatic.

Think it is caused by the following difference in code:

Kix:
Code:
$strComputer = "."
$objWMIService = GetObject("winmgmts:\\" + $strComputer + "\root\cimv2")
$colItems = $objWMIService.ExecQuery("Select * from Win32_PageFile" ,,48 )
...



VBS:
Code:
Const wbemFlagReturnImmediately = &h10
Const wbemFlagForwardOnly = &h20
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_PageFile", "WQL",wbemFlagReturnImmediately + wbemFlagForwardOnly)
...




Output Kix:
Code:

AccessMask:
Archive: -1
Caption: d:\pagefile.sys
Compressed: 0
CompressionMethod:
CreationClassName: CIM_LogicalFile
CreationDate: 20030519153632.421875+120
CSCreationClassName: Win32_ComputerSystem
CSName: computername
Description: d:\pagefile.sys
Drive: d:
EightDotThreeFileName: d:\pagefile.sys
Encrypted: 0
EncryptionMethod:
Extension: sys
FileName: pagefile
FileSize: 401743872
FileType: System file
FreeSpace:
FSCreationClassName: Win32_FileSystem
FSName: NTFS
Hidden: -1
InitialSize: 0
InstallDate: 20030519153632.421875+120
InUseCount:
LastAccessed: 20050121162501.468750+060
LastModified: 20050121162501.468750+060
Manufacturer:
MaximumSize: 0
Name: D:\pagefile.sys
Path: \
Readable: -1
Status: OK
System: -1
Version:
Writeable: -1



Output VBS:
Code:

AccessMask:
Archive: True
Caption: d:\pagefile.sys
Compressed: False
CompressionMethod:
CreationClassName: CIM_LogicalFile

CreationDate: 19-05-2003 15:36:32
CSCreationClassName: Win32_ComputerSystem
CSName: SASX00111
Description: d:\pagefile.sys
Drive: d:
EightDotThreeFileName: d:\pagefile.sys
Encrypted: False
EncryptionMethod:
Extension: sys
FileName: pagefile
FileSize: 401743872
FileType: System file
FreeSpace:
FSCreationClassName: Win32_FileSystem
FSName: NTFS
Hidden: True
InitialSize: 0

InstallDate: 19-05-2003 15:36:32
InUseCount:

LastAccessed: 21-01-2005 16:25:01

LastModified: 21-01-2005 16:25:01
Manufacturer:
MaximumSize: 0
Name: D:\pagefile.sys
Path: \
Readable: True
Status: OK
System: True
Version:
Writeable: True



Any Idea what I have to change in Kix to have the same output as with VBS....

Thanks in Advance

Co