Identifying Windows Home vs Pro?

Viewing 8 reply threads
  • Author
    • #7253

      I was wondering if there was a way to remotely differentiate between Windows Home and Windows Pro.  Scanning via, say nmap, only tells me if it’s Windows XP vs Windows 7, etc.  The whole purpose of this is to not only create an updated and detailed database of all of PC’s on the network, but to know which ones I need to upgrade to Pro so that they can be added to a Windows domain.

    • #45342

      If you have a list of host names/IPs in a text file, you could loop through that and execute systeminfo via psexec and redirect the output to a text file. The info you’re looking for would be in the “OS Name” and/or “OS Version” fields.

      You might just want to check out OpenAudit, which will also inventory software, etc.

    • #45343

      How about

      wmic /node:machinename /user:username os get | find "Windows Home"

      (or whatever the home string looks like, don’t have access to one at the moment)

      I did something similar in the past looking for a list of machines with specific hotfix (WMIC QFE) by creating a ping sweep and outputting results to a txt file containing just the ip addresses and using that as a source for the WMIC command by replacing machinename above with @ip_addresses.txt

      *Edit* or Dynamik’s solution would work too. Different strokes… I like WMIC a lot 🙂

    • #45344

      @dynamik: I’ve had the pstools downloaded for awhile, just obviously haven’t looked through them enough haha.  Is “systeminfo via psexec” the same as the psinfo tool?  I ran a quick test with psinfo and it looks to give me what I need, but was wondering if psexec’s systeminfo gives more/different info.

      Thanks for the suggestions dynamik and tturner!  I think either one of these will suit my needs, and I’ll look into OpenAudit as well.  An updated software inventory is something else I need too as I’m working my way through SANS 20 critical security controls.

    • #45345

      @tturner wrote:

      I like WMIC a lot 🙂

      Yea, for sure. I just couldn’t remember what the query was and didn’t feel like searching 😛

      @lorddicranius wrote:

      Is “systeminfo via psexec” the same as the psinfo tool? 

      It certainly appears very close. I guess that simplifies things a bit…

      @lorddicranius wrote:

      I ran a quick test with psinfo and it looks to give me what I need, but was wondering if psexec’s systeminfo gives more/different info.

      systeminfo is a built in utility. Just type it in at the command prompt and see what you get. psexec was only recommended in conjunction in order to execute it on remote systems.

      Now that I look at it, systeminfo /? shows that you can use it on remote systems too. I guess I failed all over this thread 😮

    • #45346

      nmap -sS -p 445 –script=smb-os-discovery.nse target_ip

    • #45347

      @dynamik wrote:

      I guess I failed all over this thread 😮

      lol Noo, you got me going on my way 🙂  I’ve been playing around with psexec/systeminfo all day and will probably go this route as I’m more comfortable with this than WMIC.  JGamblin replied on Twitter as well:

      psexec systeminfo | findstr /B /C:”OS Name” /C:”OS Version”

      Now my issue is that the network didn’t have any standard in configuring new PC’s so there is no standard/common admin account to use to query machines for system information.  That’s over 200 machines :-

      While writing this reply, hell_razor replied…

      …thanks!  I gave that a shot on some of the machines here and it works pretty well!  There were a few that it wouldn’t report whether it was Home or Pro, but most did.  This will help a lot until I can get around to all of the computers and setup a standard admin account (unless there’s another way??)…

    • #45348

      Are you not using Active Directory?

    • #45349

      Not presently 🙁  Updating the network is one of the reasons I was specifically hired for, but management doesn’t want to play nice (if it’s not broken, then why “fix” it).  So as I’m making plans for the upgrade to the network on paper, I’m showing my manager all the ways it’d save time and money as I go through my day to day duties (most recently an issue with an Excel update that caused most users issues when printing graphs).

      I understand that each of these will float out of his memory as time goes, so at the same time I’m taking note of all these things I talk to him about so that I can present them all in one big presentation at a later date…for the bigger impact.

Viewing 8 reply threads
  • You must be logged in to reply to this topic.

Copyright ©2021 Caendra, Inc.

Contact Us

Thoughts, suggestions, issues? Send us an email, and we'll get back to you.


Sign in with Caendra

Forgot password?Sign up

Forgot your details?