w7 help me to delete these keys

Discussion in 'other software & services' started by mantra, Feb 23, 2011.

Thread Status:
Not open for further replies.
  1. mantra

    mantra Registered Member

    Joined:
    Jan 25, 2005
    Posts:
    5,125
    Hi

    i run w7 ultimate like administrator ,and i uninstalled avast
    after i used the avast clean tool

    but i get lots of keys

    for example

    Code:
    [HKEY_LOCAL_MACHINE\system\controlset001\services\aswtdi\]
    i know it's not a big issue
    but i want to get rid of them
    the problem , run regedit like administrator , but i can not delete this key for example , because i have enough permission

    how can i do it?
    thanks
    cheers
     
  2. philby

    philby Registered Member

    Joined:
    Jan 10, 2008
    Posts:
    940
    Hi mantra

    Can you select the key, choose Edit > Permissions > Advanced and change ownership to your admin username?

    If there are sub-keys, you may also have to check the box that says "Replace owner on subcontainers and objects"

    Then try to delete...
     
    Last edited: Feb 23, 2011
  3. mantra

    mantra Registered Member

    Joined:
    Jan 25, 2005
    Posts:
    5,125
    nope :(
    i got an error
     

    Attached Files:

  4. stackz

    stackz Registered Member

    Joined:
    Dec 27, 2007
    Posts:
    619
    Location:
    Sydney Australia
    Try using Sysinternals PsExec to launch RegEdit as System.

    Here's a simple batch file to do the job, just insert the file path for PsExec.
    Code:
    @echo off
    for /F "tokens=1,2*" %%x in ('bcdedit') do set adminTest=%%x
    if (%adminTest%)==(Access) goto not_admin
    
    "C:\file\path\PsExec" -s -i -d "C:\Windows\regedit.exe"
    goto finish
    
    :not_admin
    echo You must run this script as administrator!
    pause
    goto finish 
    
    :finish
    
     
  5. mantra

    mantra Registered Member

    Joined:
    Jan 25, 2005
    Posts:
    5,125
    thanks man :thumb:
    worked like a charm !
     
Loading...
Thread Status:
Not open for further replies.