• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 231
  • Last Modified:

How to get company name?

From within my MFC program I need to get the company
name.  I know how to get the username with the function
GetUserName().  How do I get the Company Name?  I could
not find a function like GetCompanyName().
1 Solution
There is no such an information as Company Name. Use name is the name use used to logon but use is not required to specify company name
I assume you are talking about the Company Name that Windows asks for when you install it and displays in the My Computer properties and many other places.  It is stored in the registry at:


in the RegisteredOrganization value.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now