This paper describes how to move `C:\Documents and
Settings' to its own drive and/or partition, which will
improve system performance by minimizing the fragmentation of Operating
System (2000/XP/2003) files. In addition, should the Operating System
become corrupt one can reinstall Microsoft Windows without losing any
profile data.
This has not been tested on Microsoft Windows Vista. If you have successfully done this please let me know!
Warning: This paper assumes the reader has prior and competent knowledge of installing and administering Microsoft Windows and takes no responsibility for any data lost.
Create a new temporary Administrative account, reboot your PC and log-in under the new profile. Include this account in the changes below unless stated otherwise.
Open Regedit and modify the following string value to
point to your new profile location (e.g. E:\):
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows
NT\CurrentVersion\ProfileList\ProfilesDirectory
Expand ProfileList and modify the following string
value of each profile (except S-1-5-18), replacing
C:\Documents and Settings with the new profile location:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows
NT\CurrentVersion\ProfileList\<profile>\ProfileImagePath
Navigate to the key below and modify all string values so as
C:\Documents and Settings points to the new profile
location:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
Folders\*
Close Regedit, open Explorer (be sure you can view hidden files, including system) and copy all
profiles (except LocalService(XP),
NetworkService(XP) and the temporary profile you are using) from
C:\Documents and Settings to the new profile location.
C:\Documents and Settings.
If you have any questions or suggestions my e-mail is below.
This paper describes how to encrypt a file system on FreeBSD using GELI with 448bit Blowfish encryption. See the GELI(8), MDCONFIG(8) and NEWFS(8) manual pages for more detailed description of the commands and parameters.
If a memory disk is to be used then this needs to be created first. The following commands create a 10GB file and then links to it with a vnode.
dd if=/dev/urandom of=/path/to/memory.disk bs=1M count=10240mdconfig -a -t vnode -f /path/to/memory.disk -u 0dd if/dev/urandom of=/geli.key bs=56 count=1geli init -s 4096 -e Blowfish -l 448 -K /geli.key /dev/diskgeli attach -d -k /geli.key /dev/disknewfs -U /dev/disk.eliIf an entry in /etc/fstab is not present then the disk
will need to be mounted manually after each boot using a standard mount
command (mount /dev/disk.eli /mnt). If, however, the Memory
Disk option is used then the mdconfig command will need to
be run beforehand.