1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Resolved Unable to remove User's folder

Discussion in 'Windows 7' started by satimis, 2010/06/26.

  1. 2010/06/26
    satimis

    satimis Inactive Thread Starter

    Joined:
    2007/04/15
    Messages:
    115
    Likes Received:
    0
    Hi folks,

    Win 7 64 bit

    UserA was created on installation. Then I ran on Command Prompt;

    >net user UserA /delete

    and create UserB

    >net user UserB password /add

    There was no complain. UserB popup on login page. UserA removed

    But I can't delete UserA's folder on;

    \Local Disk\Users\UserA as administrator.

    It always complained;
    this folder is shared with other people

    On Command Prompt ran;
    >net share UserA /delete
    This shared resource does not exist

    Please help. TIA


    Edit:
    ==

    I found following file being used by another program;

    c>dir C:\Users\UserA\AppData\Local|Microsoft\Media Player
    ....
    .... CurrentDatabase_372.wmdb

    But I can't delete it on Command Prompt running "del" command


    B.R.
    satimis
     
    Last edited: 2010/06/27
  2. 2010/06/27
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,317
    Likes Received:
    252
    Normally you'd delete users from Control Panel->Users
     

  3. to hide this advert.

  4. 2010/06/27
    satimis

    satimis Inactive Thread Starter

    Joined:
    2007/04/15
    Messages:
    115
    Likes Received:
    0
    Resolved

    Hi Steve,

    Thanks for your advice.

    Running "net' command to add/delete users is simple and straight forwards avoiding clicking around on the screen with mouse pointer. Although this is very old DOS command at least >15 years and without further development. It is still very powerful.

    The other 2 DOS command used in conjunction with "net" command are "deltree" and "rmdir" to remove the folders/directories. They are also old commands. But non of them can be used in my case because a file inside the folder is shared by another program.

    Finally I have to start Safe Mode to delete the folder manually.

    B.R.
    satimis
     
  5. 2010/06/27
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,317
    Likes Received:
    252
    I guess if you aren't real good with a mouse then the old dos commands can come in handy. I wonder how much stuff gets left over when delete the way you did. Few hundred registy entries come to mind...
     
  6. 2010/06/29
    satimis

    satimis Inactive Thread Starter

    Joined:
    2007/04/15
    Messages:
    115
    Likes Received:
    0
    Hi,

    What I did was on a newly installed Win7, a brand new OS without touch (not yet operated)

    First I installed Win7 as guest on Sun VirturalBox, the virtual machine. During installation I have to create a user. (Say this original Win7 guest(VM) Win7-01). From Win7-01 I cloned Win7-02, Win7-03 and Win7-04, guests(VM). Each guest(VM) runs DrJava, Netbeans and Visual Basic 2010 respectively. They are IDE for testing and building Java, C++ and CSharp programs respectively.

    (I'm prepared deleting Win7-04 soon because I found Mono-develop (the Open Source IDE) much better than Visual Basic. The CSharp program built on Mono-develop able to work cross-platform, i.e. the *.exe runs both on Windows and Linux, also MAC soon

    Edit:-

    I can add Moonlight-Mono to Mono-develop. Moonlight is an open source implementation of MS Silverlight )


    I need to retain different user (different user name) on each Win7, guest(VM). So I ran 2 commands on "Command Prompt" to do the job, rather than performing;
    Code:
    Start -> Control Panel -> User Accounts and Family Safety -> User Accounts -> Change your account name -> next window, type the new name -> Rename etc.
    

    IIRC "regedit" can also do the job by deploying the key
    Code:
    
    HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ ....
    
    I have been away from Windows since 2002 just coming back. Any advice on "regedit" way? TIA


    B.R.
    satimis
     
    Last edited: 2010/06/29

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.