Partition or Volume - Delete

Page 4 of 17 FirstFirst ... 2345614 ... LastLast

  1. Posts : 5
    Windows 7 Home Edition
       #30

    Thanks anyways sir...

    But then i found the answer somewhere in google, and uhm wanna share in here...

    If u wanna delete files without the annoying Security ... the Take Ownership file option must be done... simply make this registry command using notepad and save as "Ownership.reg" with the quotes... Then Run.

    Windows Registry Editor Version 5.00


    [HKEY_CLASSES_ROOT\*\shell\runas]
    @="Take Ownership"
    "NoWorkingDirectory"=""

    [HKEY_CLASSES_ROOT\*\shell\runas\command]
    @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

    [HKEY_CLASSES_ROOT\Directory\shell\runas]
    @="Take Ownership"
    "NoWorkingDirectory"=""

    [HKEY_CLASSES_ROOT\Directory\shell\runas\command]
    @="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"


    Just right click the folder and hit Take Ownership... Ur now ready to delete it.

    Thanks for the site whom i read this. Sorry i didn't take note of that...
      My Computer


  2. Posts : 72,051
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #31

    Wahbufetz,

    I'm happy to hear that you got it sorted. :)

    Yep, that would be close to what we have in our Take Ownership context menu shortcut, but not quite as thorough.

    Take Ownership Shortcut

    Code:
     
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\*\shell\takeownership]
    @="Take Ownership"
    "HasLUAShield"=""
    "NoWorkingDirectory"=""
     
    [HKEY_CLASSES_ROOT\*\shell\takeownership\command]
    @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
     
    [HKEY_CLASSES_ROOT\exefile\shell\takeownership]
    @="Take Ownership"
    "HasLUAShield"=""
    "NoWorkingDirectory"=""
     
    [HKEY_CLASSES_ROOT\exefile\shell\takeownership\command]
    @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
     
    [HKEY_CLASSES_ROOT\dllfile\shell\takeownership]
    @="Take Ownership"
    "HasLUAShield"=""
    "NoWorkingDirectory"=""
     
    [HKEY_CLASSES_ROOT\dllfile\shell\takeownership\command]
    @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
     
    [HKEY_CLASSES_ROOT\Directory\shell\takeownership]
    @="Take Ownership"
    "HasLUAShield"=""
    "NoWorkingDirectory"=""
     
    [HKEY_CLASSES_ROOT\Directory\shell\takeownership\command]
    @="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
      My Computer


  3. Posts : 5
    Windows 7 Home Edition
       #32

    Thanx Sir Brink... God Bless....
      My Computer


  4. Posts : 43
    Windows 7 + Windows Xp Pro + Ubuntu 10.04 + openSUSE 11.2
       #33

    I prefer Gparted for doing any job with my partitions !
      My Computer


  5. Posts : 13,354
    Windows 7 Professional x64
       #34

    celldweller1591 said:
    I prefer Gparted for doing any job with my partitions !
    That's okay, but for a quick partition delete, you can't beat the convenience of the built-in partition editor!
      My Computer


  6. Posts : 3
    Windows 7
       #35

    Hi,

    I deleted the 2nd partition I had with XP and expanded the normal drive I have with Windows 7 to take back the extra space. It is still having me chose between Windows 7 and XP when I boot up the computer. How do I correct this so I don't have to chose between 7 and an OS that isn't even on my computer anymore?

    Thank you,
    Dave
      My Computer


  7. Posts : 72,051
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #36

    Hello Dave,

    Since you removed XP, you can delete the XP entry in the Windows Boot Manager, then uncheck the Time to Display the List of Operating Systems at Boot box to not have the Windows Boot Manager at boot anymore.

    Hope this helps,
    Shawn
      My Computer


  8. Posts : 5
    Windows 7 Home Edition
       #37

    Try this one folk...


    Open CMD using Run ( Command Prompt)

    Then type in

    "bcdedit /enum" without the quotes to list up the boot configuration data store

    then after it displays the list of boots configs, identify the name to what you're going to delete...

    example

    vrenwuh35h34534545kkgf

    or

    Current


    type in:
    bcdedit /delete [name]

    where name is the name value and hit enter




    .... That's it. Try rebooting to confirm...


    (Bad English... Sorry)
      My Computer


  9. Posts : 3
    Windows 7
       #38

    Windows 7 Partition Deleting Problem


    Hello Friends,

    I found this forum very usefull. I am facing one problem in windows 7, I have 13gb in my C drive where windows 7 is installed but its completly full now i have another partition D: there i have more 13gb its completly free space i tried to go to disk management and then delet the partition D: its showing green label and showing free space but when i am trying to delet it again to make it unallocation but delet partition option is disabled and i cant delet the partition so how i should extend the C:...

    I have also tried partition wizard but and tried to merge from there but not sucessfull it says some files are in used in C: please restart retry or cancel the operation i did restart it starts operation before win start but not succesfull also please help
      My Computer


  10. Posts : 13,354
    Windows 7 Professional x64
       #39

    Welcome to SF!

    Could you please post a screenshot of your Disk Management window?

    A Preferred Method of Uploading/Posting Screen Shots
      My Computer


 
Page 4 of 17 FirstFirst ... 2345614 ... LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:46.
Find Us