I see from http://www.hytekcomputer.com/Articles/XPInstall/4.shtml that it is possible for the Administrator to be added with an encrypted hash instead of a password (disregard the fact that it breaks auto login); does anyone know how to add a local account with an encrypted hash and make them a member of the Administrator group?
As far as I know the Win32 API demands a cleartext password, except maybe level 21 of NetUserSetInfo:
http://msdn.microsoft.com/library/en-us/netmgmt/netmgmt/netusersetinfo.asp
One utility I know of that allows this is copypwd, available at:
http://www.systemtools.com/free_frame.htmWith a file copypwd.txt with the password hash:
net user newuser "" /add /active:no CopyPwd SET net user newuser /active:yes net localgroup administrators newuser /add
Copypwd.txt would be generated manually on another computer with the right username/password. Remove all other lines from this file, and it's ready for use.
-- Dag Nummedal ([EMAIL PROTECTED])
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ unattended-info mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unattended-info
