In a previous tip, we showed you how to create a new local admin account using ADSI. On Windows 7 and Server 2008, it is much easier to use net.exe instead:
net user AdminAccount1 /ADD net localgroup Administrators AdminAccount1 /ADD
In a previous tip, we showed you how to create a new local admin account using ADSI. On Windows 7 and Server 2008, it is much easier to use net.exe instead:
net user AdminAccount1 /ADD net localgroup Administrators AdminAccount1 /ADD