Missing details in hardware inventory
Hi,
Hardware inventory details about Logical and Physical disks are not available for any of my managed workstations.
ZLM7.2 HP3 server and agents.
Is anyone experiencing the same problem?
Thanks,
Ovidiu
Brunold,
I activated the hardware-inventory-enabled and software-inventory-enabled options in ZCC as you suggested and now it works!
Running rug-getprefs on the SLED10 workstation was reporting hardware inventory was also enabled before (by default), but who knows...
As a side note, rug-getprefs on the SLES10 servers shows that hardware inventory is not enabled by default on that platform.
Thanks a lot for your help!
Ovidiu
Originally Posted by brunold
Ovidiu,
I do not know a document about the inventory process.
I just know what I saw in the logfiles and so on.
Ok when hwinfo reports the disks I think zlm should notice them as well. Have you enabled the zmd setting 'hardware-inventory-enabled' fpr the zlm cleint ?
You can run rug get at the client to check this setting.
If it is not set I would set it in the zcc / configuration / zmd settings because there you can set it globaly for all managed devices. Then you should best restart the zlm clients because I'm not sure if this settings is just activated during client startup.
If this was activated I think the zmd-mesages.log might show some error messages why the inventory is not collected. Grab it from /var/log (code 10) or /var/opt/novell/logs/zenworks (code 9). If there is not enough information the log level of the zlm client can be increased to the debug level to get more output. Search in the file for the string inventory and hwinfo.
Client settings for enhancing the debug output:
rug set log-level debug
rug set log-soap-xml true
rug set log-exception-traces true
Rainer
Similar Messages
-
Missing Hardware Inventory for client - Possible database problems
I have a few workstations with SCCM clients that didn't install correctly. Once uninstalled, and later re-installed, I can't get a hardware inventory from these workstations (windows 8). In the SCCM Console on the device's client activity, Policy Request,
Heartbeat DDR, and Software Scan are all up to date. Hardware Scan remains blank. I have many other Windows 8 VMs that report accurate hardware inventory.
In the C:\Program Files\Microsoft Configuration Manager\Logs\dataldr.log, here are some of the errors:
ERROR - attempt to update non-existent row (sp = pWorkstationStatus_DATA). Invalid command:
exec dbo.pWorkstationStatus_DATA
~Cannot process MIF XXXXXXX.MIF
I've tried removing the client, deleting the client's C:\Windows\SMSCFG.ini file, and deleting the computer entry in the SCCM console. I then waited a few days, reinstalled the SCCM client on the problematic workstation, but I get the same result: Hardware
Inventory date is blank, and errors in the dataldr.log.
I've also gone into the SQL database, and queried one of the problematic machines. There was no entry in System_DATA, System_DISC, or in WorkstationStatus_DATA. I started adding records in the database tables for one problematic machine, with the help of
the dataldr.log. Whenever there was a missing entry, I would add it. I gave up after the most recent:
ERROR - attempt to update non-existent row (sp = pBROWSER_HELPER_OBJECT_DATA). Invalid command:
exec dbo.pWorkstationStatus_DATA
I did another SCCM client uninstall, and delete the smscfg.ini. I changed the hierarchy settings for managing conflicting records to "Manually resolve conflicting records" just to *see* if anything appears. After several days, nothing appears in
Monitoring\System Status\Conflicting Records.
Is there a hardware ID stored somewhere? How can fix this problem with the database?The errors in the dataldr.log are pretty specific about what table a record is missing during an update. If SCCM needs to update a record that doesn't exist, why not create, so SCCM can update it?
When I uninstalled the client, deleted the smscfg.ini file from the client, deleted the device in SCCM, and reinstalled the client, I get a brand new ResourceID. I kept track of previous ResourceIDs, and deleted records associated with those old ResourceIDs.
Because updating a single table will not update everything that is need. Then you will get into interesting issues where the wrong ResourceID is populated for different computers.
Running the Heartbeat discovery (discovery data collection cycle) should solved your problem by create creating the PC within CM12. if it doesn't then you have a bigger issue and you need to dig deeper into the logs to find out why.
I would start by tracking the DDR fro the computer to the MP then to the inboxes and finally into the db. This will get you started.
http://www.enhansoft.com/blog/troubleshooting-inventory-flow
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
What is missing part check in inventory
Hi Experts,
I want to know what is missing part check in inventory ?
Thanks !Hi Dipika,
A missing part is a stock of material that is already assigned to a goods issue at the time of goods receipt.This means that a current requirement could not be covered from existing stock(shortage or requirement undercoverage situation).As a rule,such a missing part bypasses the warehouse and ,upon receipt ,is forwarded directly to the point at which it is needed.However,this is only possible if the entered and the responsible materials planner are informed of such receipt.
You must make following settings in customizing for <b><i>Inventory management and physical inventory under Goods Receipt>Set Missing Parts Check</i></b>
1)<b>Activation of missing part check per plant</b>
2)<b>Definition of a checking rule</b>
3)<b>Specification of the details for control of the availability check</b>:To use the missing part check,you must enter a checking horizon for the missing part check.The checking horizon indcates for how many days in the future the system checks whether shortfall quantities exist for the material.Within the checking horizon,an email is sent from inventory management informing the materials planner that there has been a goods receipt for a missing part.
4)<b>Assignment of checking rule:</b>At transaction level,the missing part check uses the same checking rules as the availability check.However,you have the option of maintaining different checking rules at movement type level.The checking rule of the movement type takes precedence over that of the transaction.Note that an entry for the movement type without an entry for the transaction has no effect.
5)<b>Specification of the mail receipient(Email user):</b>The system sends the missing part message to materials planner(MRP Controller) responsible for the material.In order for this to happen,a user ID must be assigned to the materials planner
6)<b>Specifications of missing part expediter</b>:If no user ID assigned to the responsible materials planner,the message is ent to the central missing part expediter responsible for the plant.This person is defined per plant.
Reward if useful
Thanks and reagrds
SHYAM.R -
Delete aged inventory - does not delete extended hardware inventory
Hello, I am hoping somebody can help me with customized hardware inventory
We recently extended the hardware inventory to pull data from a registry key (hkeylocalmachine\software\asset).
We used Sherry Kissinger's guide, and I can't thank her enough for posting it!
http://myitforum.com/cs2/blogs/skissinger/archive/2011/07/14/configmgr2012beta2-hardware-inventory-registry-customization.aspx
We also have a custom report based off of the extended hardware inventory.
However, I noticed that the data for a client I deleted a few days ago is still in the database. My custom report can still pull data from SQL on it.
I did some research here on the forums, and found out I should set a task to delete it.
I went in to site maintenance, and set the "delete aged inventory" from 90 days to everyday, and the data is still there.
From what I have read on these forums, it is not a good idea to go in to SQL and delete the data manually.
I am not sure how to resolve this problem.
Few questions I have :
1) shouldn't deleting the SCCM client - delete the inventory from the database?
2) are custom hardware inventory not included in the task "delete aged inventory"?
3) is it safe to delete it from SQL server?
Thanks in advance!Yes, I know this is an old post, but I’m trying to clean them up. Did you solve this problem, if so what was the solution?
In CM12 data is not deleted on the fly, instead it is marked as deleted and then it will be deleted a while later. See this blog post for more details.
http://www.enhansoft.com/blog/get-the-most-accurate-and-up-to-date-data-using-the-v_r_system_valid-sql-query-in-configuration-manager-2012
1) see the blog post
2) yes they are but also see the blog post.
3) It is never safe to do this.
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
SCCM 2012 Secondary site some client's are scan hardware inventory for more than 30 days
Hi,
In our SCCM 2012 environment we have secondary site configured which connected with 8500 computers, on those 5500 machines scanning hardware inventory and send latest inventory details to Secondary Site Management Point, but remaing 3000 machines are not
sending latest hardware inventory for more than 30 days. I verified clients log found it is generating report on inventory agent.log however it is not available with secondary site Management Point.
Are anyone experienced this issue, please share your thought how to fix this issue.
Thanks in advance.
MadhanYes i did verify but the client isn't listed on both log files. Also i couldn't open IIS log because of it size has more than 800MB. currently this site has connected with 8500 machines do you think these many clients are supported by secondary site server.
If you can't open the IIS log then how do you know that the Client's IP is not listed within them?
5000 is the max for a secondary site. You will need to secondary sites at this location.
http://technet.microsoft.com/en-us/library/gg682077.aspx#BKMK_SupConfigClientNumbers
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
Custom Reporting on Imported Hardware Inventory set classes for USB Super Speed driver
I am trying to create a report with report builder 3.0 to pull data on a USB Super Speed driver under
ClassContext("local|HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Class{36fc9e60-c465-11cf-8056-444553540000}")
I tried following the article
http://blogs.technet.com/b/configmgr_geek_speak/archive/2013/11/10/inventorying-and-reporting-network-adapter-driver-details-and-how-to-report-only-the-wireless-type-in-configuration-manager-2012.aspx and changed a few of the Class descriptions and cannot
get any data in the report.
I imported this into the Hardware Inventory set classes:
#pragma namespace ("\\\\.\\root\\cimv2\\sms")
[ SMS_Report (TRUE),
SMS_Group_Name ("USB"),
SMS_Class_ID ("MICROSOFT|USB|1.0"),
Namespace ("\\\\\\\\localhost\\\\root\\\\cimv2") ]
class Win32Reg_USB : SMS_Class_Template
[SMS_Report (TRUE), key ]
string Index;
[SMS_Report (TRUE) ]
string DriverDesc;
[SMS_Report (TRUE) ]
string DriverVersion;
[SMS_Report (TRUE) ]
string DriverDate;
[SMS_Report (TRUE) ]
string ProviderName;
Under the Configuration.mof file I am not sure what to change in order to report on this. Any help appreciated. We are looking for all of the USB super speed driver details.
Thanks,
Brithave you looked at V_GS_system_Device if your device info available or not ? Use the below SQL query to list all system devices on your clients.
SELECT DISTINCT name0 FROM v_GS_SYSTEM_DEVICES
GROUP BY name0
Eswar Koneti | Configmgr Blog: www.eskonr.com | Linkedin: Eswar Koneti
| Twitter: eskonr -
Hi there,
since a few days there is on some machines (40-60) a high cpu usage on one core (quad core cpu machines) with the WMIPRSVE.EXE if the HARDWARE INVENTORY CYCLE started.
i try out some tests, read some forum articles and troubleshooting the WMI management but a real problem i doesn´t see.
in some articles i read that hardware inventory runs about minutes up to more hours but some machines runs longer, someone more as 1 day.
here an example of mine PC:
at 8:07 i started Hardware Inventory Cycle, in the InventoryAgent.log i can see that some Collection Namespace are captured.
after a few minutes there stopped and does nothing round about 5.9 hours or better, after 21436.097 Seconds.
For any hints i am grateful. :)
Inventory: *********************** Start of message processing. ***********************
InventoryAgent 18.03.2015 08:09:56
11088 (0x2B50)
Inventory: Message type is InventoryAction InventoryAgent
18.03.2015 08:09:56 11088 (0x2B50)
Inventory: Temp directory = C:\WINDOWS\CCM\Inventory\Temp\
InventoryAgent 18.03.2015 08:09:56
11088 (0x2B50)
Inventory: Clearing old collected files. InventoryAgent
18.03.2015 08:09:56 11088 (0x2B50)
Inventory: Opening store for action {00000000-0000-0000-0000-000000000001} ...
InventoryAgent 18.03.2015 08:09:56
11088 (0x2B50)
CInvState::VerifyInventoryVersionNumber: Mismatch found for '{00000000-0000-0000-0000-000000000001}': 4.2 vs. 0.0
InventoryAgent 18.03.2015 08:09:56
11088 (0x2B50)
Inventory: Version number mismatch; will do a Full report.
InventoryAgent 18.03.2015 08:09:56
11088 (0x2B50)
Inventory: Action=Hardware, ReportType=ReSync, MajorVersion=5, MinorVersion=0
InventoryAgent 18.03.2015 08:09:56
11088 (0x2B50)
Inventory: Initialization completed in 0.141 seconds
InventoryAgent 18.03.2015 08:09:56
11088 (0x2B50)
Collection: Namespace = \\localhost\root\Microsoft\appvirt\client; Query = SELECT __CLASS, __PATH, __RELPATH, CachedLaunchSize, CachedPercentage, CachedSize, LaunchSize, Name, PackageGUID, TotalSize, Version, VersionGUID FROM Package; Timeout = 600 secs.
InventoryAgent 18.03.2015 08:09:56
7836 (0x1E9C)
Failed to get IWbemService Ptr for \\localhost\root\vm\VirtualServer Namespace: 8004100E
InventoryAgent 18.03.2015 08:10:02
7836 (0x1E9C)
Failed to enumerate instances of VirtualMachine: 8004100E
InventoryAgent 18.03.2015 08:10:02
7836 (0x1E9C)
Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, AddressWidth, BrandID, CPUHash, CPUKey, DataWidth, DeviceID, Family, Is64Bit, IsHyperthreadCapable, IsMobile, IsTrustedExecutionCapable, IsVitualizationCapable, Manufacturer,
MaxClockSpeed, Name, NormSpeed, NumberOfCores, NumberOfLogicalProcessors, PCache, ProcessorId, ProcessorType, Revision, SocketDesignation, Status, SystemName, Version FROM SMS_Processor; Timeout = 600 secs.
InventoryAgent 18.03.2015 08:10:02
7836 (0x1E9C)
Collection: Namespace = \\.\root\CCM\powermanagementagent; Query = SELECT __CLASS, __PATH, __RELPATH, Requester, RequesterInfo, RequesterType, RequestType, Time, UnknownRequester FROM CCM_PwrMgmtLastSuspendError; Timeout = 600 secs.
InventoryAgent 18.03.2015 08:10:03
7836 (0x1E9C)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Availability, Description, DeviceID, Manufacturer, Name, Status FROM Win32_IDEController; Timeout = 600 secs.
InventoryAgent 18.03.2015 08:10:03
7836 (0x1E9C)
Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, BinFileVersion, BinProductVersion, Description, ExecutableName, FilePropertiesHash, FilePropertiesHashEx, FileSize, FileVersion, HasPatchAdded, InstalledFilePath, IsSystemFile,
IsVitalFile, Language, Product, ProductCode, ProductVersion, Publisher FROM SMS_InstalledExecutable; Timeout = 600 secs.
InventoryAgent 18.03.2015 08:10:03
7836 (0x1E9C)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, DefaultIPGateway, DHCPEnabled, DHCPServer, DNSDomain, DNSHostName, Index, IPAddress, IPEnabled, IPSubnet, MACAddress, ServiceName FROM Win32_NetworkAdapterConfiguration; Timeout
= 600 secs. InventoryAgent
18.03.2015 14:06:43 7836 (0x1E9C)
Collection: Namespace = \\.\root\Nap; Query = SELECT __CLASS, __PATH, __RELPATH, description, fixupState, friendlyName, id, infoClsid, isBound, percentage, registrationDate, vendorName, version FROM NAP_SystemHealthAgent; Timeout = 600 secs.
InventoryAgent 18.03.2015 14:06:43
7836 (0x1E9C)
Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, AdditionalProductCodes, CompanyName, ExplorerFileName, FileDescription, FilePropertiesHash, FileSize, FileVersion, FolderPath, LastUsedTime, LastUserName, msiDisplayName,
msiPublisher, msiVersion, OriginalFileName, ProductCode, ProductLanguage, ProductName, ProductVersion, SoftwarePropertiesHash FROM CCM_RecentlyUsedApps; Timeout = 600 secs.
InventoryAgent 18.03.2015 14:06:43
7836 (0x1E9C)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, BankLabel, Capacity, Caption, CreationClassName, DataWidth, Description, DeviceLocator, FormFactor, HotSwappable, InstallDate, InterleaveDataDepth, InterleavePosition, Manufacturer,
MemoryType, Model, Name, OtherIdentifyingInfo, PartNumber, PositionInRow, PoweredOn, Removable, Replaceable, SerialNumber, SKU, Speed, Status, Tag, TotalWidth, TypeDetail, Version FROM Win32_PhysicalMemory; Timeout = 600 secs.
InventoryAgent 18.03.2015 14:07:02
7836 (0x1E9C)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Availability, Description, DeviceID, InstallDate, Manufacturer, Name, PNPDeviceID, ProductName, Status FROM Win32_SoundDevice; Timeout = 600 secs.
InventoryAgent 18.03.2015 14:07:02
7836 (0x1E9C)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Caption, ClassGuid, ConfigManagerErrorCode, ConfigManagerUserConfig, CreationClassName, Description, DeviceID, Manufacturer, Name, PNPDeviceID, Service, Status, SystemCreationClassName,
SystemName FROM Win32_USBDevice; Timeout = 600 secs.
InventoryAgent 18.03.2015 14:07:12
7836 (0x1E9C)
Collection: 62/74 inventory data items successfully inventoried.
InventoryAgent 18.03.2015 14:07:12
7836 (0x1E9C)
Inventory: Collection Task completed in 21436.097 seconds
InventoryAgent 18.03.2015 14:07:12
7836 (0x1E9C)
Inventory: 12 Collection Task(s) failed. InventoryAgent
18.03.2015 14:07:12 7836 (0x1E9C)
Inventory: Temp report = C:\WINDOWS\CCM\Inventory\Temp\25bf01b2-12fc-4eea-8e97-a51b3c75ba50.xml
InventoryAgent 18.03.2015 14:07:12
7836 (0x1E9C)
Inventory: Starting reporting task. InventoryAgent
18.03.2015 14:07:12 7552 (0x1D80)
Reporting: 4381 report entries created. InventoryAgent
18.03.2015 14:07:13 7552 (0x1D80)
Inventory: Reporting Task completed in 1.030 seconds
InventoryAgent 18.03.2015 14:07:13
7552 (0x1D80)
Inventory: Successfully sent report. Destination:mp:MP_HinvEndpoint, ID: {5541A94A-BED9-4132-AE54-110CB6896F02}, Timeout: 80640 minutes MsgMode: Signed, Not Encrypted
InventoryAgent 18.03.2015 14:07:13
7552 (0x1D80)
Inventory: Cycle completed in 21453.570 seconds
InventoryAgent 18.03.2015 14:07:30
7552 (0x1D80)
Inventory: Action completed. InventoryAgent
18.03.2015 14:07:30 7552 (0x1D80)
Inventory: ************************ End of message processing. ************************
InventoryAgent 18.03.2015 14:07:30
7552 (0x1D80)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Caption, ClassGuid, ConfigManagerErrorCode, ConfigManagerUserConfig, CreationClassName, Description, DeviceID, Manufacturer, Name, PNPDeviceID, Service, Status, SystemCreationClassName,
SystemName FROM Win32_USBDevice; Timeout = 600 secs.
InventoryAgent 18.03.2015 14:07:12
7836 (0x1E9C)
Collection: 62/74 inventory data items successfully inventoried.
InventoryAgent 18.03.2015 14:07:12
7836 (0x1E9C)
Inventory: Collection Task completed in 21436.097 seconds
InventoryAgent 18.03.2015 14:07:12
7836 (0x1E9C)
Inventory: 12 Collection Task(s) failed. InventoryAgent
18.03.2015 14:07:12 7836 (0x1E9C)
Inventory: Temp report = C:\WINDOWS\CCM\Inventory\Temp\25bf01b2-12fc-4eea-8e97-a51b3c75ba50.xml
InventoryAgent 18.03.2015 14:07:12
7836 (0x1E9C)
Inventory: Starting reporting task. InventoryAgent
18.03.2015 14:07:12 7552 (0x1D80)
Reporting: 4381 report entries created. InventoryAgent
18.03.2015 14:07:13 7552 (0x1D80)
Inventory: Reporting Task completed in 1.030 seconds
InventoryAgent 18.03.2015 14:07:13
7552 (0x1D80)
Inventory: Successfully sent report. Destination:mp:MP_HinvEndpoint, ID: {5541A94A-BED9-4132-AE54-110CB6896F02}, Timeout: 80640 minutes MsgMode: Signed, Not Encrypted
InventoryAgent 18.03.2015 14:07:13
7552 (0x1D80)
Inventory: Cycle completed in 21453.570 seconds
InventoryAgent 18.03.2015 14:07:30
7552 (0x1D80)
Inventory: Action completed. InventoryAgent
18.03.2015 14:07:30 7552 (0x1D80)
Inventory: ************************ End of message processing. ************************
InventoryAgent 18.03.2015 14:07:30
7552 (0x1D80)InventoryAgent 18.03.2015 08:10:03
7836 (0x1E9C)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, DefaultIPGateway, DHCPEnabled, DHCPServer, DNSDomain, DNSHostName, Index, IPAddress, IPEnabled, IPSubnet, MACAddress, ServiceName FROM Win32_NetworkAdapterConfiguration; Timeout
= 600 secs. InventoryAgent
18.03.2015 14:06:43 7836 (0x1E9C)
Collection: Namespace = \\.\root\Nap; Query = SELECT __CLASS, __PATH, __RELPATH, description, fixupState, friendlyName, id, infoClsid, isBound, percentage, registrationDate, vendorName, version FROM NAP_SystemHealthAgent; Timeout = 600 secs.
InventoryAgent 18.03.2015 14:06:43
7836 (0x1E9C)
Looks like something in one or both of those wmi queries. it goes from 8:10:03 to 14:06:43 right around there. 6 hours to do that...
try running those queries from wbemtest manually; and see which one just never finishes.
Standardize. Simplify. Automate. -
Deploying custom report for custom hardware inventory data.
Hi!
I want do the following:
1) Extend Hardware Inventory using my own *.mof file. Like,
#pragma namespace ("\\\\.\\root\\cimv2\\SMS")
[ SMS_Report (TRUE),
SMS_Group_Name ("My Inventory"),
SMS_Class_ID ("CUSTOM|My_Inventory|4.0") ]
class My_Inventory : SMS_Class_Template
[SMS_Report(TRUE)] string SerialNumber;
[SMS_Report(TRUE)] string SomeData;
2) Extend Reporting system with my own report that will use data from custom hardware inventory. For example, joins inventoried data with SCCM resources.
3) Deploy 1) and 2) programmatically to any sccm installation. So, report should not be linked to concrete data source or report server url.
If you know the tools that may help me, it will be very helpful! Many thanks!You should ask the .rdl part from the SQL Reporting services forums, you should get better answers from there, because this isn't purely a ConfigMgr issue.
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlreportingservices -
Some Hardware inventory values get translated/localized to local language of the workstation
Hi all,
I am doing hardware inventory in SCCM 2012 R2, I have included the OSArchitecture (actually displayed as "OS Architecture") property for the "Operating System" class (the Win32_OperatingSystem WMI class actually). The data gather correctly
- from Windows 6.x+ while there is nothing from Windows XP/2003, which is correct according to documentation of the WMI class. That is OK. So inventory works fine.
My problem is different - for some workstations, the value is localized. Normally, there should be just "64-bit" or "32-bit", but on some of my Czech workstations, the value is "64bitovy" or "32bitovy". This indicates
the WMI values are obtained as localized.
Though, if I try to query WMI on the problematic workstation from PowerShell, the value is in English, so the WMI can produce the English value as well, if necessary.
How can I switch SCCM Hardware Inventory to gather non-localized WMI values from all workstations?
thank you!hello, yes, the caption is also localized.
it appears like the Display Language of the Operating System account makes the difference. If I install English language pack for OS (not SCCM client) on the client machine and switch the Display Language for the operating system profile, the hardware
inventory changes to display English 64-bit value.
It works exactly the same when querying Win32_OperatingSystem from PowerShell. If the user has his display language set as Czech, powershell returns value of "64bitovy", if the user changes his display language to English, PowerShell displays the value
as "64-bit".
So as the SCCM client runs under System account, it just queries Win32_OperatingSystem and returns what it gets to SCCM server.
One solution would be to change system display langauge to English on all workstations, but this seems like impossible.
Isn't there a method by which I would make all my SCCM clients query in English locale instead? -
Function module related to FI/CO any vendor missing details
Hi,
Is there any function moduel or standard program to know the vendor missing details, like vendor missing in bank information or vendor missing payment terms and vendor missing in payment method, reconciliation account bla...bla...bla...
please do helpfull....
thanks a lot...Check this Report, RFKKVZ00.
This will give you all the information about the Vendor.
Regards,
Naimesh Patel -
FMS for auto populating itemcodes in detail grid of Inventory Transfer
Hi All,
Could anyone please give me the query for Formatted search to populate item codes in the detail grid of 'Inventory Transfer' automatically based on Production Order details, by selecting a 'Production Order No.' in a UDF in Inventory Transfer entry.
I had tried the following FMS Query :
Declare @LineNum Int
Declare @ProdNo Varchar(10)
Declare @ItemNo Varchar(40)
Set @LineNum = $[$23.0.62]
Set @ProdNo = $[OWTR.U_ProdOrderNo]
Set @ItemNo = (Select WOR1.itemcode From OWOR Inner Join WOR1 on OWOR.DocEntry = WOR1.DocEntry
And OWOR.DocNum = @ProdNo and WOR1.VisOrder = @LineNum - 1 )
Select @ItemNo
But user has to manually click on the itemcode FMS icon on each and every row to set the itemcode in that particular row.
Can all the itemcodes get populated in 1 go just by selecting the Production Order No ?
Thanks,
WilliamHi William,
You can also use the shortcut key Shift+Alt+F2 to open User Defined Table as specified by Nagarajan.
Please check following link too
Working with User Defined Values in SAP Business One | Packt Publishing
Regards
JO -
Hardware Inventory, with a comma
I am unable to add an item to Hardware Inventory and it appears this because it has a comma. Looking for ways to work around this or do some preprocessing maybe.
I was hoping to gather Fiber Channel info including WWNs so I have added Root\wmi\msfc_AdapterHBAAttributes. The system collects them correctly and transfers them to the server.
Collection: Namespace = root\wmi; Query = SELECT __CLASS, __PATH, __RELPATH, InstanceName, NodeWWN , Manufacturer, Model, ModelDescription, OptionROMVersion FROM MSFC_FCAdapterHBAAttributes; Timeout = 600 secs. InventoryAgent 1/30/2014 2:50:32
PM 1228 (0x04CC)
The server however fails to process the data, apparent because there is a comma in it.
Compilation failed~syntax error on line 19563, token ',' SMS_INVENTORY_DATA_LOADER 1/30/2014 1:50:17 PM 5308 (0x14BC)
Could not convert MIF file D:\Microsoft Configuration Manager\inboxes\auth\dataldr.box\Process\XHJXC58TD.MIF for SQL processing SMS_INVENTORY_DATA_LOADER 1/30/2014 1:50:17 PM
5308 (0x14BC)
A look at the data passed shows, sure enough, there is a comma in wwn. this is kinda the info I want so I do not want to omit it.
Start Group
Name = "Fibre Channel HBA"
ID = 1076
Class = "MICROSOFT|MSFC_FCADAPTERHBAATTRIBUTES|1.0"
Pragma = "SMS:ADD"
Key = 1
Start Attribute Name = "InstanceName" ID = 1 Type = String Value = "PCI\\VEN_1077&DEV_2532&SUBSYS_3262103C&REV_02\\4&1f5076ed&0&0040_0" End Attribute
Start Attribute Name = "Manufacturer" ID = 2 Type = String Value = "QLogic Corporation" End Attribute
Start Attribute Name = "Model" ID = 3 Type = String Value = "HPAK344A" End Attribute
Start Attribute Name = "ModelDescription" ID = 4 Type = String Value = "QLogic HPAK344A Fibre Channel Adapter" End Attribute
Start Attribute Name = "NodeWWN" ID = 5 Type = Integer Value = 80, 1, 67, 128, 9, 172, 54, 59 End Attribute
Start Attribute Name = "OptionROMVersion" ID = 6 Type = String Value = "2.15" End Attribute
End Group
I was thinking of running a script to read the data, massage it and write it to a custom key but really?
Any help would be appreciated.OK.
So this would be a bit of a Microsoft bug I guess. The WMI instance clearly states it is an array of integers however selecting the attribute as a new inventory item using the SCCM 2012 GUI does not correctly add it to the mof as an array.
Here is what the tool created below.
I modified the line UInt8 NodeWWN; to be UInt8 NodeWWN[]; and reimported it.
Forced an inventory but it errored with a delta mismatch.
Forced a full inventory (gwmi -Namespace root\ccm\invagt -Class InventoryActionStatus -Filter "InventoryActionID = '{00000000-0000-0000-0000-000000000001}'" | Remove-WmiObject) and all good now. Collects wwn ok.
Thanks
[ SMS_Report (TRUE),
SMS_Group_Name ("Fibre Channel HBA"),
SMS_Class_ID ("MICROSOFT|MSFC_FCADAPTERHBAATTRIBUTES|1.0"),
Namespace ("root\\\\wmi") ]
class MSFC_FCAdapterHBAAttributes : SMS_Class_Template
[ SMS_Report (TRUE), key ]
String InstanceName;
[ SMS_Report (FALSE) ]
Boolean Active;
[ SMS_Report (FALSE) ]
String DriverName;
[ SMS_Report (FALSE) ]
String DriverVersion;
[ SMS_Report (FALSE) ]
String FirmwareVersion;
[ SMS_Report (FALSE) ]
String HardwareVersion;
[ SMS_Report (FALSE) ]
UInt32 HBAStatus;
[ SMS_Report (FALSE) ]
String Manufacturer;
[ SMS_Report (FALSE) ]
String MfgDomain;
[ SMS_Report (FALSE) ]
String Model;
[ SMS_Report (FALSE) ]
String ModelDescription;
[ SMS_Report (FALSE) ]
String NodeSymbolicName;
[ SMS_Report (TRUE) ]
UInt8 NodeWWN;
[ SMS_Report (FALSE) ]
UInt32 NumberOfPorts;
[ SMS_Report (FALSE) ]
String OptionROMVersion;
[ SMS_Report (FALSE) ]
String SerialNumber;
[ SMS_Report (FALSE) ]
UInt64 UniqueAdapterId;
[ SMS_Report (FALSE) ]
UInt32 VendorSpecificID; -
Add Hardware Inventory Classes - ClientSDK
Hi,
I'm trying to add a new Hardware Class to SCCM 2012 but keep hitting an issue.
The actual WMI class I'm trying to add is "CCM_Application" within "root\ccm\clientSDK".
I can add the Hardware class by connecting to a remote client (via the connect option within the Add Hardware Classes) and it shows up in the inventory classes OK.
But on updating the client machine policy, and start a Hardware Invetory action, the inventory fails with the following message in the InventoryAgent.log file:
Collection: Namespace = root\ccm\clientSDK; Query = SELECT __CLASS, __PATH, __RELPATH, Id, IsMachineTarget, Revision, AllowedActions, ApplicabilityState, ConfigureState, ContentSize, Deadline, DeploymentReport, Description, EnforcePreference, ErrorCode,
EstimatedInstallTime, EvaluationState, FileTypes, FullName, Icon, InformativeUrl, InProgressActions, InstallState, IsPreflightOnly, LastEvalTime, LastInstallTime, Name, NextUserScheduledTime, NotifyUser, OverrideServiceWindow, PercentComplete, Publisher, RebootOutsideServiceWindow,
ReleaseDate, ResolvedState, SoftwareVersion, StartTime, SupersessionState, Type, UserUIExperience FROM CCM_Application; Timeout = 600 secs.
Unknown error encountered processing an instance of class CCM_Application: 80041024
If, on the client machine, I run the following command in PowerShell
Get-WmiObject -ComputerName . -Namespace "root\ccm\clientSDK" -Query "select FullName from CCM_Application"
I get the following error:
Get-WmiObject : Provider is not capable of the attempted operation
At line:1 char:1
+ Get-WmiObject -ComputerName . -Namespace "root\ccm\clientSDK" -Query "select Ful ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Get-WmiObject], ManagementException
+ FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
But if I run the following command:
Get-WmiObject -ComputerName . -Namespace "root\ccm\clientSDK" -Query "select * from CCM_Application" | Select FullName
The results are returned OK.
So it looks as though you cannot select instances but have to use select *
The question I'm asking is that, is it possible to change the query used by SCCM so that select * is used instead of each instance?
ThanksAlthough I agree with Jason it's a goofy request, here's a way to get some of the information back. You have to have two edits.
Add this to the bottom of your Configuration.mof in inboxes\clifiles.src\hinv:
[Union, ViewSources{"select * from CCM_Application"},ViewSpaces{"\\\\.\\root\\ccm\\clientsdk"}, dynamic,Provider("MS_VIEW_INSTANCE_PROVIDER")]
class cm_ClientSDKCCMApplication
[PropertySources{"Id"},key] string Id;
[PropertySources{"IsMachineTarget"},key] boolean IsMachineTarget;
[PropertySources{"Revision"},key] string Revision;
[PropertySources{"ApplicabilityState"}] string ApplicabilityState;
[PropertySources{"ErrorCode"}] uint32 ErrorCode;
[PropertySources{"FullName"}] string FullName;
[PropertySources{"LastEvalTime"}] datetime LastEvalTime;
[PropertySources{"LastInstallTime"}] datetime LastInstallTime;
[PropertySources{"StartTime"}] datetime StartTime;
[PropertySources{"UserUIExperience"}] boolean UserUIExperience;
In your Default Client Agent Settings, Hardware Inventory, delete whatever it is you have for this. Save the below as "ImportThis.mof", and in Default Client Agent Settings, Hardware Inventory, Import... and import it.
[ SMS_Report (FALSE),
SMS_Group_Name ("ClientSDKApps"),
SMS_Class_ID ("ClientSDKApps"),
SMS_Namespace (FALSE) ]
class cm_ClientSDKCCMApplication : SMS_Class_Template
[SMS_Report(TRUE),key] string Id;
[SMS_Report(TRUE),key] boolean IsMachineTarget;
[SMS_Report(TRUE),key] string Revision;
[SMS_Report(TRUE) ] string ApplicabilityState;
[SMS_Report(TRUE) ] uint32 ErrorCode;
[SMS_Report(TRUE) ] string FullName;
[SMS_Report(TRUE) ] datetime LastEvalTime;
[SMS_Report(TRUE) ] datetime LastInstallTime;
[SMS_Report(TRUE) ] datetime StartTime;
[SMS_Report(TRUE) ] boolean UserUIExperience;
As always, monitor dataldr.log, machine policy refreshes on clients, and see what you get back.
Standardize. Simplify. Automate. -
Can CM12 hardware inventory get more information by calling a WMI Method
Hello Everyone,
i have a question for CM12 hardware inventory. here is my question
i'm now have a powershell script which can lists all the shared folder permissions or NTFS permissions. This powershell get such information by calling a WMI Method in Win32_LogicalShareSecuritySetting.
here is the powershell link http://gallery.technet.microsoft.com/scriptcenter/Lists-all-the-shared-5ebb395a
i'm now trying to implement this in SCCM 2012 R2. In SCCM client settings you can add a BASIC WMI classes very simply. But i didn't find a way to calling WMI classes Method by SCCM hardware inventory which can help me get more information just like
the powershell i posted.
i'm really not familiar with WMI and not under what is WMI method very clearly.. just hope someone can give me a quick answer of my question
Any help will be greatly appreciated
Thanks
MJQIANWhat is your exact requirement?
Creating a WMI provider is Hard. Really hard, but one created you will get real-time results.
However creating a static WMI class is easy. But the results need to be refreshed every so often to ensure that the data is relevant. I did a quick bing search and here is a PowerShell script to do it.
http://social.technet.microsoft.com/Forums/scriptcenter/en-US/183b8b56-131c-4de7-80bc-08650daf7333/wmi-custom-class-with-powershell?forum=ITCG
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
Hardware Inventory Not collecting Reg Keys with the Underscore Character
We expanded hardware inventory to collect custom reg keys dynamically (from the child keys). While the new WMI class on the machine is able to see all the custom keys, SCCM is not collecting the ones with the underscore ('-') character in the name. Does
anyone know if this is a limitation in SCCM?Added to configuration.mof
#pragma namespace ("\\\\.\\root\\cimv2")
#pragma deleteclass("Packages", NOFAIL)
[dynamic, provider("RegProv"), ClassContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\PC\\Packages")]
Class Packages
[key] string KeyName;
[PropertyContext("ApplicationName")] String ApplicationName;
[PropertyContext("ApplicationVendor")] String ApplicationVendor;
[PropertyContext("ApplicationVersion")] String ApplicationVersion;
Added to minimof and imported into default client settings:
#pragma namespace ("\\\\.\\root\\cimv2\\SMS")
#pragma deleteclass("Packages_64", NOFAIL)
[SMS_Report(TRUE),SMS_Group_Name("Packages64"),SMS_Class_ID("Packages64"),
SMS_Context_1("__ProviderArchitecture=64|uint32"),
SMS_Context_2("__RequiredArchitecture=true|boolean")]
Class Packages_64 : SMS_Class_Template
[SMS_Report(TRUE),key] string KeyName;
[SMS_Report(TRUE)] String ApplicationName;
[SMS_Report(TRUE)] String ApplicationVendor;
[SMS_Report(TRUE)] String ApplicationVersion;
Thanks
Maybe you are looking for
-
Error in creating a DataSource inVisual Administrator
Hi Friends, My requirement is to connect to an external oracle database, for which I am trying to create a DATA SOURCE in Visual Administrator. the approach I followed is as given in many threads, In JDBC Connector service in Visual Admin: 1. Created
-
Adobe Reader XI 11.0.07 freezes intermittently on Windows 8.1 when doing "Save As". This occurs when opening a file from Outlook or from the web. I have IE 11 and Microsoft Office 365 installed on a Toshiba Satellite P50. Windows and Office have the
-
Want to transfer in read only mode
Hi All I had created one form and one report.i want when user enter the data in form that time data will save in intereactive report which already in same page.And the data which i fill in the form that would be reamin in form but in read only mode.A
-
Release date of IE 11 'Enterprise Mode' (EmIE)?
I read announcements (e.g. http://www.zdnet.com/internet-explorer-11-to-get-new-enterprise-mode-7000025842/) that IE 11 shall be equipped with a so-called 'Enterprise Mode' (EMIE) as a new feature. EMIE will allow businesses to specify which sites s
-
Installer says OS is older than it actually is
Hello, "Installer" is stating an application I'm trying to install cannot be installed on my computer, because the operating system I'm using is too old. It says I need 10.7 or newer, but I'm running 10.9.5. The programs I'm trying to install are p