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 Dodajte Defragment na desno miškino tipko za Drive

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. Po pisanju članka prejšnji teden, o tem, kako dodati čiščenje diska na kontekstni meni za vožnjo, sem prejel več zahtev za kako dodati še eno menija za odmrzniti namesto tega. With a simple registry hack we can do just that. Z enostavno registracija kramp moremo storiti prav to.

After manually applying or downloading the hack, you'll have a new item on the right-click menu for your drives… Za ročno uporabo ali prenos kramp, boste imeli novo točko na desni klik menija za vaše pogone ...

image

Which will start up the command-line version of Disk Defragmenter (after accepting the UAC prompt) Kateri bo zagon ukazne vrstice različica za defragmentiranje diska (po sprejetju UAC uren)

image

Manual Registry Hack Manual Registry Hack

Open up regedit.exe through the start menu search or run box, and then browse down to the following key: Odprite regedit.exe skozi iskanje začetek jedilnik ali polje teči in poiščite do naslednjih ključnih:

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”. Ustvarite nov ključ pod lupino imenovane "runas", in nato nastavite vrednosti (Privzeto), da "Defragmentiraj". 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. Če želite skriti ta element menija v ozadju desno tipko Shift-click meniju, nato dodamo nov niz imenovano razširjeno brez vrednosti.

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. Nato boste morali ustvariti ključ imenovan "command" in nastavite privzeto vrednost na naslednje, ki je ukaz za zagon odmrzniti s privzetimi možnostmi, vendar show verbose output.

defrag %1 -v odmrzniti% 1-v

You can alternately choose from one of the other defrag switches here if you'd like. Lahko izmenično izberejo enega od drugih odmrzniti stikala tukaj, če želite.

Downloadable Registry Hack Cool Registry Hack

Simply download, extract, and double-click on either AddDefragToDriveMenu.reg (for the regular menu) or AddDefragToExtendedDriveMenu.reg (to hide behind the Shift key). Preprosto download, citat, in dvokliknite na obeh AddDefragToDriveMenu.reg (za redni meni) ali AddDefragToExtendedDriveMenu.reg (skriti zadaj tipko Shift). There's also an included removal script that will remove either one. Tam je tudi vključena odstranitev scenarij, da bo odpravil enega.

Download AddDefragToDriveMenu Registry Hack Download AddDefragToDriveMenu Registry Hack

This article was originally written on 06/25/08 Tagged with: Ta članek je bil prvotno napisan na 06/25/08 Tagged with: Vista Tips & Tweaks Vista Nasveti in Tweaks , , Windows 7 Windows 7 , , Windows Vista Windows Vista

Daily Email Updates Dnevni Email Updates

You can get our how-to articles in your inbox each day for free. Lahko dobite našo kako do člankov v vašo mapo »Prejeto vsak dan brezplačno. Just enter your name and email below: Preprosto vpišite vaše ime in e-pošto spodaj:


Name: Ime:
Email: E-pošta:

Comments (13) Komentarji (13)

  1. USBman USBman

    As one of those that requested this tweak, I humbly thank you. Kot eden tistih, ki so zahtevali to poteg, ponižno hvala.

    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!). Dodajanje "runas" kos premagal upravitelj zahteva, ter "razširjeno" string je lepo dotik (del za navedeno prejšnji post o dodajanju čiščenje diska preveč!).

    Overall, the kind of elegant solution I've come to expect from your site. Na splošno, vrste elegantno rešitev sem pričakujejo iz vaše strani. Well done. Dobro opravljeno.

  2. The Geek Geek

    Glad I could help! Lepo, jaz bi lahko pomagal! =) =)

  3. Brian Brian

    I sure wanted to try this but without the download. Hotel sem prepričan, da poskusite to, vendar brez prenosa.
    Since I have only minimal registry work I was careful to do exactly as you had posted. Ker imam le minimalne registracija delo, ki sem bila pozorna, da se to točno tako, kot si imel posted.

    However, when I select defragmenet I get Vendar, ko sem izberite defragmenet dobim
    “Which user account do you want to run this program.” "Kateri uporabniški račun želite zagnati ta program."
    I then selected current user. Jaz torej izbrane trenutnega uporabnika.
    But then I get just a flash of the DOS screen and it disappears. Ampak potem sem dobil le trenutek za zaslon DOS-a in bo izginila.

    I have double checked all the registry entries and they look just like the ones you posted. Imam dvojno preveri vse vnose v register in so videti kot tiste, ki jih objavil. Any idea what I can do to keep the DOS screen from disappearing? Kakšno idejo, kaj lahko storim, da bo zaslon DOS pojav?

    BTW, I don't have Vista, I am using XP 2nd Edition. BTW, nimam razgled, rabim XP 2nd Edition.

    THANKS Hvala

    BRIAN BRIAN

  4. The Geek Geek

    @Brian @ Brian

    For XP, you should rename the runas key to something else, like just “defrag”. Za XP, morate preimenovati runas ključ za nekaj drugega, kot samo "odmrzniti". I need to update the post to explain the alternate XP instructions… thanks for mentioning. Moram posodobiti delovno mesto, da pojasni nadomestnega XP navodila ... hvala za omenjajo.

  5. abhs94 abhs94

    Hey Geek, Hej Geek,
    This was really helpful To je bilo pošteno uslužen
    how do you get to know about such tweaks Kako ste spoznali o teh poteg

  6. Mike's beeps! Piska Mike's! Hahahahahahahahaha! Hahahahahahahahaha!

    You rock! You rock!

  7. MikeHigham MikeHigham

    You rock! You rock! Thanks! Hvala!

  8. Mike Higham Mike Higham

    Could you please do one for Check Disk as well? Bi lahko prosim naredite nekaj za disk preverite tudi?

  9. The Geek Geek

    @Mike @ Mike

    Will get on that. Bo dobil na to.

  10. Motor Mike Motor Mike

    Does this work for network drives as well? Ali je to delo za omrežne pogone, pa tudi?

  11. brandon Brandon

    hey thnx alot for the helpful little tweaks hej thnx veliko zakaj pomoč malo poteg
    greatly appreciated zelo uvaževati

  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. To je lepo trik in jaz bi mu skok v drugo, če Vista ne zaposlujejo avtomatski defrag vsak teden. On the rare occasion when a person might need to defrag a specific disk, it is easily done from the control panel. Ob redkih priložnosti, ko lahko oseba morali odmrzniti poseben disk, se lahko opravi od nadzorni plošči.

  13. bw bw

    I successfully implemented this reg hack, but the CMD prompt closes afterwards (automatically). Sem uspešno izvedla ta reg kramp, vendar CMD hitro zapre zatem (avtomatično). Is there a way to have the CMD prompt stay open so I can review the results? Ali obstaja način, da CMD poziv odprta, da lahko pregledam rezultate?

    Thanks Geek, not only for a great hack, but a great site. Hvala Geek, ne le za velik kramp, ampak velik položaj.

    bw bw


Leave a Comment Pustite komentar




Leave your Pustite friendly prijazen comment here. comment here.

If you have a computer help question, Če imate računalnik pomagati vprašanje, click here to leave it on the forums kliknite tukaj, da ga pustijo na forumih instead. namesto.

Note: Your comment may not show up immediately on the site. Opomba: Tvoj komentar morda ne pokažejo takoj na mestu.

Our Friends Naši prijatelji
Getting Started Getting Started


About How-To Geek O Kako naj Geek
What Is That Process? Kaj je to proces?
svchost.exe svchost.exe
jusched.exe jusched.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. All Rights Reserved.