473,748 Members | 2,219 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Looking for ways to generate unique ids for a user's PC

Does anyone know how the following info is extracted from the user's
computer by a Front Page form?

HTTP User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.7.5) Gecko/20041107 Firefox/1.0

I only ask because I believe I could use the same info as part of a
scheme to generate a unique (or at least less common) serialized id
code for the user's computer as part of a software locking and
activation system. If I had a DLL that could allow VBA calls to a
function that would extract the same info from the user's computer, I
could use the info to craft a unique id (or at least a less common id)
for part of the encrypted serial code.

Front Page has a form option that will send the above info back to the
form owner when someone clicks submit. I'd simply like to know if
anyone has or knows of a DLL that will extract the same info or, even
better, hardware ids (hard disks, CD/DVD, Mac Address, etc) from the
user's PC.

Of course there are many PCs out there that can generate the same info
as this because they have the same stuff installed. But this gets the
idea across (I hope).

Thanks large for any advice you folks can offer.

--LW
Nov 13 '05 #1
29 3755
Lauren,
It's called Systems Management Server, comes from Microsoft, and costs a
bunch. It isn't just a DLL, it's a whole big add-on to Windows NT 4.0
Server and later. When we needed to inventory 300 or so computers for a Y2K
project the cheapest, easiest way we came up with is use some API calls to
the operating system to gather as much as we could from Windows, enhanced
that with a batch file that ported screen dumps of info from built-in DOS
commands like NET to a text file, and just for the sake of due diligence,
used a utility from Compaq that would tell us about the machine as well.
All this got appended to a text file that I then had Word troll through to
pick out the data we wanted and transfer it to a database.
As for generating encrypted serial codes, I'd start with the MAC address of
the NIC. PII and later processors have a processor serial number available
to Windows (though it can be disabled in the CMOS settings of a machine).
Web browsers get this information from Windows, which has a bunch of API's
that will tell you about itself and the machine it is running on. I'd start
there.

"Lauren Wilson" <???@???.???> wrote in message
news:c8******** *************** *********@4ax.c om...
Does anyone know how the following info is extracted from the user's
computer by a Front Page form?

HTTP User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.7.5) Gecko/20041107 Firefox/1.0

I only ask because I believe I could use the same info as part of a
scheme to generate a unique (or at least less common) serialized id
code for the user's computer as part of a software locking and
activation system. If I had a DLL that could allow VBA calls to a
function that would extract the same info from the user's computer, I
could use the info to craft a unique id (or at least a less common id)
for part of the encrypted serial code.

Front Page has a form option that will send the above info back to the
form owner when someone clicks submit. I'd simply like to know if
anyone has or knows of a DLL that will extract the same info or, even
better, hardware ids (hard disks, CD/DVD, Mac Address, etc) from the
user's PC.

Of course there are many PCs out there that can generate the same info
as this because they have the same stuff installed. But this gets the
idea across (I hope).

Thanks large for any advice you folks can offer.

--LW

Nov 13 '05 #2
Try this code from Dev Ashish:

http://www.mvps.org/access/api/api0009.htm
Darryl Kerkeslager
"Lauren Wilson" <???@???.???> wrote:
I only ask because I believe I could use the same info as part of a
scheme to generate a unique (or at least less common) serialized id
code for the user's computer as part of a software locking and
activation system.

Nov 13 '05 #3
Lauren Wilson wrote:
Does anyone know how the following info is extracted from the user's
computer by a Front Page form?

HTTP User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.7.5) Gecko/20041107 Firefox/1.0


In ASP...
Request.ServerV ariables("HTTP_ USER_AGENT")

--
This sig left intentionally blank
Nov 13 '05 #4
On Tue, 16 Nov 2004 08:27:52 -0500, "Darryl Kerkeslager"
<Ke*********@co mcast.net> wrote:
Try this code from Dev Ashish:

http://www.mvps.org/access/api/api0009.htm
Darryl Kerkeslager
"Lauren Wilson" <???@???.???> wrote:
I only ask because I believe I could use the same info as part of a
scheme to generate a unique (or at least less common) serialized id
code for the user's computer as part of a software locking and
activation system.


