Re: Mapped Drives SMS_DEF.MOF Issue



Actually, it was run under my admin user account on the test machine in
question. i.e., it was run manually and not from an SMS package.



Garth wrote:
Which account is executing the datashift-drives.vbs? If it is the local
system account then you will not get any map network drives.




"BDA" <ba@xxxxxxxxxxxx> wrote in message
news:1168971601.565794.48030@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I'm attempting to collect the mapped network drives of my SMS Advanced
Clients in our SMS 2003 environment.

I'm working with the Datashift-Drives.vbs. I've added the following to
my SMS_DEF.MOF file to collect this information from the test client:

*************


//----------------------
// Mapped Drive Inventory
//----------------------

#pragma namespace("\\\\.\\root\\cimv2\\SMS")
[SMS_Report(TRUE),
SMS_Group_Name("SMX Drives"),
SMS_Class_ID("MICROSOFT|SMXDrives|1.0")]

class SMX_Drives : SMS_Class_Template
{
[SMS_Report(TRUE)]
Boolean Compressed;

[SMS_Report(TRUE)]
string Description;

[SMS_Report(TRUE)]
string DeviceID;

[SMS_Report(TRUE)]
Uint32 DriveType;

[SMS_Report(TRUE)]
string FileSystem;

[SMS_Report(TRUE)]
Uint64 FreeSpace;

[SMS_Report(TRUE)]
Uint32 MediaType;

[SMS_Report(TRUE), Key]
string Name;

[SMS_Report(TRUE)]
string ProviderName;

[SMS_Report(TRUE)]
Uint64 Size;

[SMS_Report(TRUE)]
string VolumeName;

[SMS_Report(TRUE)]
string VolumeSerialNumber;
};

This all appears to work in the Hardware Inventory process when I force
a Hardware Inventory at the client level, however the only drive
displayed is my CD-ROM. Is this the intended behavior of the script or
is it to also to list out my mapped network drives (e.g. my Y: & Z
drives are mapped). I was also concerned about the hardware inventory
being executed via the system account vs. the logged on account. Any
help you could give me would be appreciated.


.



Relevant Pages

  • Re: Mapped Drives SMS_DEF.MOF Issue
    ... system account then you will not get any map network drives. ... I'm attempting to collect the mapped network drives of my SMS Advanced ... string DeviceID; ...
    (microsoft.public.sms.inventory)
  • Re: Two problems sending an E-mail for Outlook 2007 and VB 2005
    ... I'd suspect that you aren't getting a valid Account object, I've used SendUsingAccount with valid Account objects with no problems, although reading that object property only works right in a Send event. ... Dim WordContent As String ... Dim SendPersonName As String ...
    (microsoft.public.outlook.program_vba)
  • Re: Testing Platforms
    ... I think that most of us would just run a separate account on the main ... String "q" ... programming changes relating to data entry screens, report formatting, ... we are current on our support contract) has run hot and cold. ...
    (comp.databases.pick)
  • Re: using multiple locations (network drives) for recorded TV
    ... I have a linksys MCX, ... MCE only needs to continue to record to the standard ... > understand holds more than one string. ... > research I found implied you need to do this for the SYSTEM account not ...
    (microsoft.public.windows.mediacenter)
  • Re: Testing Platforms
    ... I think that most of us would just run a separate account on the main ... String  "q" ... programming changes relating to data entry screens, report formatting, ... we are current on our support contract) has run hot and cold. ...
    (comp.databases.pick)

Loading