Recenlty realized on older version of Altiris, I had mapped drives in inventory in table Inv_HW_Logical_Disk. When running an SQL against ne db, I found that info missing. Researching, came across and article that stated inventory does not capture printers and mapped drives: https://support.symantec.com/en_US/article.TECH145268.html. Creating a neew policy as outlined did not work I need a vb script to get HKEY Current User\Network subkeys (name) and its corresponding strvaluename "remotePath" and its value.
I was able to get this on some pcs woth powershell, but on most it is not returning all mapped drives. Better success on WIn 7 and less so on Win 8.1 and 10. Possibly restriction on powershell running.
After trying to work with many vb scripts and piece it together, I am still nowhere.
So, I need a script to replace what Altiris Inventory USED to do. I already have the custom table with some info from the powershell script, but perhaps vb would be better.
For each Drive letter, I need the RemotePath value. For example L: RemotePath value is \\oi-oitnst-m3-e.njes.state.nj.us\softwarelibrary
THE GUID of the table is e30cf469-1720-4452-b3bc-7248d42a861a and the columns are Name ( the mapped drive letter (subkey) and ProviderName ( the path value).
I do not script so this is quite difficult. Any help would be appreciated