Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Hide/Unhide partition in DOS?

1,162 views
Skip to first unread message

te...@testnospam.nl

unread,
Apr 21, 2011, 12:19:49 PM4/21/11
to
Is there a way to hide/unhide an NFTS partition from within a DOS-like
environment?

Thank you very much!

foxidrive

unread,
Apr 21, 2011, 12:44:44 PM4/21/11
to


Dos-like?

You're not giving much detail away. Dos can't see an NTFS partition.


--
Regards,
Mic

te...@testnospam.nl

unread,
Apr 21, 2011, 12:50:33 PM4/21/11
to
NTFS partitions can be "hidden" or "unhidden" from the OS.
At booting the OS won't see a hidden partition and doesn't use the
driveletter.
By unhiding the partition can be used by the OS after reboot.

Is there a way to set a partition from a drive to hidden, or unhidden
from a command line or a batch command?

I want to secure this partition with backups for other users of this
XP computer.

Thanks

foxidrive

unread,
Apr 21, 2011, 12:56:43 PM4/21/11
to
On 22/04/2011 02:50, te...@testnospam.nl wrote:
> I want to secure this partition with backups for other users of this
> XP computer.


Encrypt it?

--
Regards,
Mic

te...@testnospam.nl

unread,
Apr 21, 2011, 1:44:37 PM4/21/11
to
I won't use this feature every month so hiding looks like a good
thing.

Is there a beter way with encryption?

Zaphod Beeblebrox

unread,
Apr 21, 2011, 1:54:30 PM4/21/11
to

<te...@testnospam.nl> wrote in message
news:27m0r6tkucep46bsp...@4ax.com...

As long as "DOS-like" means a command prompt inside of Windows, then
DISKPART could be used to remove the drive letter for the volume which
would effectively hide it from most casual users. It supports script
files, so you could set up a script file and run it inside of a batch
file to automate things. For example, say you want to hide volume 2
(on my computer, that is drive D:. I found that out by running
DISKPART then using the LIST VOLUME command). You could set up files
with the commands as follows:

file C:\test\hidevol2.txt:
select volume 2
remove letter D
exit

file C:\test\showvol2.txt:
select volume 2
assign letter D
exit

Then set up a couple of batch files like so:

batch file hidevol2.bat:
@diskpart /s C:\test\hidevol2.txt

batch file showvol2.bat:
@diskpart /s C:\test\showvol2.txt


You will want to be sure to specify the full path to the script files
otherwise DISKPART won't be able to find them unless you run the
command from the same directory as the script file. Also, according
to MS documentation, you should allow at least 15 seconds after
running a DISKPART script before running another so keep that in mind.

The only drawback I've seen is that it required me to reboot after
removing the drive letter once, but something may have been accessing
the drive at the time, I'm not sure.

Finally, DISKPART under Windows 7 (not sure about Vista) supports
hiding volumes, but it doesn't work the way I'd expect - that is, it
appears to hide all volumes on a disk, and won't let you hide volumes
on a disk that contains the boot, system, or pagefile volume. So it
may not be helpful in your case, but if it is, it can also be scripted
and if you need help just ask.

Hope this helps.

--
Zaphod

"The best Bang since the Big One" - Eccentrica Gallumbits


te...@testnospam.nl

unread,
Apr 21, 2011, 4:09:47 PM4/21/11
to
Thank you very much!
If there is an easy way of encrypting this would be helpful too

Zaphod Beeblebrox

unread,
Apr 21, 2011, 4:13:06 PM4/21/11
to

<te...@testnospam.nl> wrote in message
news:mm31r651pa0ltgbb4...@4ax.com...

> Thank you very much!
> If there is an easy way of encrypting this would be helpful too
>

Sorry, I can't really help you there...

--
Zaphod

Vell, Zaphod's just zis guy, ya know? - Gag Halfrunt


foxidrive

unread,
Apr 21, 2011, 9:42:05 PM4/21/11
to
On 22/04/2011 06:09, te...@testnospam.nl wrote:
> Thank you very much!
> If there is an easy way of encrypting this would be helpful too

I believe Truecrypt can mount an encrypted volume or not. It also has
commend line features I think.

http://www.google.com.au/search?hl=en&q=Truecrypt&btnG=Google+Search


--
Regards,
Mic

te...@testnospam.nl

unread,
Apr 23, 2011, 6:55:25 PM4/23/11
to
Thanks Foxydrive, this works well

Esra Sdrawkcab

unread,
Apr 26, 2011, 8:50:52 AM4/26/11
to

aefdisk32 (shareware)
http://www.aefdisk32.com/main/news.php?lang=en

--
"Nuns! NUNS! Reverse! Reverse!"

te...@testnospam.nl

unread,
Apr 29, 2011, 12:40:55 PM4/29/11
to
Thank you!

On Tue, 26 Apr 2011 13:50:52 +0100, "Esra Sdrawkcab" <ad...@127.0.0.1>
wrote:

0 new messages