Important! This is an automatic machine translated page. If you can read english, you should Click Here to read the original English version of the article.

Add Defragment to the Right-Click Menu for a Drive Adauga Defragmentaţi la Right-Click Meniu pentru o unitate

After writing the article last week about how to add Disk Cleanup to the context menu for a drive, I received several requests for how to add another menu item for Defrag instead. După scris articolul săptămâna trecută, despre cum se adaugă Curăţire disc pentru a meniul contextual pentru o unitate, am primit mai multe cereri pentru modul de a adăuga un alt element de meniu pentru Defrag în loc. With a simple registry hack we can do just that. Cu un registru simplu hack putem face doar asta.

After manually applying or downloading the hack, you'll have a new item on the right-click menu for your drives… După aplicarea manual sau descărcarea hack, veţi avea un nou element pe meniul clic dreapta pentru drive-urile dvs. ...

image

Which will start up the command-line version of Disk Defragmenter (after accepting the UAC prompt) , Care va începe de comandă versiunea electronica online a Defragmentare disc (după acceptarea UAC prompt)

image

Manual Registry Hack Manual de registru hack

Open up regedit.exe through the start menu search or run box, and then browse down to the following key: Deschide regedit.exe prin intermediul de căutare meniul Start sau caseta de a alerga, apoi răsfoiţi până la următoarea cheie:

HKEY_CLASSES_ROOT\Drive\shell HKEY_CLASSES_ROOT \ Drive \ shell

image

Create a new key under shell called “runas”, and then set the (Default) value to “Defragment”. Creaţi o nouă cheie în conformitate cu coajă numit "runas", şi apoi setaţi Implicit () valoarea de la "Defragmentare". If you want to hide this menu item behind the Shift key right-click menu, then add a new string called Extended with no value. Dacă doriţi să ascundeţi acest punct din meniu în spatele dreapta Shift-cheie faceţi clic pe meniu, apoi se adaugă un şir de nou numit extinsă cu nici o valoare.

image

Next, you'll need to create a key called “command” and set the default value to the following, which is the command to run defrag with the default options but show verbose output. Apoi, va trebui să creaţi o cheie numit "comandă" şi setaţi valoarea implicită pentru a următoare, care este comanda pentru a rula defrag cu opţiunile implicite, dar arată o ieşire detaliată.

defrag %1 -v Defrag% 1-v

You can alternately choose from one of the other defrag switches here if you'd like. Puteţi alege alternativ, de la unul din defrag alte switch-uri aici dacă doriţi.

Downloadable Registry Hack Popular registru hack

Simply download, extract, and double-click on either AddDefragToDriveMenu.reg (for the regular menu) or AddDefragToExtendedDriveMenu.reg (to hide behind the Shift key). Pur şi simplu, supliment, şi faceţi dublu-clic pe oricare dintre AddDefragToDriveMenu.reg (pentru meniul regulate) sau AddDefragToExtendedDriveMenu.reg (să se ascundă în spatele tasta Shift). There's also an included removal script that will remove either one. Există, de asemenea, un script de ştergere a inclus, care va elimina nici unul.

Download AddDefragToDriveMenu Registry Hack Descarca AddDefragToDriveMenu registru hack

This article was originally written on 06/25/08 Tagged with: Acest articol a fost scris iniţial pe 06.25.08 Etichetate cu: Vista Tips & Tweaks Vista Tips & trucurile , , Windows 7 Windows 7 , , Windows Vista Windows Vista

Daily Email Updates Daily Actualizări de email

You can get our how-to articles in your inbox each day for free. Aveţi posibilitatea să obţineţi modul nostru de-a articole în Inbox în fiecare zi pentru drum liber. Just enter your name and email below: Doar introduceţi numele dvs. şi e-mail de mai jos:


Name: Nume:
Email: E-mail:

