+ Post New Thread
Results 1 to 4 of 4
Scripts Thread, Script to create a local user on a XP box. in Coding and Web Development; Does anyone have a script that will create a local user on a domain pc, the user does not need ...
  1. #1
    tosca925's Avatar
    Join Date
    Aug 2005
    Location
    Midlands
    Posts
    1,547
    Thank Post
    4
    Thanked 4 Times in 4 Posts
    Rep Power
    22

    Script to create a local user on a XP box.

    Does anyone have a script that will create a local user on a domain pc, the user does not need to be a administrator just a user to log on locally.

    I would like to ut a test user on 20 pc's in a OU.

    And maybe a script to delete the account at a later date.

  2. #2
    sahmeepee's Avatar
    Join Date
    Oct 2005
    Location
    Greater Manchester
    Posts
    795
    Thank Post
    20
    Thanked 70 Times in 42 Posts
    Rep Power
    33

    Re: Script to create a local user on a XP box.

    Possibly you can use this resource kit tool in a simple batch file:

    AddUsers

    It looks like you can point it at the remote PC too. If not, use psexec from sysinternals.

  3. #3

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,802
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Script to create a local user on a XP box.

    If you run 'net users add testuser' with psexec won't that do it?

  4. #4
    tosca925's Avatar
    Join Date
    Aug 2005
    Location
    Midlands
    Posts
    1,547
    Thank Post
    4
    Thanked 4 Times in 4 Posts
    Rep Power
    22

    Re: Script to create a local user on a XP box.

    I was looking for a VB Script really

SHARE:
+ Post New Thread

Similar Threads

  1. Script to create a VPN connection
    By Norphy in forum Scripts
    Replies: 5
    Last Post: 20th April 2010, 11:37 AM
  2. Replies: 13
    Last Post: 8th November 2007, 02:53 PM
  3. VB Script to create folders
    By markesmith in forum Scripts
    Replies: 2
    Last Post: 26th April 2007, 03:03 PM
  4. Replies: 0
    Last Post: 17th February 2007, 04:43 PM
  5. Script to Create My Documents Subject Folders
    By SwedishChef in forum Scripts
    Replies: 15
    Last Post: 5th July 2006, 08:14 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •