victor888 Posted September 12, 2008 Share Posted September 12, 2008 (edited) Install xp on usb is very good. But how to protect the data on it if without write-protect key?Finally I found a good way.Using NTFS format plus abnormal directory.Format the USB disk with NTFS format and use usb_multiboot10 to make it multiboot. Also we need make personal directory on the usb disk for example make directory UDATA which is used for storing personal data.Open MY COMPUTER and right click the USB drive letter and only keep everyone and system account.Only give erveryone account read right. We can find that the system account has full right thus REN_FOLDER.CMD does work.For the sake of UNDOREN.CMD's working after first logon, we need edit this batch file, see below:@echo offSET USBDRIVE=SET TAGFILE=\WIN_NT.BT:: First Limited Range to Prevent Windows No Drive Alert due to Cardreader:: For case of Repair Install when Drive not found, than Extended Range and:: Windows No Drive Alert - Press 4x Continue for Cardreader DrivesFOR %%h IN (C D M N O P Q R S T U V W X Y) DO IF EXIST "%%h:%TAGFILE%" SET USBDRIVE=%%h:if "%USBDRIVE%" == "" ( FOR %%h IN (C D E F G H I J K L M N O P Q R S T U V W X Y) DO IF EXIST "%%h:%TAGFILE%" SET USBDRIVE=%%h:)cacls %USBDRIVE% /e /g administrators:fren %USBDRIVE%\txtsetup.bak txtsetup.sifren %USBDRIVE%\WIN_NT.BT $WIN_NT$.~BTren %USBDRIVE%\WIN_NT.LS $WIN_NT$.~LScacls %USBDRIVE% /e /r administratorsexitabove red line is new added. So the undoren.cmd does work.Give everyone account with full right on UDATA directory.Use winrar open the USB drive and rename the UDATA directory to UDATA..\Thus the directory become UDATA. under windows and not accessable.How to open it?Lets make a shortcut on the root directory of the usb drive. The command is cmd.exe /c "echo off&&FOR %h IN (C D E F G H I J K L M N O P Q R S T U V W X Y) DO IF EXIST %h:\usbflash start %h:\udata~1". Do not forget right click the shortcut again and select propties, delete %windir% from start position. OK, just click it UDATA is opened. Edited September 23, 2008 by victor888 Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now