Thanks Darryl. This sounds like a good starting point. However, I
wonder how many users actually change the default computer name? And
what the hell IS the default computer name that Windows sets up
anyway? Do you know?
Nov 13 '05 #5
On Tue, 16 Nov 2004 08:27:52 -0500, "Darryl Kerkeslager"
<Ke*********@co mcast.net> wrote:
Try this code from Dev Ashish:

http://www.mvps.org/access/api/api0009.htm
Darryl Kerkeslager
"Lauren Wilson" <???@???.???> wrote:
I only ask because I believe I could use the same info as part of a
scheme to generate a unique (or at least less common) serialized id
code for the user's computer as part of a software locking and
activation system.


Also, do you have any idea how I can retrieve the drive id that is
allegedly encoded in the Drive ROM? That id in combination with the
Machine name could produce an (almost) bulletproof unique ID.
Nov 13 '05 #6
I use this for my app because the computer name is set by the network admins
to bew unique, and will not be reset. If you are operating in a different
environment - like over the Internet, then this may not be what you need.

When you first set up a computer on XP, you are prompted to enter a new
computer name. Here is the informnation on re-setting the computer name to
identify the comnputer to the network for XP:

http://support.microsoft.com/kb/295017

However, for login, I use the Windows login. Again, I guess it depends on
your environment.

Unfortunately, I'm at the end of my tether with this.
Darryl Kerkeslager
"Lauren Wilson" <???@???.???> wrote in message
news:8u******** *************** *********@4ax.c om...
On Tue, 16 Nov 2004 08:27:52 -0500, "Darryl Kerkeslager"
<Ke*********@co mcast.net> wrote:
Try this code from Dev Ashish:

http://www.mvps.org/access/api/api0009.htm
Darryl Kerkeslager
"Lauren Wilson" <???@???.???> wrote:
I only ask because I believe I could use the same info as part of a
scheme to generate a unique (or at least less common) serialized id
code for the user's computer as part of a software locking and
activation system.

Thanks Darryl. This sounds like a good starting point. However, I
wonder how many users actually change the default computer name? And
what the hell IS the default computer name that Windows sets up
anyway? Do you know?

Also, do you have any idea how I can retrieve the drive id that is
allegedly encoded in the Drive ROM? That id in combination with the
Machine name could produce an (almost) bulletproof unique ID.

Nov 13 '05 #7
Hi All,

Would a GUID work???

Check the following link...

http://support.microsoft.com/default...b;en-us;176790

Cheers and HTH
"Lauren Wilson" <???@???.???> wrote in message
news:c8******** *************** *********@4ax.c om...
Does anyone know how the following info is extracted from the user's
computer by a Front Page form?

HTTP User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.7.5) Gecko/20041107 Firefox/1.0

I only ask because I believe I could use the same info as part of a
scheme to generate a unique (or at least less common) serialized id
code for the user's computer as part of a software locking and
activation system. If I had a DLL that could allow VBA calls to a
function that would extract the same info from the user's computer, I
could use the info to craft a unique id (or at least a less common id)
for part of the encrypted serial code.

Front Page has a form option that will send the above info back to the
form owner when someone clicks submit. I'd simply like to know if
anyone has or knows of a DLL that will extract the same info or, even
better, hardware ids (hard disks, CD/DVD, Mac Address, etc) from the
user's PC.

Of course there are many PCs out there that can generate the same info
as this because they have the same stuff installed. But this gets the
idea across (I hope).

Thanks large for any advice you folks can offer.

--LW

Nov 13 '05 #8
Wow Bolt! This just might be the ticket. Dang! I knew about those
GUIDs but I simply overlooked that obvious possibility. Thanks.
On Tue, 16 Nov 2004 18:50:06 -0500, "Bolt Upright"
<Bo*********@BH .com> wrote:
Hi All,

Would a GUID work???

Check the following link...

http://support.microsoft.com/default...b;en-us;176790

Cheers and HTH
"Lauren Wilson" <???@???.???> wrote in message
news:c8******* *************** **********@4ax. com...
Does anyone know how the following info is extracted from the user's
computer by a Front Page form?

HTTP User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.7.5) Gecko/20041107 Firefox/1.0

I only ask because I believe I could use the same info as part of a
scheme to generate a unique (or at least less common) serialized id
code for the user's computer as part of a software locking and
activation system. If I had a DLL that could allow VBA calls to a
function that would extract the same info from the user's computer, I
could use the info to craft a unique id (or at least a less common id)
for part of the encrypted serial code.

