|
|
Comments and Discussions
|
|
 |

|
I test on 2T Disk Simulator,it simulate a 2TB disk,1024,2048,4096 bytes/secotr,this app can not work.I found it on http://www.2tdisk.com
|
|
|
|

|
Hi, thanks for your article.
At first excuse me for my poor English;
But I couldn't understand that how can I read a special sector(such as 0x0D "Sectors Per Cluster" in NTFS ).
I really need to read a special sector and I just found in assembly we can use INT 21h functions, but how about .net?
Is it possible to help me?
modified on Wednesday, November 17, 2010 2:35 AM
|
|
|
|

|
Needs to be run as administrator in windows 7
|
|
|
|

|
I get an Error when I attempt to change the Volume using your program. I have made sure UAC is off, no other base programs running etc.
Error: "Cannot change serial number of this file system!"
Have any idea why its doing this?
|
|
|
|

|
Years ago, working as a Computer Service Tech, I used a DOS program to change the VSN on FAT partitions at the time that each HD was installed.
I was interested in identifying the drives that we sold/serviced
As we are able to Hex Numbers for the number I picked a serial # that would stick out right away.
Don't know how many HD's I installed with the VSN of "FADE FACE" but it stuck out nicely
(FADE-FACE Hex for 4208917198 Decimal)
kept running across these units years later...
|
|
|
|

|
I use your program to change the volume serial numbers of 1 GB flash drives, the purpose of which is to copy all files of the flash drive to a directory on the hard drive then reformat the drive (4 drives at a time actually) by creating then shelling a batch file:
"Format F: /FS:FAT32 /V:Label /Y",
"XCopy C:\FlashFiles\*.* F:\ /s /v /q"
"Format G: /FS:FAT32 /V:Label /Y", etc.
After it completes, I have to return to your VolumeSerial window to return the volume serial numbers to their respective originals.
If your program could change the volume serials via a console (command line) process, you'd save me a pile of time - I wouldn't even have to cut and paste the serials- everything could be 100% automated!! For example each format/copy sequence above would be followed by a:
VolumeSerial F: /12345678 /y (for example).
Thanks - Ed
|
|
|
|

|
Thanks. You save my soul.
|
|
|
|
|
|

|
Hello there. I need some help in referance to the title above. I'm having some difficultly in accessing the partition table of the harddisk. The file system is in FAT32. If you can manage it can you write the code out in C language. This question is in referance to a course i'm studying called System progamming. Low-level access to the system's hardware. And on other question is that after changing the partition sizes i want the changes to take effect after I restart the computer. How do I toggle an automatic reboot? Please if you can help me I'd be very obliged. I hope that is maybe up your line. I'll be very thankful. Thanks alot.
Sana Nazimuddin Qureshi
|
|
|
|

|
Hello Sana,
To access and read the MBR you need to open the physical drive instead of a logical drive.
So just open as:
_stprintf(szDrive, _T("\\\\.\\PhysicalDrive%d"),VolNumber);
m_hDisk = ::CreateFile(
szDrive,
GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL,
OPEN_EXISTING,
0,
NULL);
The use normal SetFilePointer and Read/WriteFile functions.
As you may already know, the MBR resides at SECTOR 0.
As for your second question, you may reboot the system via ExitWindowsEx().
HTH
Elias
|
|
|
|

|
Use Microsofts DISKPART.EXE tool from DOS
You can DL from Support.microsoft.com - just SEARCH for DISKPART
Select Disk 0, or 1
List Partition
Easy
To delete, resize, wipe or otherwise trash (clean) a drive, type ? or Help
Cheers!
Steevej
|
|
|
|

|
Does anybody know how to get a whole hardisk serial number which is provide by the manufacturer. This helps in implementing security to your software as it cannot be changed programatically.
God likes you more when you share your knowledge for the sake of the only God.
|
|
|
|
|

|
What about looking for the disk ID in the registry ?
e.g. in
HKEY_LOCAL_MACHINE\\HARDWARE\\DEVICEMAP\\Scsi\\Scsi Port 0\\Scsi Bus 0\\Target Id 0\\Logical Unit Id 0\\Identifier
Phil
|
|
|
|

|
First, that registry entry is a model number, not a serial number. There are presumably hundreds of thousands of any one model in existence. Secondly, a registry entry could presumably be easily spoofed.
Finally, if you are serious about crack-protecting your software get a license protection solution such as ExeCryptor, which encrypts the executable code behind the license scheme. Without code encryption ANY licensing scheme can be cracked or bypassed altogether.
Rather than worrying about binding to a hard-drive, you would be better off using a server-based activation or validation procedure. When you issue a license, the license and user data should be stored in a database on a server.. then when the license is activated/validated you would flag the valid field in the database. Thus, whether you are binding your license to hardware, or userdata, or orderdata, or some combination... you can ensure that only ONE such license can be active at a time (or however many licenses were purchased).
Please note that hackers and reverse-engineering programmers know how to detect hard-drive serial numbers as well. Once they detect that such is the basis of your license security, it becomes a simple procedure to write a keygen program for your app. Again.. whatever licensing procedure you use, you MUST encrypt the executable code that generates/validates the license.
In business, if two people always agree, one of them is unnecessary.
|
|
|
|

|
it will be the model number, not the serial number
deepak
|
|
|
|

|
is there any way to recover the serial number from a dead HD? if there is any way to do so, i can give you any details you need. AIM- siwfy05
|
|
|
|

|
hello
This tool does not use the GVI api to retrieve the serial number of a given volume, instead it reads the info directly from the disk's appropriate sector.
As far as I know, in order to recover the sn from a dead HD you must at least have that sector, which holds the SN info, present.
|
|
|
|

|
Hello,
I have noticed that Win32 API function GetVolumeInformation() under Win 98 applied to a CD returns reversed byte order Volume Serial Number, with respect to Win XP. The same applies to "dir e:" command in DOS. For instance 1A2B-3C4D under XP would be 4D3C-2B1A under Win 98.
I checked it also for a floppy and everything is ok, that is both numbers have the same byte order.
I have been asking many people about this, but noone could explain this strange behaviour. Maybe you know why the VSN of a CD under Win 98 is reversed and is it always true. Since your app uses this API function to display the number, it produces the reversed result as well.
This information is quite important to me, because my application relies on this number. I would especially like to know whether I should add a function which automatically changes the order of bytes when the Win 98 is detected.
Kind Regards,
Piotr
|
|
|
|

|
Hi Piotr,
I don't have an idea about this behavior nor have I heard of it before.
Try posting / asking in Microsoft's newsgroups.
Regards,
Elias
|
|
|
|

|
Thank you for reply,
I asked on two microsoft.public.win32 groups, but got no explanation. At least other people confirm this, so it looks like a general rule.
regards,
Piotr
|
|
|
|

|
hey there ı downloaded the demo but when ı open the demo it says choose the program to open from the list...with wich program should ı open it...
|
|
|
|

|
Hello
It seems that you're trying to open the source files or the project file w/o having visual studio installed.
In that case, just search for the Volume changer EXE file and run it directly.
I included a precompiled version of this project.
--
Elias
|
|
|
|

|
hi there..
ı searched the volume changer exe file but my computer couldnt find it..ı thing ı downloaded it by the format of asp..and u wrote that u have precompiled version....can u send it to me please..
thanks...
|
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.
|
An article showing how to change drive's serial number
| Type | Article |
| Licence | |
| First Posted | 11 Jan 2004 |
| Views | 446,916 |
| Bookmarked | 113 times |
|
|