We help IT Professionals succeed at work.

How to lock a partition in windows XP.

davinder101
davinder101 asked
on
8,809 Views
Last Modified: 2012-05-05
I have a Hard Drive which has one large partition with Windows XP Pro SP2 and a 20GB Win2k partition. I set it up to dual boot using the XP boot loader. What I would like to do is hide that 2K partition within XP.

I can use tweakUI and hide the drive letter in My Computer, but I would really like to hide and lock the partition as much as possible, but still allow the dual boot.
Any advice out there Experts?

Thanks a ton!
Comment
Watch Question

Commented:
If you go into Computer Management, then Disk Management (under Administrative Tools in the start menu or Control Panel) you can remove the drive letter assignment from that drive/partition.  If the OS doesn't have a drive letter assigned to it no users or applications can access it to change the data on it.  The only things they'd be able to do would be to re-assign a drive letter or choose to format the drive/partition - but they'd need to go into Disk Management to do this.

You could also disable the drive through the Device Manager - I believe that would keep it from even showing up in Disk Management.  Don't uninstall the drive from Device Manager though - doing that will cause Windows to detect it as new hardware and assign a drive letter to it the next time you reboot.

Will either of these methods work for you?

Commented:
Just to clarify, you'd want to do this in XP.  These changes would only cause XP to not see your 2K partition, but if you boot to 2K it'll be seen just fine.
CERTIFIED EXPERT
Most Valuable Expert 2015

Commented:
You can't use on board features of windows to do this. You need 3rd party apps, like acronis boot manager or bootit-ng.

http://acronis.com
http://terabyteunlimited.com/
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
Mohammed HamadaSenior IT Consultant
CERTIFIED EXPERT

Commented:
You can simply password protect the partition to not allow anyone to use it.
Check these links
http://www.truecrypt.org/
http://www.softstack.com/hidedrv.html
http://www.magic2003.net/   

Commented:
If you encrypt the partition using something like TrueCrypt it won't be readable when the PC is rebooted and you try and boot into Windows 2000.

Guys, keep in mind that the goal is to keep people from messing with a second partition when in XP, but NOT to lock the partition in a way that would keep the bootloader from being able to boot Windows 2000 which resides on it.

Author

Commented:
Actually what i want is to lock Win2k drive so that no one can open that partition from Xp. I dont want to use any third party s/w. removing drive letter is not the solution as the user can still delete that from Xp envoirnment. I want no operation can be performed on that partition untill using a program for opening that drive. I need to develop that application through which only i can lock and unlock that partition.
Any help regarding code will be preferred.  

Thanks in advance...
CERTIFIED EXPERT
Most Valuable Expert 2015

Commented:
As I mentioned earlier, there is no built in way to do this, you need 3rd party utilities (or your own 3rd party utitility, but here I can't help as I know nothing of programming).
CERTIFIED EXPERT
Most Valuable Expert 2015

Commented:
Maybe this Q does fit into the programming Zones, but then it has been asked wrongly. From the way it was asked there is no way to know that you want to build this tool yourself.

Author

Commented:
I had posted this question in the programming section only but then the administrator shifted this to this section.
Now how can I take this question to that programming section?
CERTIFIED EXPERT
Most Valuable Expert 2015
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Commented:
Yup, close this out and re-word your question.  You might want to start it with "I'm trying to develop an application that will let me ......"
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.