+ Post New Thread
Results 1 to 15 of 15
How do you do....it? Thread, renaming the pc's in Technical; hi, the previous company which was set up the network named the pcs according to their wish, i coudnt identyfy ...
  1. #1
    lionsl2005's Avatar
    Join Date
    Nov 2008
    Location
    Barnet
    Posts
    543
    Thank Post
    383
    Thanked 23 Times in 22 Posts
    Rep Power
    16

    renaming the pc's

    hi, the previous company which was set up the network named the pcs according to their wish, i coudnt identyfy which matchine belongs to which room / suit? i wd like to rename it according to the room, ex.. ICT roon - ict 1, ict 2 ....., how do i do it ?

  2. #2
    k-strider's Avatar
    Join Date
    Oct 2006
    Location
    Gloucester
    Posts
    357
    Thank Post
    7
    Thanked 40 Times in 30 Posts
    Rep Power
    23
    some one will correct me if i am wrong.. but i think this is a manual job really

    Assume PCs are XP should work in Vista too in an AD env.
    log onto the PC as the local Admin (not a domain acount it doesn't always work)
    1) right click my comp -> Properties
    2) Computer Name Tab press Change
    3) chaneg the Name there.. (it will be reflected in AD)
    4) when prompted for credentials pass a domain admins usr/pwd or at least someone who can alter computer objects.
    Reboot..

    we name ours roomXXYY with XX being the room number ie 01 02.. 43 and YY being the PC number 01 02..99

  3. Thanks to k-strider from:

    lionsl2005 (16th January 2009)

  4. #3

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    k-strider is right. If your machines aren't part of a domain, you won't be prompted for credential near the end.

  5. #4
    altecsole's Avatar
    Join Date
    Jun 2005
    Location
    Morecambe, Lancashire, UK.
    Posts
    281
    Thank Post
    39
    Thanked 36 Times in 26 Posts
    Rep Power
    25
    If they're a member of your domain you can use the following command in a batch file to rename computers over the network:

    Code:
    netdom renamecomputer %1 /newname:%2 /userd:DOMAIN_NAME\%3 /passwordd:%4 /usero:administrator /passwordo:LOCAL_ADMIN_PASSWORD /reboot:10 /force
    Where:
    %1 is old computer name
    %2 is new computer name
    %3 is domain admin user name
    %4 is domain admin password

    So, assuming the command is saved in a batch file called 'rename.cmd'. To rename a computer from 'comp1' to 'room7-01' you'd enter the following at the command prompt:

    rename comp1 room7-01 domain_admin_user domain_admin_password

  6. 5 Thanks to altecsole:

    Crispin (16th January 2009), Dom_ (16th January 2009), dwimorberg (20th January 2009), lionsl2005 (16th January 2009), Talorin (21st January 2009)

  7. #5
    Oops_my_bad's Avatar
    Join Date
    Jan 2007
    Location
    Man chest hair
    Posts
    1,738
    Thank Post
    438
    Thanked 53 Times in 50 Posts
    Rep Power
    30
    Or..

    Name them the same as your asset tag (for example) then all you have to do is update your inventory/AD descriptions rather than renaming the whole PC

  8. Thanks to Oops_my_bad from:

    lionsl2005 (16th January 2009)

  9. #6
    lionsl2005's Avatar
    Join Date
    Nov 2008
    Location
    Barnet
    Posts
    543
    Thank Post
    383
    Thanked 23 Times in 22 Posts
    Rep Power
    16

    Thumbs up

    Quote Originally Posted by altecsole View Post
    If they're a member of your domain you can use the following command in a batch file to rename computers over the network:

    Code:
    netdom renamecomputer %1 /newname:%2 /userd:DOMAIN_NAME\%3 /passwordd:%4 /usero:administrator /passwordo:LOCAL_ADMIN_PASSWORD /reboot:10 /force
    Where:
    %1 is old computer name
    %2 is new computer name
    %3 is domain admin user name
    %4 is domain admin password

    So, assuming the command is saved in a batch file called 'rename.cmd'. To rename a computer from 'comp1' to 'room7-01' you'd enter the following at the command prompt:

    rename comp1 room7-01 domain_admin_user domain_admin_password
    Thank you very much, much appriciated

  10. #7
    altecsole's Avatar
    Join Date
    Jun 2005
    Location
    Morecambe, Lancashire, UK.
    Posts
    281
    Thank Post
    39
    Thanked 36 Times in 26 Posts
    Rep Power
    25
    You're very welcome.

  11. #8
    dwimorberg's Avatar
    Join Date
    Jan 2009
    Location
    Middle of Nowhere, Northumberland
    Posts
    32
    Thank Post
    5
    Thanked 8 Times in 2 Posts
    Rep Power
    13
    Hiya, sorry to hijack your thread! Just wondering what OS that batch file runs in? I can't seem to get it to work.

    Cheers,
    Michael

  12. #9
    altecsole's Avatar
    Join Date
    Jun 2005
    Location
    Morecambe, Lancashire, UK.
    Posts
    281
    Thank Post
    39
    Thanked 36 Times in 26 Posts
    Rep Power
    25
    Windows XP. However, I should have mentioned that you'll probably need to download the Windows XP Support Tools first. You can find them at http://www.microsoft.com/downloads/d...displaylang=en

  13. #10
    lionsl2005's Avatar
    Join Date
    Nov 2008
    Location
    Barnet
    Posts
    543
    Thank Post
    383
    Thanked 23 Times in 22 Posts
    Rep Power
    16
    OHH its kool, i misse that anyway,,,,,,,

  14. #11
    k-strider's Avatar
    Join Date
    Oct 2006
    Location
    Gloucester
    Posts
    357
    Thank Post
    7
    Thanked 40 Times in 30 Posts
    Rep Power
    23
    Do'h should have thought of NetDom we use that to script adding pcs to our AD in the correct OU after we have ghosted and newsid'd them...

  15. #12
    dwimorberg's Avatar
    Join Date
    Jan 2009
    Location
    Middle of Nowhere, Northumberland
    Posts
    32
    Thank Post
    5
    Thanked 8 Times in 2 Posts
    Rep Power
    13
    That's cracking, thanks

    It's going to save me a lot of legwork!

  16. #13
    Crispin's Avatar
    Join Date
    Dec 2008
    Location
    Essex
    Posts
    361
    Thank Post
    76
    Thanked 28 Times in 25 Posts
    Rep Power
    20
    Hey all,

    For some reason Im having trouble getting this command to work. Im running XP SP3 with support tools installed.

    When running the command, I get a:

    "The network path was not found"
    "The command failed to complete successfully"

    Ive run this from the usual command prompt and also from the support tools directory.

    Anyone have any idea? Ive checked the syntax and im sure its correct.

    We have a split site here and its damn annoying having to drive 1.5 miles away just to change a computer name! Would really like to get this working.

    Cheers.

  17. #14

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,139
    Thank Post
    860
    Thanked 2,692 Times in 2,282 Posts
    Blog Entries
    9
    Rep Power
    771
    Do you have remote administration exceptions turned on in the firewall in your GPOs. By default a lot of these tools won't work without an exception being configured:

    In the workstation GPO:
    Computer Config -> Administrative Templates -> Network Connections -> Windows Firewall -> Domain Profile: Windows Firewall Allow inbound Remote Administration Exception : Enabled

    then just add the host or subnet that you want to be able to manage it from in the textbox inside its properties
    Last edited by SYNACK; 22nd January 2009 at 05:08 PM.

  18. Thanks to SYNACK from:

    Crispin (22nd January 2009)

  19. #15
    Crispin's Avatar
    Join Date
    Dec 2008
    Location
    Essex
    Posts
    361
    Thank Post
    76
    Thanked 28 Times in 25 Posts
    Rep Power
    20
    Thanks synack, I will have a look tomorrow morning and see if thats the issue!

SHARE:
+ Post New Thread

Similar Threads

  1. Renaming a 2k3 Domain
    By adamf in forum Windows
    Replies: 10
    Last Post: 2nd March 2008, 11:41 PM
  2. Renaming menus
    By ianaddisonuk in forum Web Development
    Replies: 0
    Last Post: 12th August 2007, 02:01 PM
  3. Renaming W2003 DC
    By Simcfc73 in forum Windows
    Replies: 7
    Last Post: 1st April 2007, 10:54 AM
  4. Error message when renaming domain...
    By johnny in forum Windows
    Replies: 3
    Last Post: 25th February 2007, 07:21 PM
  5. Renaming the Administrator Account
    By tosca925 in forum Windows
    Replies: 20
    Last Post: 3rd July 2006, 05:02 PM

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
  •