Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Wed Apr 17, 2024 4:14 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
PostPosted: Fri Aug 10, 2012 3:22 am 
Offline
Newbie
User avatar

Joined: Fri Mar 05, 2010 9:20 am
Posts: 14
Looking at the audit script, I'm sure I have no idea what anything means, so here we go:
I've got a machine with a historical record of 7 displays in the registry [code](HKLM\SYSTEM\CurrentControlSet\Enum\DISPLAY)[/code], and it's consistently failing on audits at monitor info:

[code]C:\xampp\OAv2\other>cscript audit_windows_debug.vbs as6655lt
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

starting audit - as6655lt
My PID is : 8120
Audit Start Time : 2012-08-09 11:13:20
Audit Location: remote
-------------------
system info
windows info
bios info
scsi info
processor info
memory info
motherboard info
optical info
modem info
video info
monitor info
C:\xampp\OAv2\other\audit_windows_debug.vbs(1163, 9) Microsoft VBScript runtime error: Subscript out
of range: 'intMonitorCount'
[/code]

Is there an issue with the number of devices the script can handle in my situation, or is it something more in depth than that?

If this is an issue I can't work around, has anyone got any idea about the ability to clean old devices out of the registry in regard to this particular situation?

Thanks,
Outsider27

_________________
Server Info:
OS : Server 2003 R2 Ent & Server 2008 Ent, Server 2000
Auditing: 120 WinXP or Win7 Pro Desktops (Dell, HP, Lenovo), 30 HP Networked Print devices, Cisco, Dell, DLink switches
LDAP: Active Directory Server 2008 Domain


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 10, 2012 3:47 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
It looks like there's a hard coded limit of 11 monitors. You could try the quick fix of expanding this limit by increasing the 10 to something higher in the following code around line 1136.
[code]dim strarrRawEDID(10)
dim temp_model(10)
dim temp_manuf(10)[/code]
Change each 10 to 20 and see what happens.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group