Comments (13) Comentarii (13)

  1. USBman USBman

    As one of those that requested this tweak, I humbly thank you. Fiind unul dintre cei care a solicitat acest optimizare, am umilinţă vă mulţumesc.

    Adding the “runas” piece overcame the administrator requirement, and the “Extended” string is a nice touch (works for the aforementioned previous post on adding Disk Cleanup too!). Adăugarea runas "" bucata învins cerinţa de administrator, şi "extinsă" string este un frumos atinge (lucrări pentru postul menţionate mai sus anterioare privind adăugarea Curăţire disc de asemenea!).

    Overall, the kind of elegant solution I've come to expect from your site. În ansamblu, un fel de soluţie elegantă am venit să aştepte de la site-ul dumneavoastră. Well done. Well done.

  2. The Geek Geek

    Glad I could help! Mă bucur că am putut ajuta! =) =)

  3. Brian Brian

    I sure wanted to try this but without the download. Sigur că am vrut să încerc acest lucru, dar fără descărcare.
    Since I have only minimal registry work I was careful to do exactly as you had posted. Din moment ce am doar de lucru minime de registru am avut grijă să facă exact aşa cum aţi fi postate.

    However, when I select defragmenet I get Cu toate acestea, atunci când am selectaţi defragmenet I a lua
    “Which user account do you want to run this program.” "Ce faci cont de utilizator pe care doriţi să executaţi acest program."
    I then selected current user. Apoi i-am selectat utilizatorul curent.
    But then I get just a flash of the DOS screen and it disappears. Dar apoi m-am lua doar un fulger a ecranului DOS şi ea dispare.

    I have double checked all the registry entries and they look just like the ones you posted. Am verificat dublu toate intrările de registry şi ei arata exact ca cele pe care le postate. Any idea what I can do to keep the DOS screen from disappearing? Orice idee ce pot face pentru a menţine ecranul de DOS de a dispărea?

    BTW, I don't have Vista, I am using XP 2nd Edition. BTW, nu am Vista, I sînt folosire XP 2nd Edition.

    THANKS MULÞUMIRI

    BRIAN BRIAN

  4. The Geek Geek

    @Brian @ Brian

    For XP, you should rename the runas key to something else, like just “defrag”. Pentru XP, ar trebui să redenumiţi runas cheie pentru altceva, ca doar "Defrag". I need to update the post to explain the alternate XP instructions… thanks for mentioning. Am nevoie de actualizare a posta pentru a explica instrucţiunile de supleant XP ... mulţumiri pentru menţionarea.

  5. abhs94 abhs94

    Hey Geek, Hei Geek,
    This was really helpful Acest lucru a fost într-adevăr ajutor
    how do you get to know about such tweaks cum a face tu a lua să ştiţi despre anumite trucuri, cum ar

  6. Mike's beeps! Mike's beep-uri! Hahahahahahahahaha! Hahahahahahahahaha!

    You rock! You rock!

  7. MikeHigham MikeHigham

    You rock! You rock! Thanks! Mulţumesc!

  8. Mike Higham Mike Higham

    Could you please do one for Check Disk as well? Aţi putea să vă rugăm să faceţi unul pentru disc de check, precum?

  9. The Geek Geek

    @Mike @ Mike

    Will get on that. Vor primi pe asta.

  10. Motor Mike Motor Mike

    Does this work for network drives as well? Are acest lucru pentru unităţile de reţea, precum?

  11. brandon Brandon

    hey thnx alot for the helpful little tweaks hey thnx foarte mult pentru anumite trucuri utile mic
    greatly appreciated apreciat foarte mult

  12. Spacegold Spacegold

    It's a nice little trick and I would jump on it in a second if Vista did not employ automatic defrag every week. Este un truc drăguţ şi mi-ar sari pe ea într-o secundă, dacă Vista nu a angaja automată defrag în fiecare săptămână. On the rare occasion when a person might need to defrag a specific disk, it is easily done from the control panel. Cu ocazia rare în care o persoană ar putea avea nevoie pentru a defrag un disc specifice, este usor de facut de la panoul de control.

  13. bw bw

    I successfully implemented this reg hack, but the CMD prompt closes afterwards (automatically). Am implementat cu succes acest reg hack, dar CMD prompt se închide după aceea (automat). Is there a way to have the CMD prompt stay open so I can review the results? Există o modalitate de a avea CMD prompt raman deschise, aşa că am putea revizui rezultatele?

    Thanks Geek, not only for a great hack, but a great site. Multumesc Geek, nu numai pentru o mare hack, dar o mare site-ul.

    bw bw


Our Friends Our Friends
Getting Started Noţiuni de bază


About How-To Geek Despre "Cum să" Geek
What Is That Process? Ce este acest proces?
svchost.exe svchost.exe
jusched.exe winampa.exe
dwm.exe dwm.exe
ctfmon.exe ctfmon.exe
wmpnetwk.exe wmpnetwk.exe
wmpnscfg.exe wmpnscfg.exe
rundll32.exe rundll32.exe
wfcrun32.exe wfcrun32.exe
Ipoint.exe Ipoint.exe
Itype.exe Itype.exe
Wfica32.exe Wfica32.exe
Mobsync.exe Mobsync.exe
conhost.exe conhost.exe
Dpupdchk.exe Dpupdchk.exe Adobe_Updater.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. Copyright © 2006-2009 HowToGeek.com. All Rights Reserved. Toate drepturile rezervate.