1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: Remove Local Account Remotely

Discussion in 'Windows XP' started by DiGiTY, Mar 25, 2010.

Thread Status:
Not open for further replies.
Advertisement
  1. DiGiTY

    DiGiTY Thread Starter

    Joined:
    Oct 16, 2006
    Messages:
    343
    How do I remove a local account remotely, more specifically using a command line tool? The targeted machines are WinXP workstations and are attached to a SBS 2008 server/domain.

    TIA
     
  2. Squashman

    Squashman Trusted Advisor

    Joined:
    Apr 4, 2003
    Messages:
    19,786
    net user
    also look at pstools
    Posted via Mobile Device
     
  3. DiGiTY

    DiGiTY Thread Starter

    Joined:
    Oct 16, 2006
    Messages:
    343
    I'm trying net user but not having any luck. Is the following the right syntax to remove local user "jdadmin" from every machine in the domain?

    Code:
    net user jayhawkfan /delete /workstations:*
    TIA
     
  4. TheOutcaste

    TheOutcaste

    Joined:
    Aug 7, 2007
    Messages:
    9,028
    Net User doesn't work against remote machines, you'll need to use psexec from the pstools collection
    Code:
    psexec \\workstation net user jdadmin /delete
     
  5. DiGiTY

    DiGiTY Thread Starter

    Joined:
    Oct 16, 2006
    Messages:
    343
    Psexec worked perfectly! Thanks!
     
  6. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Similar Threads - Solved Remove Local
  1. Edvinas112edvis
    Replies:
    2
    Views:
    588
  2. Zygmo
    Replies:
    5
    Views:
    710
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/912554

  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.
    Dismiss Notice