Link to home
Start Free TrialLog in
Avatar of DustinR1
DustinR1

asked on

Changing Computer Name and adding to Domain

I'm using VB6 and would like some help on Changing the computer name and adding the computer to my domain on a windows 2000 machine. Thanks.
Avatar of incongruent
incongruent

Are you asking how to make this network change using VB6 code?  

I'm not exactly sure if its possible,  but I think it would be a fairly large security risk to allow this kind of activity to be performed by an application.  Even if it can be done,  I wouldn't suggest it.  The malicious capabilities of that would be endless....  I'd hate to run an app only to have it change my computer name to 'IMGAY'.  Explain THAT around the watercooler.



If you're simply asking how to perform this change in control panel, do the following

goto start--->settings--->control panel--->System

click tab marked 'Network Identification'

click 'Properties' button

enter Computer name and domain.


-cheers.

Allan
ASKER CERTIFIED SOLUTION
Avatar of GloomyFriar
GloomyFriar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Wow,  I'm suprised to see these API's available to applications.  How are the security issues handled?

-Allan