USB Hard Drive

  • Thread starter Thread starter RM
  • Start date Start date
R

RM

I put an IDE hard drive in an USB enclosure, formatted the disk, and
plugged it in. XP does see the drive (it comes up as a USB Storage
Device) but does not automatically assign it a drive letter. I would
like to write a program in C++ or VB that automatically assigns a
drive letter to it. Any ideas or suggestions?
 
The drive should be assigned a drive letter, you might need to be logged on
as an administrator or a member of the Administrators group in order to
perform some tasks.

Disk Management is a system utility for managing hard disks and the
partitions or volumes that they contain. With Disk Management, you can
initialize new disks, create volumes, and format volumes with the FAT, FAT32,
or NTFS file systems. Disk Management enables you to perform most
disk-related tasks without shutting down your computer; most configuration
changes take effect immediately.

To open Disk Management
Open Computer Management (Local).
In the console tree, click Disk Management.

To open Computer Management, click Start, and then click Control Panel.
Double-click Administrative Tools, and then double-click Computer Management.
 
I put an IDE hard drive in an USB enclosure, formatted the disk, and
plugged it in. XP does see the drive (it comes up as a USB Storage
Device) but does not automatically assign it a drive letter. I would
like to write a program in C++ or VB that automatically assigns a
drive letter to it. Any ideas or suggestions?

It should automatically assign a drive letter when you boot up. May be
you have disabled other drive letters. Re-enable then via Tweakui or
Group Policy editor.

Peter Hutchison
http://www.pcguru.plus.com
 
BAR said:
The drive should be assigned a drive letter, you might need to be logged on
as an administrator or a member of the Administrators group in order to
perform some tasks.

Disk Management is a system utility for managing hard disks and the
partitions or volumes that they contain. With Disk Management, you can
initialize new disks, create volumes, and format volumes with the FAT, FAT32,
or NTFS file systems. Disk Management enables you to perform most
disk-related tasks without shutting down your computer; most configuration
changes take effect immediately.

To open Disk Management
Open Computer Management (Local).
In the console tree, click Disk Management.

To open Computer Management, click Start, and then click Control Panel.
Double-click Administrative Tools, and then double-click Computer Management.

I appreciate the info, but I am looking to do this in a C++ or VB app. Any ideas?
 
Back
Top