Jump to content

Windows XP Workstation


unsuwe
 Share

Recommended Posts

Hey and welcome to the forums!

I'd take a close look in example scripts and search the forums because I'm pretty sure this has been asked before :P

Cheers,

Brett

Link to comment
Share on other sites

A very easy way which i use in my scripts is this:

RunWait ("c:\install\compname.exe /c " & $Pcname)

compname.exe is a little freeware tool which renames the PC. You can download ist here.

Now you just have to set $PCname to the desired name for your workstation.

You can use the install command to integrate the compname.exe in the autoit script.

SpecialK

Link to comment
Share on other sites

Be careful. If you rename a domain computer, you must use NETDOM.exe from Windows Supporttools. You must have administrative rights on workstation and on domain. You can specify multiple accounts with netdom.exe. See help netdom.exe renamecomputer /?. You can use autoit to set specific parameters for netdom.exe.

Also keep in mind: Passwords and Accounts are not safe in autoit compiled exe programs.

;-))

Stefan

Edited by 99ojo
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...