K1000 Report to search for local user profile CDW
I need to develop a report to search all windows machines for the local user profile "CDW". This profile was logged into before the PC was joined to our domain and hasnt been logged into since. It is a local account. Anyone developed a report to search for a certain user profile on the k1000?? C:\Users\CDW
1 Comment
[ + ] Show comment
Answers (1)
Answer Summary:
Please log in to answer
Posted by:
cblake
10 years ago
Another approach would be very similar to what nshah suggests in comments but using a WMI return to get who has logged on. http://www.itninja.com/question/wmic-custom-inventory-number-of-logons-question explains the approach.
Modifying that concept a bit with a 'where' statement this would return CDW in the results if it had logged on:
wmic netlogin where "Name like '%CDW%'" get Name
The information has to be found first so what you could do is if you are looking for a profile folder, use Custom Inventory rules to look for the directory path and if a machine has it, it will report back and then you can create a report if needed based off of that information.
http://www.kace.com/search?q=custom%20inventory%20rules#gsc.tab=0&gsc.q=custom%20inventory%20rules&gsc.page=1 - nshah 10 years ago