Are there risks when deleting old Admin Account? Win 7


  1. Posts : 13
    Windows 7 Professional Premium 64 bit
       #1

    Are there risks when deleting old Admin Account? Win 7


    Hello. I recently had to reinstall (restore) Windows 7 HomePremium from scratch. Got a malware 'infection!' HP desktop computer.

    After that (the restore) I created two new user accounts, limited user and admin, and deactivated the two previous ones. I found that there were files, under C:\Users –from the two old accounts. I did a little looking around and found a way toremove these accounts from the command prompt. The command line I used was:

    rd /s /q "c:\Users\xxx" {Enter}

    Replace xxx with the name of the profile folder you wish todelete. Note that this action is irreversible.

    I used this command to delete the previous limited useraccount, and that worked, but I am concerned about removing the old admin account because references to it keep coming up in, say, Windows Backup. Something about ‘Windows Backup could not find certain files (that I had deleted after creating the two new user accounts using Win Explorer) that were under the old admin account.

    So, what risk is there, if any, of deleting the previous/oldadmin account using the above command line? I mean, there are a near endlessnumber of entries in that account in the old “Indexed Locations” folder under searches. Also,quite a few entries under ‘AppData.”

    And, if OK, should I do this while logged into the new admin account? When I deleted the old LUA, I ran the command line as Administrator, but while in the new LUA.

    Many thanks for any help!
    Last edited by T R Finlay; 16 May 2016 at 13:30. Reason: syntax!
      My Computer


  2. Posts : 721
    Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
       #2

    Just to be clear here, you are looking to remove a folder under C:\Users that was once connected to a functioning user account—it is now deleted—the user’s profile folder remains, correct?

    In this case, you may just blatantly remove the folder and expect no problems to arise. (If one does, you know where to go.)

    Should the user account actually exist, please follow a procedure detailed here to properly remove the account.

    T R Finlay said:
    And, if OK, should I do this while logged into the new admin account? When I deleted the old LUA, I ran the command line as Administrator, but while in the new LUA.
    It doesn’t matter what account you use, but you should, as you’ve done before, run the command with administrative privileges to avoid possible file system permission restrictions.
      My Computer


  3. Posts : 13
    Windows 7 Professional Premium 64 bit
    Thread Starter
       #3

    Reply appreciated...


    Yes, the profile folder still exists.

    I will attempt the solutions you offer in a day or so (have some priority non-computer work to get done), then get back and note the results!

    Thanks! Tom
    Last edited by T R Finlay; 17 May 2016 at 13:07. Reason: Updated Concern Info!
      My Computer


 

  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 10:14.
Find Us