Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.
|
|||||||
Begin your free trial now
Pay-as-you-go options starting at $10/user/month
Pay-as-you-go options starting at $10/user/month
Connecting direct to USB thumb drive in windows XP
|
|
Thread Tools | Search this Thread |
|
#1
|
|||
|
|||
|
Connecting direct to USB thumb drive in windows XP
Hi,
Out team have written file by VC++ to read/write data to the USB thumb drive device. It's ok while connecting device to PC when logon PC by administator. the problem is, windows xp doesn't know device (error msg is USB NOT FOUND) when logon by user. does anyone know how to get around this? we're create a handle using createfile () and DeviceIoControl () API windows function to FindDevice,GetData and Writting to device. any help is appreciated thanks |
|
#2
|
|||
|
|||
|
I assume that the USB drivers need to be (re-)installed under that User-logon.
Are that user's Explorer-rights limited, in that (s)he can only see certain drives? Or has no access to VC++? Perhaps compile the routine and make an .exe, then the user should have access. |
|
#3
|
|||
|
|||
|
Sorry, may be my question is not clear.
My application on Flash drive (burn on RomArea in Flash drive) can run correctly with admin user of WinXP. but if i logon WinXP with limited user, it 's have some problem...!!! My application use CreateFile() function and DeviceIOControl() function... I think, may be window's privilege... How to solve this problem ? I try to use impersonate() , but i'm confuse.. please kindly help thanks |
|
#4
|
|||
|
|||
|
I don't know VC++.
Why don't you just COPY data to and from that USB key? Writing a program for doing that sounds like a waste of time to me. If you are writing to the ROM, you need permission to access certain hardware. If you extend that permission to the limited user, it should work. Perhaps make him a Power-User? |
|
#5
|
|||
|
|||
|
Actually, we have project to modify flashdrive h/w by adding FingerPrint Scan on it. And we create and burn program to read FingerPrint data from flashdrive.
Example: at the first time you must register to use our flashdrive by scan your finger via our flashdrive that when you connect it to PC, program register will run automatically, you must scan in 3 times to confirm (like confirm password) and next time when you need to use this flashdrive, you connect our flashdrive to PCand you must scan your finger before use it. Ooh!!! I'm very thanks for you help
|
|
|
|
#6
|
||||
|
||||
|
mount permissison issue
Quote:
I just got a USB Thumbdrive too. Here's how I used it; Logon as the admin user, insert the TD and access it using My Computer, OPEN device. Use Start menu to Switch User and login as the Limited-rights user. The Thumbdrive will be accessable. perform whatever task(s) necessary Close the access to the thumb drive Switch users back to the Admin-ID close the Thumbdrive and disconnect. This is procedural and some may find it a pain, but there's no substitued for security. Before you ask 'can i script this so as to avoid the triple switch-user?' ... the answer is NO! If you could, then security would be bogus and non-existant. Jeff |
![]() |
| Similar Topics | ||||
| Topic | Replies | Forum | ||
DIY Indestructible Thumb Drive
|
1 | General Discussion | ||
Bootable thumb drive
|
5 | Device Drivers | ||
Can't format the USB Thumb drive
|
5 | Storage and Networking | ||
Problems with thumb drive
|
2 | Storage and Networking | ||
Windows cannot format my thumb drive
|
2 | Windows OS | ||
| Thread Tools | Search this Thread |
|
|
All times are GMT -4. The time now is 08:43 AM.



DIY Indestructible Thumb Drive