Takeown
I can't have the property of several files and folders to an external drive has changed.
I tried the following as an administrator:
Properties > Security > advanced > owner > Edit > change owner to
I get access denied.
And with the BACK of an administrator command prompt:
takeown /f S:\BackUp-Music\Recordings\AmbroseNew
I get access denied.
Any suggestions?
Frank C
Vista Ultimate 64-bit SP2
Property is blocked by permissions - that's why you get this error message (and it will happen no matter how you try to appropriate). Try changing thefirst permissions so that you have all the rights you need to support. It can be very involved depending on what and how much is on the disc as well as the permissions already in place that will need to be removed also just add your. Here is some information on permissons and property that might help:
To view your permissions, right-click on the file/folder, click Properties, and check the Security tab. Check the permissions you have by clicking on your user name (or group of users). Here are the types of permissions, you may have:http://windows.microsoft.com/en-US/windows-vista/What-are-permissions. You must be an administrator or owner to change the permissions (and sometimes, being an administrator or even an owner is not sufficient - there are ways to block access (even if a smart administrator knows these ways and can move them - but usually should not because they did not have access, usually for a very good reason).) Here's how to change the permissions of folder under Vista:http://www.online-tech-tips.com/windows-vista/set-file-folder-permissions-vista/. To add take and the issuance of right of permissions and ownership in the right click menu (which will make it faster to get once it is configured), see the following article:http://www.mydigitallife.info/2009/05/21/take-and-grant-full-control-permissions-and-ownership-in-windows-7-or-vista-right-click-menu/.
To solve this problem with folders, folders takeownership or the reader (as an administrator) and give you all the rights. Right-click on the folder/drive, click Properties, click the Security tab and click on advanced and then click the owner tab. Click on edit, and then click the name of the person you want to give to the property (you may need to add if it is not there--or maybe yourself). If you want that it applies to subfolders and files in this folder/drive, then check the box to replace the owner of subcontainers and objects, and click OK. Back and now there is a new owner for files and folders/player who can change the required permissions. Here is more information on the ownership of a file or a folder:http://www.vistax64.com/tutorials/67717-take-ownership-file.html. To add take ownership in the menu of the right click (which will make it faster to get once it is configured), see the following article:http://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/.
I hope this helps.
Good luck!
Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.
Tags: Windows
Similar Questions
-
I'm changing the ownership of files/directories with a domain network environment. Using takeown /f \\server\share/r/a/dy. It works fine but when I check the property is actually on my administrative account as the owner. I'll need for administrators to be owner and not mine administrative account. Can you please help?
Thank you
RG
Hello
Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for support on Windows Server. Please post your question in the below link: http://social.technet.microsoft.com/Forums/en/category/windowsserver
-
"ERROR: access denied"on the partition does not work no security and takeown tab.
Hi assistants.
It is my last resource to solve my problem, hope that someone can understand. Any help is appreciated.
I'm unable to takeown to my hard drive using one of the following:
- Run cmd as admin takeown /f l:
- Log in as administrator, cmd, takeown /f l:
- Takeown /f l,: run takeown in Safe Mode (with command line),
It always returns "ERROR: access denied."
In the beginning, I have removed all the user/group permissions via right click-> properties-> Security-> edit and he urged something on the legacy, so I followed this and removed everything. (Little I didn't know that it can't be undone...)
Now when I right click on the drive and make appear the properties, there is no security tab and left click says access denied.Sorry, I'm just ideas. Here are the options I have for you:
(a) see if you can do something when the machine with your repair CD Windows 7 starts in a Repair Mode command prompt.
(b) save the file elsewhere, and then format the partition.
(c) let me take a look at your machine (because it is four eyes see more than two).If you want to learn more about option c), send a note to pegasus_fnlATyahooDOtcom.
-
New computer & new installation of windows 7. No games. Features I've tried, but I get a message "an error has occurred, not all features that are installed.
Any ideas on troubleshooting and resolution?
Thank youHey prairiedog,.
This could be because some of the system files required by running Windows games are missing or are damaged. My suggestion to solve this problem is to run the System File Checker to replace missing or damaged files.
To do this, follow these steps:
1. open an elevated command prompt. To do this, click Start, click programs, accessories principally made, right-click Guest, and then click Run as administrator. If you are prompted for an administrator password or a confirmation, type the password, or click on allow.
2. type the following command and press ENTER:
sfc/scannow
The sfc/scannow command. analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions.
To determine which files can be repaired by the System File Checker tool, follow these steps:1. open an elevated command prompt.
2. type the following command and press ENTER:findstr/c: "[SR] cannot repair the military file" %windir%\logs\cbs\cbs.log > sfcdetails.txt
Note The Sfcdetails.txt file contains details of every time that the System File Checker tool has been run on the computer. The file contains information about the files that are not repaired by the System File Checker tool. Check the date and time entries to determine the problem files that were found last time that you ran the System File Checker tool.
3. type the following command and press ENTER:
Edit sfcdetails.txt
The date/time SFC detail
If the System File Checker tool cannot repair a file, follow these steps:
1. at a command prompt, type the following command and press ENTER:
takeown /f Path_And_File_Name
2. type the following command and press ENTER to grant administrators full access to the file:
ICACLS Path_And_File_Name/grant ADMINISTRATORS: F
3. type the following command to replace the file with a known good copy of the file:
Copy Path_And_File_Name_Of_Source_File Path_And_File_Name_Of_Destination
Information available at:
How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
http://support.Microsoft.com/kb/929833After you run the tool, try to activate the features and games programs. If the SFC scan replaces missing files successfully, you should be able to run games on programs and features.
Reference:
Turn on or off Windows features
http://Windows.Microsoft.com/en-us/Windows7/turn-Windows-features-on-or-offKind regards
Shinmila H - Microsoft Support
Visit our Microsoft answers feedback Forum and let us know what you think.
-
Updates are not configured correctly.
I have a Dell Xps 420 with Vista 32 bit. Last night I let it update and standing on its own, when I turned it on this morning it said update 3 of 3 0%. When he arrived at 100%, it would go to the display of password for a brief second and say it would close down, he did this loop for a few hours, and then he changed to the updates were not configured correctly, returning changes and then restart. I tried to boot into safe mode and on the sofeware cd, but nothing works. Can someone give me a step by step process to solve this problem. Thank you
Try to rename the pending.xml from the command prompt using the following steps:
(1) open CMD prompt as administrator (start--> cmd--> right click--> Run As Administrator)
(2) enter the following information: takeown /f C:\Windows\winsxs\pending.xml
(3) enter the following information, and then type your user name in the designated place: cacls C:\Windows\winsxs\pending.xml/g: F
4) go to C:\Windows\winsxs\ through computer and rename the pending.xml pending.bak
(5) run Windows Update again.Kind regards.
-
I received the following error code: 80242006 when Windows tried to update automatically in May 2009. My update has not worked since. What can I do to solve this problem.
Hello
Update failed?
Error message when you try to install the updates on the Windows Update Web site or Microsoft Update
Web site: «0 x 80242006»
http://support.Microsoft.com/kb/956707I would also like to make the zero here:
How to reset the Windows Update components? -a Mr Fixit
http://support.Microsoft.com/kb/971058--------------------------------------------------
If no joy follow this top to the very bottom, it is a repetition of previous attempts.
It is a copy and paste from a fix on another forum.
Suggestion 1: Rename the pending.xml file
================================
1. click on "Start", "Find", type: "Notepad" (without the quotes)
and press ENTER.2 copy the following commands, and then paste them into Notepad open
window: * it was key here *.net stop wuauserv
net stop cryptsvc
takeown /f c:\windows\winsxs\pending.xml
ICACLS c:\windows\winsxs\pending.xml/grant Administrators:(D,WDAC)
del c:\windows\winsxs\pending.xml
pause
3. After you paste the above commands, please close the Notepad window. Choose
"Save" when you are prompted to save the file. Type "rename.bat" as the file
name and choose desktop in the left as the location Panel.4. refer to the desktop and right click on the rename.bat file, and then choose
"Run as administrator".5. you will see a window of type BACK treatment.
6. Once completed, restart the machine.
After you complete the steps successfully, please run Windows Update for
Check again the issue. If the problem persists, proceed to the next
suggestion.Suggestion 2: Run the CheckSUR tool
============================
1. download and run the CheckSUR tool from the following Web page
Depending on your system Type:Update for Windows Vista (KB947821) system tool
http://www.Microsoft.com/downloads/details.aspx?FamilyId=2889489c-ee87-4607-8aa5-812e8078ab27&displaylang=enSystem Update tool for Windows Vista for x 64 systems
(KB947821)
http://www.Microsoft.com/downloads/details.aspx?FamilyId=14f76773-007c-493f-BECE-243bc21ac73d&displaylang=en2. double-click on the downloaded file to launch the CheckSUR tool
3. restart the computer and run Windows Update to check the results.
Rob - bicycle - Mark Twain said it is good. -
one of the ideas why I get this messahe when attemptinf to reinstall service pack 1 framework?
Hi cherry,
I would have you to appropriate the way you suggested in your message.
To do this, I would like you to run these commands in a command prompt (Admin Mode)-
TAKEOWN /F the type in the path of the folder that you want to take access>
ICACLS type in the path of the folder that you want to take access> grant administrators: F /
We know if that helps.
-
I can't access my encrypted data files backup media on portable hard drive
I'm completely frustrated because I backed up my elements multimedia such as photos, videos, and documents on my iomega 80 GB usb portable hardrive and now when I try to open the photos there are "no previews" available, my videos "no access rights", in media player and documents "access denied." Yet these same files on my C: WINDOWS XP, they are accessible.
I have the Iomega HDD 80 GB divided into 2 were leaving and notice that it opens files in this partion but the other does not open media in its partition. Properties for the records that I have problems with checked in the Advanced tab "Encript the contents to secure data". I disabled this restart, restarted all to nothing does not. I need advice because I have the feeling that the ntfs files have rights of access and I have to show somehow that I'm the user for these files. NOTE: I tried all the security and sharing of troubleshooting guides without result; Anyone having problems simular Advisor please a solution to this delema. Thanks - Michael
Hi msielectric,
1. What is the full error message you get?
I suggest you to take ownership of the partition on the laptop hard drive and check if it helps:
a. Click Start, click all programs, and click Accessories.
b. right click on command prompt, and then click Run as administrator.
c. in the administrator of the command prompt window, type the following command and press on enter:
takeown /F (file path)
For example:
takeown /F C:\Users\\Music d. now, type the following command and press ENTER:
CACLS (file path) /G Administrator: F
Note: Instead of the administrator, you can type your name of user account with administrator privileges.
For example:
CACLS C:\Users\\Music/g Microsoft: F (where Microsoft is the account of a user with administrator privileges). e. restart the computer and test the issue.
Referral link: http://technet.microsoft.com/en-us/library/bb490872.aspx
-
Error, we couldn't finish the updates, undo changes turned off your computer
I waited on the downloads for Windows on another computer running Windows Vista Pro and this error has come and just kept repeating and turn the computer off power then back on but still to come with the error message "we couldn't finish the updates, undo changes off computer.» This causes a huge problem because I can't do anything to stop this error to run, even if I turn the computer and the.
Hi Yvonne,
Thank you for keeping us posted.
I wish that access you Windows recovery environment , and then select command prompt.
In the command prompt, I need to run these commands one by one-
takeown /f C:\Windows\winsxs\pending.xmlRen c:\windows\winsxs\pending.xml pending.oldOnce done, I would have you restart the computer and check.Do let us know if you need further assistance.
-
I use a windows 32-bit Home Basic, it was preinstalled on my PC so I don't have the CD of it but it has a recovery of files on my PC.
Can you please help me solve this problem? If re - install the vista, can I install fresh or repair only... Remember I don't HAVE THE CD, IT WAS PREINSTALLE.
Hello kwamectc,
To determine which files can be repaired by the System File Checker tool, follow these steps:
- Open an elevated command prompt.
- Type the following command and press ENTER:findstr/c: "[SR] cannot repair the military file" %windir%\logs\cbs\cbs.log > sfcdetails.txt
Note The Sfcdetails.txt file contains details of every time that the System File Checker tool has been run on the computer. The file contains information about the files that are not repaired by the System File Checker tool. Check the date and time entries to determine the problem files that were found last time that you ran the System File Checker tool.
- Type the following command and press ENTER:Edit sfcdetails.txt
The Sfcdetails.txt file uses the following format:
The date/time SFC detailRepair/replace, follow the steps below:
- At a command prompt, type the following command and press ENTER:takeown /f Path_And_File_Name
For example, type takeown /f E:\windows\system32\jscript.dll.
- Type the following command and press ENTER to grant administrators full access to the file:ICACLS Path_And_File_Name/grant ADMINISTRATORS: F
For example, type icacls E:\windows\system32\jscript.dll/grant administrators: F.
- Type the following command to replace the file with a known good copy of the file:Copy Path_And_File_Name_Of_Source_File Path_And_File_Name_Of_Destination
For example, type copy E:\temp\jscript.dll E:\windows\system32\jscript.dll.
Since you already have a scan to find the file manually and replace it with the correct filter. You can copy and send your diary here also. Let us know if you need help. Make it a great day!
"In the end, the love you take, is equal to the Love You Make"
-
Free disk space on the C partition
Separated from this thread.
I am also having the same problem. I am running Vista Home Premium SP2. I was getting close to complete on my drive C (13% free space). I was shocked to see how quickly it filled up, almost as if he did it by himself. I was downloading a lot so I had no idea how it happened. I ran each program cleaning and each antivirus that I had to try to make room. I cleaned up program files deleted a bunch of audio and video files, and it does not seem to do much more of a difference. I shut down the computer for the night and is returned to him the next morning. I ran and bought a few flash drives to transfer files more and when I booted up I checked the hard drive and it was back to 48% free space (as it was before). I have no idea what happened, but so far, it seems to be fixed...? one of the cleansers I ran also ccleaner.
Free disk spaceLast updated 18/01/2014Content
- To see how much space you have used and free
- To see where the files are too much space
- Disk Cleanup
- System restore
- Fix the basket
- Fix temporary Internet files
- Delete files in the system and the folder Temp of Service Profiles
- Check the size of the swap file
- Disable the hibernation
- Compact the Windows databases use various
- Delete the files updated by the Service Pack
- Move your Documents
- Remove saved files created by Photo Gallery
- Which extends the size of the disk
- Compress files
- Turn off the low disk space warnings
- Boost disk cleanup
To see how much space you have used and free
Start - All Programs - Accessories- Click with the right button on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
For the system drive
WMIC volume where (DriveLetter = '% lecteur_systeme %') are legend, capacity, freespace ListFor all readers
WMIC volume get/all, freespace, the ability, the legendIf you want to store this info on your desktop
WMIC /append:"%userprofile%\desktop\Free on disk space" volume get Caption, freespace format:htableTo open double click on Free Disk Space on your desk or type
Start "" "%userprofile%\desktop\Free report.HTML of disk space.Then come back here after cleaning and repeat these commands to see the difference.
If for any reason, the wmic command does not work, use these two commands. Both take a lot of time.
% Lecteur_systeme % - one defrag
or
dir %systemdrive%\*.*/a/s
To see where the files are too much spaceIt lists the number of files and the size of the folders on your drive. Each command is a subset, so you can run it better.Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).Then configure the command prompt. Right-click on the tab of the titlebar - Properties - Layout command prompt - and enter 1000 screen buffer size height and 43 (or 50) to Window Dimensions height. Change the color (color tab) and the police (police tab), if you want.To see the size of the folders in Documents, excluding images, video, or music files.for /f "Skip = 2 tokens = 3 ' set doc = A %%A in ('Reg query"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"/v"Personal"")for /f "usebackq tokens = 2 * delims =" %i IN ("dir"% doc"/ a/s ^ |") "." findstr/i/v "\/"^|findstr/l/v "photos video" ') @echo %j & echo. "To see the size of the folders in the music.for /f "Skip = 2 tokens = 4" %A in ('Reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v 'My music' ") set Doc = A %for /f "usebackq tokens = 2 * delims =" %i IN ("dir"% doc"/ a/s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."To see the size of the image files.for /f "Skip = 2 tokens = 4" %A in (' Reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" "My pictures" /v ") set Doc = A %for /f "usebackq tokens = 2 * delims =" %i IN ("dir"% doc"/ a/s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."To see the size of the files in the video.for /f "Skip = 2 tokens = 4" %A in ('Reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v 'My videos' ") set Doc = A %for /f "usebackq tokens = 2 * delims =" %i IN ("dir"% doc"/ a/s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."To see the size of the files on the desktop.for /f "Skip = 2 tokens = 3 ' set doc = A %%A in ('Reg query"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"/v"Desktop"")for /f "usebackq tokens = 2 * delims =" %i IN ("dir"% doc"/ a/s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."To see the size of the files in the Windows folder.for /f "usebackq tokens = 2 * delims =" %i IN ("'%windir%' dir /a /s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."To see the size of the files in the Program Files folder.for /f "usebackq tokens = 2 * delims =" %i IN ("'%ProgramFiles%' dir /a /s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."Disk CleanupTo run Disk Cleanup, normal is to click with the right button on the drive in my computer (Start menu - computer), then Properties - general tab - Disk Cleanup button.Another way is menu Start - All Programs - Accessories - System - Disk Cleanup tools.Disk Cleanup can be started from the command line.Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
To make your primary drive.cleanmgr letterChoose which lead to do.CleanmgrSee the last section of this post to see how to performance of disk cleanup.System restoreWith disk cleanup displays above the Other Options tab. You can delete all but the last System Restore point and see if that is too much space.
System Restore uses 15% of the space normally. Change click Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type Regedit and navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore\cfg
Double click on DiskPercent and click on decimal and change the value to the desired percentage,
You can change the command prompt.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
To see the size of the system restore folder.
You don't normally have access to this folder. You will need to take possession, allow administrators to permission, then the size of the query.
takeown /f "%systemdrive%\System Volume Information" / a r d yICACLS "%systemdrive%\System Volume Information" / grant administrators: f, t, c, qdir "%systemdrive%\System Volume Information" / a/sTo see the current percentage
Reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore\cfg" /v DiskPercentIt is in hexadecimal. The numbers are 0-9 and a-f. So 0xf is 15. 0x5 is 5, 0 x 9 is 9, 0xa is 10, 0 x 14 is 20.
To set a different value.
You can use decimal values to set. This affects 10% (in bold in the example and the last item in the line).
Tracking Add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore\cfg" /v DiskPercent /t REG_DWORD /f /d 10To repair the system restore, file delete and restart the system restore.SC stop vsstakeown /f "%systemdrive%\System Volume Information" / a r d yICACLS "%systemdrive%\System Volume Information" / grant administrators: f, t, c, qe "%systemdrive%\System Volume Information" / q/sSC start vssFix the basket
Sometimes, files get lost in the trash. Remove the storage folders. It will be automatically re-created next time you delete a file or open the Recycle Bin. It will remove the trash and the files it contains for all users.
Empty the trash.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
To see the size of the files in the Recycle Bin
It must have one or no files inside if you work. There should be a directory (folder) by user.
dir % systemdrive%\$RECYCLE. BIN\ *. * /a /s
To reset the trash
e % systemdrive%\$RECYCLE. BIN/s/q
Fix temporary Internet files
Sometimes, files get lost in the temporary internet files folder. Delete the files. It will be automatically recreated the next time download you. It will remove the current user only.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
To see the temporary internet files size empty files folder
RunDll32.exe InetCpl.cpl, ClearMyTracksByProcess 8
dir ' %userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\ *.» "*" '%userprofile%\AppData\Local\Microsoft\Internet Explorer\DOMStore\*.*' / a/s
Then delete.
Close Internet Explorer and the Explorer first. Some files may not remove at the moment, they can be deleted later.
"%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files" del /s /q
also the DOM store, similar to TIF.
"%userprofile%\AppData\Local\Microsoft\Internet Explorer\DOMStore" del /s /q
So to see the new size.
dir ' %userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\ *.» "*" '%userprofile%\AppData\Local\Microsoft\Internet Explorer\DOMStore\*.*' / a/s
To see the size of the cache, type the followingStart - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
Reg query /v "Settings\5.0\Cache\Content Software" CacheLimit validUse the calculator to convert hexadecimal into decimal. Start the Calculator (Start - All Programs - Accessories - calculator) and choose the menu display - scientific, then the menu display - Hex. Enter the value returned above. Menu display - decimal. To convert windows units divide by 1024 for kilobytes, divide by 1024 megabytes.Located between 50 MB and 250 MB. You can use decimal here. The unit is expressed in kilobytes. Here it is 250 megabytes (250 000 x 1024 bytes)Add tracking 'Software Settings\5.0\Cache\Content' v CacheLimit valid /t Reg_DWord /d 250000 f
Delete files in the system and the folder Temp of Service Profiles
The system temp folder is only used when no one connects. It is rarely used but never cleaned. Some services have their own temporary folder which is also cleaned.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
To the list
dir c:\windows\temp C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp C:\Windows\ServiceProfiles\LocalService\AppData\Local\Temp/a/sTo remove
del C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp\*.* C:\Windows\ServiceProfiles\LocalService\AppData\Local\Temp\*.* c:\windows\temp\*.*/s/f/qCheck the size of the swap file
As a rule generally you want to your swap file slightly larger than the amount of memory that you have. It develops automatically but spread automatically. If you use hungery memory programs as this video editing should be bigger. If too big you can reduce and rush of space can be moved to another drive.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
To see what was your use
WMIC pagefile get ListTo see the size of the file on disk
dir /a c:\pagefile.sysTo change the size or change the road see change the size of virtual memory in Start - Help and Support.
Disable the hibernation
The file shows up is the same size of installed memory. If this is not the case, turn off the computer in hibernation and save a lot of disk space.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
To see if it is on
If the file will be found. If off the file won't be there.
dir %systemdrive%\hiberfil.sys /aTo turn off
powercfg-h offMake a u-turn
powercfg-h onCompact the Windows databases use various
You can compact the various databases that Windows uses. This is the Windows Update, Windows Search, and certificates of security, Windows Mail, Windows Contacts, Windows, Windows Live and Internet Explorer ver 10 applications calendar.
Close Windows Mail and Internet Explorer. Wait a minute for Internet Explorer release locks of sound files.
See how much space taking up type which is below and note the total size (because it scrolls away).
Start - All Programs - Accessories- Click with the right button on command prompt and choose Run As Administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
dir c:\*.edb c:\*.msmessagestore c:\WebCacheV*.dat c:\catdb/a/sThen at compact
SC stop wuauservstop bits SCSC stop wsearchSC stop cryptsvcfor c:\ /r %A in (*.edb *.msmessagestore WebCacheV*.dat catdb *.) do esentutl.exe /p "%A" / ofor c:\ /r %A in (*.edb *.msmessagestore WebCacheV*.dat catdb *.) do esentutl.exe /d "%A".SC start cryptsvcSC start wsearch
SC start bitsSC start wuauservThen to delete some temporary files.
del c:\*.integ.raw c:\TEMPDFRG*.edb/sTo see the new size and compare it to the old size
dir c:\*.edb c:\*.msmessagestore c:\WebCacheV*.dat c:\catdb/a/sIf a program has a file open, you can use this procedure to find out which program.
openfiles/local onReset
openfiles/query /v | findstr /i "WebCacheV [0-9] *------catdb \.edb \.msmessagestore .dat".Delete the files updated by the Service Pack
See how much space taking up type which is below and note the total size (because it scrolls away). Also, note that the total is higher than it actually is.
This will remove the ability to uninstall service packs.
According to the service pack that Windows was provided with you can have both, one or none of these two files.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
dir /a /s c:\Windows\WinSxSThen type
Vsp1cln.exeCOMPCLN.exeTo see the new size and compare it to the old size
c:\windows\WinSxS dir /a /sMove your Documents
If you have another disk, you can move the documents folder to it.
Click with the right button on your Documents (or pictures, etc.) Office, videos, Contacts,) the tab file - Properties - location - move.
Delete the thumbnail and icon Caches
These files can contain thumbnails or icons of files deleted a long time ago. The files will be recreated if necessary.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste). The desktop and the start menu will disappear briefly.
To see the size
dir "% userprofile%\AppData\Local\*.db" "% userprofile%\AppData\Local\Microsoft\Windows\Explorer\*.db" /a
then remove
Taskkill /im explorer.exe/f
attrib - r s h '% userprofile%\AppData\Local\*.db '.
attrib - r s h '% userprofile%\AppData\Local\Microsoft\Windows\Explorer\*.db '.
del "% userprofile%\AppData\Local\*.db".
del "% userprofile%\AppData\Local\Microsoft\Windows\Explorer\*.db".
Explorerto check the new size
dir "% userprofile%\AppData\Local\*.db" "% userprofile%\AppData\Local\Microsoft\Windows\Explorer\*.db" /a
Remove saved files created by Photo Gallery
Photo Gallery Windows makes a copy of any file that you are editing. Click Start - All Programs - Accessories - (or press the Windows key + R). Type
Images of the hull: originalDelete the ones you don't want.
Which extends the size of the disk
If all the space on the disk has not all been used it is possible to extend your drive.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
DiskPart
then type
Select the c volume:
Then type to see in size
the list volume
then (it will work if possible or not as appropriate)
extend
type to display the new size
the list volume
then type exit
output
If you want advice on the extension of the partition type the following and paste the result back
DiskPart
list disk
the list volume
Select disk 0
partition from the list
Select disk 1
partition from the list
output
To copy the final text right click in the window - Mark , then select the text and press enter.Compress files
There are two ways to compress files in windows. Zip files and built-in file compression. It's built-in file compression. For more information on compression type zip in Start - Help and Support .
Photos, music and video are already compressed. They can get larger if Windows tries to compress it any further. Also usually a bad idea to compress system files.
If you have files of worksheet they can very well be compressed. If you have files, installation files, they can also be good candidates. Web pages are also good candidates.
In Windows Explorer, blue file names means Tablet (it is the file system compression not aka zip files compressed files). Green filename means Encrypted.
To disable file names colored, in Explorer - Tools menu (Alt + T)- display tab and then clear the check box for Show encrypted or compressed NTFS in color .
Windows compression, encryption and security to work for the most part by applying attributes to a folder and the files in the folder inherit the folder.
If you have all the files appropriate for compression, find them in solution, made Explorer right click - Properties - general -Advanced button tab - Compress contents to save disk space. Choose to apply to all files and folders when asked.
To use a command line to compress the files in the Favorites folder.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
compact/c /s:"%userprofile%\Favorites." *
Put in Favorites to compress files added
compact/c /s:"%userprofile%\Favorites.
To view the details of the compression of the Favorites folder
Compact '% userprofile%\Favorites\*.* '.
Turn off the low disk space warnings
To disable the function to display the disk low space warnings.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
Tracking Add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" v "NoLowDiskSpaceChecks" /t REG_DWORD /d 1 f
gpupdate/force
Boost disk cleanup
- Operation of disk cleanup
- Schedule disk cleanup
- Creating custom cleaners
To see a list of products of cleaning disk cleanup.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
@echo. & @echo list of cleaners&@echo = & FOR /F "usebackq tokens = 8 delims =-' %i IN ('reg query 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches'") @echo %i
List of cleaners ================ Active Setup Temp Folders Content Indexer Cleaner Downloaded Program Files Hibernation File Internet Cache Files Memory Dump Files Microsoft_Event_Reporting_2.0_Temp_Files Offline Pages Files Old ChkDsk Files Previous Installations Recycle Bin Setup Log Files System error memory dump files System error minidump files Temporary Files Temporary Setup Files Temporary Sync Files Thumbnail Cache Upgrade Discarded Files Windows Error Reporting Archive Files Windows Error Reporting Queue Files Windows Error Reporting System Archive Files Windows Error Reporting System Queue Files WLX Thumbnail Cache
-
Urgent please help: How can I find on what fills my hard drive?
My drive C guard fills, and I don't know why. Yesterday, I removed more than 40 GB of files and delete a lot more (I emptied the Recycle Bin). In the last 4 hours, filled an another 30 GB and I'm now in the red zone (5 GB in the last twenty minutes!). I only kept a very small Word document on the hard drive.
It only started past recently, in the last two weeks or more. I am on Windows Vista and I have McAfee. I recently completed a full scan and nothing significant has come.
I have only 5 GB on my C drive on the left, and there is nothing more that I can remove it. How can I find out what does this and how do I that to solve this problem?
Any emergency assistance will be greatly appreciated!
Thank you.
Free disk spaceLast updated 18/01/2014Content
- To see how much space you have used and free
- To see where the files are too much space
- Disk Cleanup
- System restore
- Fix the basket
- Fix temporary Internet files
- Delete files in the system and the folder Temp of Service Profiles
- Check the size of the swap file
- Disable the hibernation
- Compact the Windows databases use various
- Delete the files updated by the Service Pack
- Move your Documents
- Remove saved files created by Photo Gallery
- Which extends the size of the disk
- Compress files
- Turn off the low disk space warnings
- Boost disk cleanup
To see how much space you have used and free
Start - All Programs - Accessories- Click with the right button on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
For the system drive
WMIC volume where (DriveLetter = '% lecteur_systeme %') are legend, capacity, freespace ListFor all readers
WMIC volume get/all, freespace, the ability, the legendIf you want to store this info on your desktop
WMIC /append:"%userprofile%\desktop\Free on disk space" volume get Caption, freespace format:htableTo open double click on Free Disk Space on your desk or type
Start "" "%userprofile%\desktop\Free report.HTML of disk space.Then come back here after cleaning and repeat these commands to see the difference.
If for any reason, the wmic command does not work, use these two commands. Both take a lot of time.
% Lecteur_systeme % - one defrag
or
dir %systemdrive%\*.*/a/s
To see where the files are too much spaceIt lists the number of files and the size of the folders on your drive. Each command is a subset, so you can run it better.Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).Then configure the command prompt. Right-click on the tab of the titlebar - Properties - Layout command prompt - and enter 1000 screen buffer size height and 43 (or 50) to Window Dimensions height. Change the color (color tab) and the police (police tab), if you want.To see the size of the folders in Documents, excluding images, video, or music files.for /f "Skip = 2 tokens = 3 ' set doc = A %%A in ('Reg query"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"/v"Personal"")for /f "usebackq tokens = 2 * delims =" %i IN ("dir"% doc"/ a/s ^ |") "." findstr/i/v "\/"^|findstr/l/v "photos video" ') @echo %j & echo. "To see the size of the folders in the music.for /f "Skip = 2 tokens = 4" %A in ('Reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v 'My music' ") set Doc = A %for /f "usebackq tokens = 2 * delims =" %i IN ("dir"% doc"/ a/s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."To see the size of the image files.for /f "Skip = 2 tokens = 4" %A in (' Reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" "My pictures" /v ") set Doc = A %for /f "usebackq tokens = 2 * delims =" %i IN ("dir"% doc"/ a/s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."To see the size of the files in the video.for /f "Skip = 2 tokens = 4" %A in ('Reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v 'My videos' ") set Doc = A %for /f "usebackq tokens = 2 * delims =" %i IN ("dir"% doc"/ a/s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."To see the size of the files on the desktop.for /f "Skip = 2 tokens = 3 ' set doc = A %%A in ('Reg query"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"/v"Desktop"")for /f "usebackq tokens = 2 * delims =" %i IN ("dir"% doc"/ a/s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."To see the size of the files in the Windows folder.for /f "usebackq tokens = 2 * delims =" %i IN ("'%windir%' dir /a /s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."To see the size of the files in the Program Files folder.for /f "usebackq tokens = 2 * delims =" %i IN ("'%ProgramFiles%' dir /a /s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."Disk CleanupTo run Disk Cleanup, normal is to click with the right button on the drive in my computer (Start menu - computer), then Properties - general tab - Disk Cleanup button.Another way is menu Start - All Programs - Accessories - System - Disk Cleanup tools.Disk Cleanup can be started from the command line.Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
To make your primary drive.cleanmgr letterChoose which lead to do.CleanmgrSee the last section of this post to see how to performance of disk cleanup.System restoreWith disk cleanup displays above the Other Options tab. You can delete all but the last System Restore point and see if that is too much space.
System Restore uses 15% of the space normally. Change click Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type Regedit and navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore\cfg
Double click on DiskPercent and click on decimal and change the value to the desired percentage,
You can change the command prompt.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
To see the size of the system restore folder.
You don't normally have access to this folder. You will need to take possession, allow administrators to permission, then the size of the query.
takeown /f "%systemdrive%\System Volume Information" / a r d yICACLS "%systemdrive%\System Volume Information" / grant administrators: f, t, c, qdir "%systemdrive%\System Volume Information" / a/sTo see the current percentage
Reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore\cfg" /v DiskPercentIt is in hexadecimal. The numbers are 0-9 and a-f. So 0xf is 15. 0x5 is 5, 0 x 9 is 9, 0xa is 10, 0 x 14 is 20.
To set a different value.
You can use decimal values to set. This affects 10% (in bold in the example and the last item in the line).
Tracking Add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore\cfg" /v DiskPercent /t REG_DWORD /f /d 10To repair the system restore, file delete and restart the system restore.SC stop vsstakeown /f "%systemdrive%\System Volume Information" / a r d yICACLS "%systemdrive%\System Volume Information" / grant administrators: f, t, c, qe "%systemdrive%\System Volume Information" / q/sSC start vssFix the basket
Sometimes, files get lost in the trash. Remove the storage folders. It will be automatically re-created next time you delete a file or open the Recycle Bin. It will remove the trash and the files it contains for all users.
Empty the trash.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
To see the size of the files in the Recycle Bin
It must have one or no files inside if you work. There should be a directory (folder) by user.
dir % systemdrive%\$RECYCLE. BIN\ *. * /a /s
To reset the trash
e % systemdrive%\$RECYCLE. BIN/s/q
Fix temporary Internet files
Sometimes, files get lost in the temporary internet files folder. Delete the files. It will be automatically recreated the next time download you. It will remove the current user only.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
To see the temporary internet files size empty files folder
RunDll32.exe InetCpl.cpl, ClearMyTracksByProcess 8
dir ' %userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\ *.» "*" '%userprofile%\AppData\Local\Microsoft\Internet Explorer\DOMStore\*.*' / a/s
Then delete.
Close Internet Explorer and the Explorer first. Some files may not remove at the moment, they can be deleted later.
"%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files" del /s /q
also the DOM store, similar to TIF.
"%userprofile%\AppData\Local\Microsoft\Internet Explorer\DOMStore" del /s /q
So to see the new size.
dir ' %userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\ *.» "*" '%userprofile%\AppData\Local\Microsoft\Internet Explorer\DOMStore\*.*' / a/s
To see the size of the cache, type the followingStart - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
Reg query /v "Settings\5.0\Cache\Content Software" CacheLimit validUse the calculator to convert hexadecimal into decimal. Start the Calculator (Start - All Programs - Accessories - calculator) and choose the menu display - scientific, then the menu display - Hex. Enter the value returned above. Menu display - decimal. To convert windows units divide by 1024 for kilobytes, divide by 1024 megabytes.Located between 50 MB and 250 MB. You can use decimal here. The unit is expressed in kilobytes. Here it is 250 megabytes (250 000 x 1024 bytes)Add tracking 'Software Settings\5.0\Cache\Content' v CacheLimit valid /t Reg_DWord /d 250000 f
Delete files in the system and the folder Temp of Service Profiles
The system temp folder is only used when no one connects. It is rarely used but never cleaned. Some services have their own temporary folder which is also cleaned.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
To the list
dir c:\windows\temp C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp C:\Windows\ServiceProfiles\LocalService\AppData\Local\Temp/a/sTo remove
del C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp\*.* C:\Windows\ServiceProfiles\LocalService\AppData\Local\Temp\*.* c:\windows\temp\*.*/s/f/qCheck the size of the swap file
As a rule generally you want to your swap file slightly larger than the amount of memory that you have. It develops automatically but spread automatically. If you use hungery memory programs as this video editing should be bigger. If too big you can reduce and rush of space can be moved to another drive.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
To see what was your use
WMIC pagefile get ListTo see the size of the file on disk
dir /a c:\pagefile.sysTo change the size or change the road see change the size of virtual memory in Start - Help and Support.
Disable the hibernation
The file shows up is the same size of installed memory. If this is not the case, turn off the computer in hibernation and save a lot of disk space.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
To see if it is on
If the file will be found. If off the file won't be there.
dir %systemdrive%\hiberfil.sys /aTo turn off
powercfg-h offMake a u-turn
powercfg-h onCompact the Windows databases use various
You can compact the various databases that Windows uses. This is the Windows Update, Windows Search, and certificates of security, Windows Mail, Windows Contacts, Windows, Windows Live and Internet Explorer ver 10 applications calendar.
Close Windows Mail and Internet Explorer. Wait a minute for Internet Explorer release locks of sound files.
See how much space taking up type which is below and note the total size (because it scrolls away).
Start - All Programs - Accessories- Click with the right button on command prompt and choose Run As Administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
dir c:\*.edb c:\*.msmessagestore c:\WebCacheV*.dat c:\catdb/a/sThen at compact
SC stop wuauservstop bits SCSC stop wsearchSC stop cryptsvcfor c:\ /r %A in (*.edb *.msmessagestore WebCacheV*.dat catdb *.) do esentutl.exe /p "%A" / ofor c:\ /r %A in (*.edb *.msmessagestore WebCacheV*.dat catdb *.) do esentutl.exe /d "%A".SC start cryptsvcSC start wsearch
SC start bitsSC start wuauservThen to delete some temporary files.
del c:\*.integ.raw c:\TEMPDFRG*.edb/sTo see the new size and compare it to the old size
dir c:\*.edb c:\*.msmessagestore c:\WebCacheV*.dat c:\catdb/a/sIf a program has a file open, you can use this procedure to find out which program.
openfiles/local onReset
openfiles/query /v | findstr /i "WebCacheV [0-9] *------catdb \.edb \.msmessagestore .dat".Delete the files updated by the Service Pack
See how much space taking up type which is below and note the total size (because it scrolls away). Also, note that the total is higher than it actually is.
This will remove the ability to uninstall service packs.
According to the service pack that Windows was provided with you can have both, one or none of these two files.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
dir /a /s c:\Windows\WinSxSThen type
Vsp1cln.exeCOMPCLN.exeTo see the new size and compare it to the old size
c:\windows\WinSxS dir /a /sMove your Documents
If you have another disk, you can move the documents folder to it.
Click with the right button on your Documents (or pictures, etc.) Office, videos, Contacts,) the tab file - Properties - location - move.
Delete the thumbnail and icon Caches
These files can contain thumbnails or icons of files deleted a long time ago. The files will be recreated if necessary.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste). The desktop and the start menu will disappear briefly.
To see the size
dir "% userprofile%\AppData\Local\*.db" "% userprofile%\AppData\Local\Microsoft\Windows\Explorer\*.db" /a
then remove
Taskkill /im explorer.exe/f
attrib - r s h '% userprofile%\AppData\Local\*.db '.
attrib - r s h '% userprofile%\AppData\Local\Microsoft\Windows\Explorer\*.db '.
del "% userprofile%\AppData\Local\*.db".
del "% userprofile%\AppData\Local\Microsoft\Windows\Explorer\*.db".
Explorerto check the new size
dir "% userprofile%\AppData\Local\*.db" "% userprofile%\AppData\Local\Microsoft\Windows\Explorer\*.db" /a
Remove saved files created by Photo Gallery
Photo Gallery Windows makes a copy of any file that you are editing. Click Start - All Programs - Accessories - (or press the Windows key + R). Type
Images of the hull: originalDelete the ones you don't want.
Which extends the size of the disk
If all the space on the disk has not all been used it is possible to extend your drive.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
DiskPart
then type
Select the c volume:
Then type to see in size
the list volume
then (it will work if possible or not as appropriate)
extend
type to display the new size
the list volume
then type exit
output
If you want advice on the extension of the partition type the following and paste the result back
DiskPart
list disk
the list volume
Select disk 0
partition from the list
Select disk 1
partition from the list
output
To copy the final text right click in the window - Mark , then select the text and press enter.Compress files
There are two ways to compress files in windows. Zip files and built-in file compression. It's built-in file compression. For more information on compression type zip in Start - Help and Support .
Photos, music and video are already compressed. They can get larger if Windows tries to compress it any further. Also usually a bad idea to compress system files.
If you have files of worksheet they can very well be compressed. If you have files, installation files, they can also be good candidates. Web pages are also good candidates.
In Windows Explorer, blue file names means Tablet (it is the file system compression not aka zip files compressed files). Green filename means Encrypted.
To disable file names colored, in Explorer - Tools menu (Alt + T)- display tab and then clear the check box for Show encrypted or compressed NTFS in color .
Windows compression, encryption and security to work for the most part by applying attributes to a folder and the files in the folder inherit the folder.
If you have all the files appropriate for compression, find them in solution, made Explorer right click - Properties - general -Advanced button tab - Compress contents to save disk space. Choose to apply to all files and folders when asked.
To use a command line to compress the files in the Favorites folder.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
compact/c /s:"%userprofile%\Favorites." *
Put in Favorites to compress files added
compact/c /s:"%userprofile%\Favorites.
To view the details of the compression of the Favorites folder
Compact '% userprofile%\Favorites\*.* '.
Turn off the low disk space warnings
To disable the function to display the disk low space warnings.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
Tracking Add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" v "NoLowDiskSpaceChecks" /t REG_DWORD /d 1 f
gpupdate/force
Boost disk cleanup
- Operation of disk cleanup
- Schedule disk cleanup
- Creating custom cleaners
To see a list of products of cleaning disk cleanup.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
@echo. & @echo list of cleaners&@echo = & FOR /F "usebackq tokens = 8 delims =-' %i IN ('reg query 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches'") @echo %i
List of cleaners ================ Active Setup Temp Folders Content Indexer Cleaner Downloaded Program Files Hibernation File Internet Cache Files Memory Dump Files Microsoft_Event_Reporting_2.0_Temp_Files Offline Pages Files Old ChkDsk Files Previous Installations Recycle Bin Setup Log Files System error memory dump files System error minidump files Temporary Files Temporary Setup Files Temporary Sync Files Thumbnail Cache Upgrade Discarded Files Windows Error Reporting Archive Files Windows Error Reporting Queue Files Windows Error Reporting System Archive Files Windows Error Reporting System Queue Files WLX Thumbnail Cache
-
I just want to know if there is a problem if I delete the files '%Temp%' race
Hey guys, I just want to know if there is a problem if I delete the files '%Temp%' run! ???
Free disk spaceLast updated 18/01/2014Content
- To see how much space you have used and free
- To see where the files are too much space
- Disk Cleanup
- System restore
- Fix the basket
- Fix temporary Internet files
- Delete files in the system and the folder Temp of Service Profiles
- Check the size of the swap file
- Disable the hibernation
- Compact the Windows databases use various
- Delete the files updated by the Service Pack
- Move your Documents
- Remove saved files created by Photo Gallery
- Which extends the size of the disk
- Compress files
- Turn off the low disk space warnings
- Boost disk cleanup
To see how much space you have used and free
Start - All Programs - Accessories- Click with the right button on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
For the system drive
WMIC volume where (DriveLetter = '% lecteur_systeme %') are legend, capacity, freespace ListFor all readers
WMIC volume get/all, freespace, the ability, the legendIf you want to store this info on your desktop
WMIC /append:"%userprofile%\desktop\Free on disk space" volume get Caption, freespace format:htableTo open double click on Free Disk Space on your desk or type
Start "" "%userprofile%\desktop\Free report.HTML of disk space.Then come back here after cleaning and repeat these commands to see the difference.
If for any reason, the wmic command does not work, use these two commands. Both take a lot of time.
% Lecteur_systeme % - one defrag
or
dir %systemdrive%\*.*/a/s
To see where the files are too much spaceIt lists the number of files and the size of the folders on your drive. Each command is a subset, so you can run it better.Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).Then configure the command prompt. Right-click on the tab of the titlebar - Properties - Layout command prompt - and enter 1000 screen buffer size height and 43 (or 50) to Window Dimensions height. Change the color (color tab) and the police (police tab), if you want.To see the size of the folders in Documents, excluding images, video, or music files.for /f "Skip = 2 tokens = 3 ' set doc = A %%A in ('Reg query"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"/v"Personal"")for /f "usebackq tokens = 2 * delims =" %i IN ("dir"% doc"/ a/s ^ |") "." findstr/i/v "\/"^|findstr/l/v "photos video" ') @echo %j & echo. "To see the size of the folders in the music.for /f "Skip = 2 tokens = 4" %A in ('Reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v 'My music' ") set Doc = A %for /f "usebackq tokens = 2 * delims =" %i IN ("dir"% doc"/ a/s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."To see the size of the image files.for /f "Skip = 2 tokens = 4" %A in (' Reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" "My pictures" /v ") set Doc = A %for /f "usebackq tokens = 2 * delims =" %i IN ("dir"% doc"/ a/s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."To see the size of the files in the video.for /f "Skip = 2 tokens = 4" %A in ('Reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v 'My videos' ") set Doc = A %for /f "usebackq tokens = 2 * delims =" %i IN ("dir"% doc"/ a/s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."To see the size of the files on the desktop.for /f "Skip = 2 tokens = 3 ' set doc = A %%A in ('Reg query"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"/v"Desktop"")for /f "usebackq tokens = 2 * delims =" %i IN ("dir"% doc"/ a/s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."To see the size of the files in the Windows folder.for /f "usebackq tokens = 2 * delims =" %i IN ("'%windir%' dir /a /s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."To see the size of the files in the Program Files folder.for /f "usebackq tokens = 2 * delims =" %i IN ("'%ProgramFiles%' dir /a /s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."Disk CleanupTo run Disk Cleanup, normal is to click with the right button on the drive in my computer (Start menu - computer), then Properties - general tab - Disk Cleanup button.Another way is menu Start - All Programs - Accessories - System - Disk Cleanup tools.Disk Cleanup can be started from the command line.Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
To make your primary drive.cleanmgr letterChoose which lead to do.CleanmgrSee the last section of this post to see how to performance of disk cleanup.System restoreWith disk cleanup displays above the Other Options tab. You can delete all but the last System Restore point and see if that is too much space.
System Restore uses 15% of the space normally. Change click Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type Regedit and navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore\cfg
Double click on DiskPercent and click on decimal and change the value to the desired percentage,
You can change the command prompt.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
To see the size of the system restore folder.
You don't normally have access to this folder. You will need to take possession, allow administrators to permission, then the size of the query.
takeown /f "%systemdrive%\System Volume Information" / a r d yICACLS "%systemdrive%\System Volume Information" / grant administrators: f, t, c, qdir "%systemdrive%\System Volume Information" / a/sTo see the current percentage
Reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore\cfg" /v DiskPercentIt is in hexadecimal. The numbers are 0-9 and a-f. So 0xf is 15. 0x5 is 5, 0 x 9 is 9, 0xa is 10, 0 x 14 is 20.
To set a different value.
You can use decimal values to set. This affects 10% (in bold in the example and the last item in the line).
Tracking Add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore\cfg" /v DiskPercent /t REG_DWORD /f /d 10To repair the system restore, file delete and restart the system restore.SC stop vsstakeown /f "%systemdrive%\System Volume Information" / a r d yICACLS "%systemdrive%\System Volume Information" / grant administrators: f, t, c, qe "%systemdrive%\System Volume Information" / q/sSC start vssFix the basket
Sometimes, files get lost in the trash. Remove the storage folders. It will be automatically re-created next time you delete a file or open the Recycle Bin. It will remove the trash and the files it contains for all users.
Empty the trash.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
To see the size of the files in the Recycle Bin
It must have one or no files inside if you work. There should be a directory (folder) by user.
dir % systemdrive%\$RECYCLE. BIN\ *. * /a /s
To reset the trash
e % systemdrive%\$RECYCLE. BIN/s/q
Fix temporary Internet files
Sometimes, files get lost in the temporary internet files folder. Delete the files. It will be automatically recreated the next time download you. It will remove the current user only.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
To see the temporary internet files size empty files folder
RunDll32.exe InetCpl.cpl, ClearMyTracksByProcess 8
dir ' %userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\ *.» * ' / a/s.
Then delete.
First close Internet Explorer. Some files may not remove at the moment, they can be deleted later.
"%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files" del /s /q
So to see the new size.
dir ' %userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\ *.» * ' / a/s.
To see the size of the cache, type the followingStart - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
Reg query /v "Settings\5.0\Cache\Content Software" CacheLimit validUse the calculator to convert hexadecimal into decimal. Start the Calculator (Start - All Programs - Accessories - calculator) and choose the menu display - scientific, then the menu display - Hex. Enter the value returned above. Menu display - decimal. To convert windows units divide by 1024 for kilobytes, divide by 1024 megabytes.Located between 50 MB and 250 MB. You can use decimal here. The unit is expressed in kilobytes. Here it is 250 megabytes (250 000 x 1024 bytes)Add tracking 'Software Settings\5.0\Cache\Content' v CacheLimit valid /t Reg_DWord /d 250000 f
Delete files in the system and the folder Temp of Service Profiles
The system temp folder is only used when no one connects. It is rarely used but never cleaned. Some services have their own temporary folder which is also cleaned.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
To the list
dir c:\windows\temp C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp C:\Windows\ServiceProfiles\LocalService\AppData\Local\Temp/a/sTo remove
del C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp\*.* C:\Windows\ServiceProfiles\LocalService\AppData\Local\Temp\*.* c:\windows\temp\*.*/s/f/qCheck the size of the swap file
As a rule generally you want to your swap file slightly larger than the amount of memory that you have. It develops automatically but spread automatically. If you use hungery memory programs as this video editing should be bigger. If too big you can reduce and rush of space can be moved to another drive.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
To see what was your use
WMIC pagefile get ListTo see the size of the file on disk
dir /a c:\pagefile.sysTo change the size or change the road see change the size of virtual memory in Start - Help and Support.
Disable the hibernation
The file shows up is the same size of installed memory. If this is not the case, turn off the computer in hibernation and save a lot of disk space.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
To see if it is on
If the file will be found. If off the file won't be there.
dir %systemdrive%\hiberfil.sys /aTo turn off
powercfg-h offMake a u-turn
powercfg-h onCompact the Windows databases use various
You can compact the various databases that Windows uses. This is the Windows Update, Windows Search, and certificates of security, Windows Mail, Windows Contacts, Windows, Windows Live and Internet Explorer ver 10 applications calendar.
Close Windows Mail and Internet Explorer. Wait a minute for Internet Explorer release locks of sound files.
See how much space taking up type which is below and note the total size (because it scrolls away).
Start - All Programs - Accessories- Click with the right button on command prompt and choose Run As Administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
dir c:\*.edb c:\*.msmessagestore c:\WebCacheV*.dat c:\catdb/a/sThen at compact
SC stop wuauservstop bits SCSC stop wsearchSC stop cryptsvcfor c:\ /r %A in (*.edb *.msmessagestore WebCacheV*.dat catdb *.) do esentutl.exe /p "%A" / ofor c:\ /r %A in (*.edb *.msmessagestore WebCacheV*.dat catdb *.) do esentutl.exe /d "%A".SC start cryptsvcSC start wsearch
SC start bitsSC start wuauservThen to delete some temporary files.
del c:\*.integ.raw c:\TEMPDFRG*.edb/sTo see the new size and compare it to the old size
dir c:\*.edb c:\*.msmessagestore c:\WebCacheV*.dat c:\catdb/a/sIf a program has a file open, you can use this procedure to find out which program.
openfiles/local onReset
openfiles/query /v | findstr /i "WebCacheV [0-9] *------catdb \.edb \.msmessagestore .dat".Delete the files updated by the Service Pack
See how much space taking up type which is below and note the total size (because it scrolls away). Also, note that the total is higher than it actually is.
This will remove the ability to uninstall service packs.
According to the service pack that Windows was provided with you can have both, one or none of these two files.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
dir /a /s c:\Windows\WinSxSThen type
Vsp1cln.exeCOMPCLN.exeTo see the new size and compare it to the old size
c:\windows\WinSxS dir /a /sMove your Documents
If you have another disk, you can move the documents folder to it.
Click with the right button on your Documents (or pictures, etc.) Office, videos, Contacts,) the tab file - Properties - location - move.
Delete the thumbnail and icon Caches
These files can contain thumbnails or icons of files deleted a long time ago. The files will be recreated if necessary.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste). The desktop and the start menu will disappear briefly.
To see the size
dir "% userprofile%\AppData\Local\*.db" "% userprofile%\AppData\Local\Microsoft\Windows\Explorer\*.db" /a
then remove
Taskkill /im explorer.exe/f
attrib - r s h '% userprofile%\AppData\Local\*.db '.
attrib - r s h '% userprofile%\AppData\Local\Microsoft\Windows\Explorer\*.db '.
del "% userprofile%\AppData\Local\*.db".
del "% userprofile%\AppData\Local\Microsoft\Windows\Explorer\*.db".
Explorerto check the new size
dir "% userprofile%\AppData\Local\*.db" "% userprofile%\AppData\Local\Microsoft\Windows\Explorer\*.db" /a
Remove saved files created by Photo Gallery
Photo Gallery Windows makes a copy of any file that you are editing. Click Start - All Programs - Accessories - (or press the Windows key + R). Type
Images of the hull: originalDelete the ones you don't want.
Which extends the size of the disk
If all the space on the disk has not all been used it is possible to extend your drive.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
DiskPart
then type
Select the c volume:
Then type to see in size
the list volume
then (it will work if possible or not as appropriate)
extend
type to display the new size
the list volume
then type exit
output
If you want advice on the extension of the partition type the following and paste the result back
DiskPart
list disk
the list volume
Select disk 0
partition from the list
Select disk 1
partition from the list
output
To copy the final text right click in the window - Mark , then select the text and press enter.Compress files
There are two ways to compress files in windows. Zip files and built-in file compression. It's built-in file compression. For more information on compression type zip in Start - Help and Support .
Photos, music and video are already compressed. They can get larger if Windows tries to compress it any further. Also usually a bad idea to compress system files.
If you have files of worksheet they can very well be compressed. If you have files, installation files, they can also be good candidates. Web pages are also good candidates.
In Windows Explorer, blue file names means Tablet (it is the file system compression not aka zip files compressed files). Green filename means Encrypted.
To disable file names colored, in Explorer - Tools menu (Alt + T)- display tab and then clear the check box for Show encrypted or compressed NTFS in color .
Windows compression, encryption and security to work for the most part by applying attributes to a folder and the files in the folder inherit the folder.
If you have all the files appropriate for compression, find them in solution, made Explorer right click - Properties - general -Advanced button tab - Compress contents to save disk space. Choose to apply to all files and folders when asked.
To use a command line to compress the files in the Favorites folder.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
compact/c /s:"%userprofile%\Favorites." *
Put in Favorites to compress files added
compact/c /s:"%userprofile%\Favorites.
To view the details of the compression of the Favorites folder
Compact '% userprofile%\Favorites\*.* '.
Turn off the low disk space warnings
To disable the function to display the disk low space warnings.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
Tracking Add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" v "NoLowDiskSpaceChecks" /t REG_DWORD /d 1 f
gpupdate/force
Boost disk cleanup
- Operation of disk cleanup
- Schedule disk cleanup
- Creating custom cleaners
To see a list of products of cleaning disk cleanup.
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
@echo. & @echo list of cleaners&@echo = & FOR /F "usebackq tokens = 8 delims =-' %i IN ('reg query 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches'") @echo %i
List of cleaners ================ Active Setup Temp Folders Content Indexer Cleaner Downloaded Program Files Hibernation File Internet Cache Files Memory Dump Files Microsoft_Event_Reporting_2.0_Temp_Files Offline Pages Files Old ChkDsk Files Previous Installations Recycle Bin Setup Log Files System error memory dump files System error minidump files Temporary Files Temporary Setup Files Temporary Sync Files Thumbnail Cache Upgrade Discarded Files Windows Error Reporting Archive Files Windows Error Reporting Queue Files Windows Error Reporting System Archive Files Windows Error Reporting System Queue Files WLX Thumbnail Cache
-
Cannot delete the file of zero length without name
I have a file without a name, that I can't delete zero length. I tried to delete by right-clicking and selecting delete (System does nothing). I tried to delete the directory where the file is contained. (The name is invalid or too long). I also tried to delete it using BACK del *. (Incorrect file name)
The 8.3 name is also empty:
11/08/2010 09:46.
11/08/2010 09:46...
09/18/2009 11:07 0
1 file (s) 0 bytes
2 dir 73,268,756,480 bytes freeAny ideas?
Thank you all, but the problem persists.
1. do not know how to disable AVG and TortoiseSVN
2. has managed to move directory, but still unable to remove file
3. without success with safe mode
4. used * filename in takeown and icacls (orders failed to file and directory level)Directory renamed and moved to a discreet place to forget. (Problem solved)
Thank you very much
JB -
Delete the file mpasdlta.vdm and mpengine.dll files and folders
I use Vista Home Premium (32-bit and 64-bit) on three computers. Starting last August, the files and folders listed above associated began to appear on one of my computers. According to Google, they are related to Microsoft Malware Protection, a piece of software that I have installed. Records are now moved to six in total, and used storage space is more than 800 MB. If I try to delete these files and folders, I'm told that I don't have permission. (I am the only user of my computers and I have administrator privileges). I started in safe mode, but get the same message of refusal.
I looked at my software through the Control Panel-programs and features, but can not find such a program malware installed. Given that these files do not appear on my other two computers configured in the same way, should not be needed. How can I get rid of this mess, which continues to develop?
Thanks in advance for any sober.
Gordon
Houston, Texas
To give the control is a two-step process. Take ownership and then to give permissions.
Owner of a file allows the owner to change permissions even if they do not have the authorization to do so. It's the only thing that made property.
You must then give you permission to delete the folder.
In order to remove "C:\ProgramData\Microsoft\Windows Defender\Definition Updates" for example.
-----------------------------------------------
Click Start - all programs - Accessories - Command Prompt right click and choose run as administrator. Typetakeown /f "C:\ProgramData\Microsoft\Windows Defender\Definition updates" / a/r
ICACLS "C:\ProgramData\Microsoft\Windows Defender\Definition Updates" / grant administrators: f/t
RD/s/s "C:\ProgramData\Microsoft\Windows Defender\Definition Updates"
Maybe you are looking for
-
Qosmio G20-127: keys Fn & shortcut keys do not work with Vista RC1
This problem is really annoying me. Shortcut keys (play, pause, forward, record, brightness), or Fn keys work since I installed windows vista RC1.I need to find a solution to this problem. If someone did experience please provide me with your comment
-
Is this possible?
-
HP 15-P052TX: eBay Image is not enlarge if clicked, problem caused by expansion of HP
HelloI am trying to record an image products that I buy on ebay. But when I click on the image, it is not enlarge the way he usually does (it zooms fine however), instead, it goes to the view of the gallery as usual, but in a very small way (at the b
-
Hi all I am a beginner in Labview. If need help in loops. Please check the attached vi and suggest me the procedure I followed is effective or not. If this is not the case, correct me. Waiting for answer
-
multiple control for switch case structure
I have four process past... my first process is supposed to work for 12 hours and next three deal for 1 hour each. Since I have many variable to display I use tab control. Now my question is how use two controls for the case selector one based on the