User Tools

Site Tools


computing:disk_space_low

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
computing:disk_space_low [2018/02/22 07:45]
gcooper
computing:disk_space_low [2019/07/27 14:09] (current)
gcooper
Line 44: Line 44:
  
 http://serverfault.com/questions/8187/whats-the-best-way-to-move-c-users-to-d-users-under-vista-w7 http://serverfault.com/questions/8187/whats-the-best-way-to-move-c-users-to-d-users-under-vista-w7
 +
 +==== Delete $Windows.~BT and $Windows.~WS Folders ====
 +
 +''$Windows.~BT'' and ''$Windows.~WS'' are temporary folders and can be safely deleted.
 +
 +<file>
 +takeown /F C:\$Windows.~BT\* /R /A 
 +icacls C:\$Windows.~BT\*.* /T /grant administrators:
 +rmdir /S /Q C:\$Windows.~BT\
 +</file>
 +
 +Now copy-paste the following and hit Enter to delete the contents of $Windows.~WS directory
 +
 +<file>
 +takeown /F C:\$Windows.~WS\* /R /A 
 +icacls C:\$Windows.~WS\*.* /T /grant administrators:
 +rmdir /S /Q C:\$Windows.~WS\
 +</file>
 +
 +==== Delete Old User Profiles ====
 +
 +<file>
 +cd c:\users
 +dir
 +wmic /node:localhost path win32_UserProfile where LocalPath="c:\\users\\user" Delete 2>>c:\windows\temp\wmic.err
 +</file>
  
 ==== Disk Compression ==== ==== Disk Compression ====
Line 151: Line 177:
 **2012 R2 - SxS**: https://www.saotn.org/windows-server-2012-r2-disk-cleanup-dism/ **2012 R2 - SxS**: https://www.saotn.org/windows-server-2012-r2-disk-cleanup-dism/
  
-:!: The Disk Cleanup Tool is available in Windows Server 2012, if you install the Desktop Experience feature.+:!: The **Disk Cleanup Tool** is available in Windows Server 2012, if you **install the Desktop Experience feature**.
  
 :!: All existing service packs and updates cannot be uninstalled after this next command is completed.  :!: All existing service packs and updates cannot be uninstalled after this next command is completed. 
Line 179: Line 205:
 Perhaps as an administrator: Perhaps as an administrator:
  
-  - Create a new directory/structure on disk drive to hold the user's local cache +  - **Create a new directory/structure** on the destination disk drive to hold the user's local cache 
-    - Adjust permissions so that user, and administrators, can access the directory/contents +    - **Adjust permissions** so that user, and administrators, can access the directory/contents 
-  - Move the user's .OST file to the new location +  - M**ove the user's .OST file** to the new location 
-  - Create a symbolic link from the old file/location to the new +  - **Create a symbolic link** from the old file/location to the new 
-  - Start Outlook+  - **Start Outlook**
     - If any problems, close Outlook and check permissions     - If any problems, close Outlook and check permissions
  
-As the user whose .OST file we are moving, create the link at a command prompt:+As the user whose .OST file we are moving, create the symlink at a command prompt:
  
 <file> <file>
computing/disk_space_low.1519310734.txt.gz · Last modified: 2018/02/22 07:45 by gcooper