Front Page has a form option that will send the above info back to the
form owner when someone clicks submit. I'd simply like to know if
anyone has or knows of a DLL that will extract the same info or, even
better, hardware ids (hard disks, CD/DVD, Mac Address, etc) from the
user's PC.

Of course there are many PCs out there that can generate the same info
as this because they have the same stuff installed. But this gets the
idea across (I hope).

Thanks large for any advice you folks can offer.

--LW


Nov 13 '05 #9

OOPS! I spoke too soon! The text of this article, under "MORE
INFORMATION" is quoted as follows:

"The code below can be used to create a GUID in Visual Basic. The code
calls the CoCreateGuid API found in OLE32.DLL on Windows 95, Windows
98, Windows Me, Windows NT and Windows 2000. ..."

Geesh! Windows XP is conspicuously missing! Guess I'll need to dig a
bit deeper. Don't suppose you have something on the XP version do
you? Even if you don't, I thank you for your kind efforts.
On Tue, 16 Nov 2004 18:50:06 -0500, "Bolt Upright"
<Bo*********@BH .com> wrote:
Hi All,

Would a GUID work???

Check the following link...

http://support.microsoft.com/default...b;en-us;176790

Cheers and HTH
"Lauren Wilson" <???@???.???> wrote in message
news:c8******* *************** **********@4ax. com...
Does anyone know how the following info is extracted from the user's
computer by a Front Page form?

HTTP User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.7.5) Gecko/20041107 Firefox/1.0

I only ask because I believe I could use the same info as part of a
scheme to generate a unique (or at least less common) serialized id
code for the user's computer as part of a software locking and
activation system. If I had a DLL that could allow VBA calls to a
function that would extract the same info from the user's computer, I
could use the info to craft a unique id (or at least a less common id)
for part of the encrypted serial code.

Front Page has a form option that will send the above info back to the
form owner when someone clicks submit. I'd simply like to know if
anyone has or knows of a DLL that will extract the same info or, even
better, hardware ids (hard disks, CD/DVD, Mac Address, etc) from the
user's PC.

Of course there are many PCs out there that can generate the same info
as this because they have the same stuff installed. But this gets the
idea across (I hope).

Thanks large for any advice you folks can offer.

--LW


Nov 13 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
11758
by: mydejamail | last post by:
I am looking for a script that generates PIN Numbers. Is there one available somewhere out there? I don't mind algorithms if they will be easy to implement in PHP. Regards
10
18610
by: Mamuninfo | last post by:
Hello, Have any function in the DB2 database that can generate unique id for each string like oracle, mysql,sybase,sqlserver database. In mysql:- select md5(concat_ws("Row name")) from tablename; Here this function generate unique id for each row of the table. Regards..
4
2236
by: ozgur develioglu | last post by:
hi everyone, I've a USER table which contains USERNAME column. I try to keep usernames unique. When I'm adding I new user, I frist go to database and check if that username already exists and if no I add that user. As you see I went to database two times. In order to do this can I set the column unique at SQL Server 2000 and at the program side check the errors. I'm dealing with a ASP.NET application and I need quick user adding...
1
1247
by: Bijoy Naick | last post by:
I've made multiple posts re different aspects of dynamically adding web and user controls.. First off, thx for all the responses.. I think I've figured it out. I am looking for some feedback on how I am implementing certain functionlity.. Details follow.. Scenario ======
1
3655
by: Daniel Hilgarth | last post by:
Hello, I am currently trying to use XSLT for the creation of multiple HTML-files from a single XML-File. This HTML-files need to have links to each other. The following information might be important: There are some special nodes that will start a new HTML-page ("page-nodes"). Those nodes can be nested. Those nodes have an attribute "name" which is not necessarily unique. There are another special nodes that will create a link in one...
9
6464
by: Omatase | last post by:
I have a set of about 6 or so strings that I need to use to generate a unique hash. This hash will become the unique key in a database so the hash has to be the same each time I gen it for any 1 set of strings. Is there something out there that already does this written in javascript? I didn't find anything doing a google search.
9
18137
by: Robert Mago | last post by:
Is there a way to create a 10 characthers or less, alph-numeric string which is unique. I can't use the guid since its longer then 10 characthers. Also i cannot use a random number, since being random does not mean that its unique.
0
9552
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9326
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9249
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8245
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6076
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4607
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2787
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.