[Pc_Support] How to change the Windows XP SID via scripts, APIs, etc?

Damien McKenna damien at mc-kenna.com
Wed Oct 18 09:41:48 EDT 2006


Does anyone know of a good way to change the SID on a Windows XP  
install via either a command line tool or a Windows API?  It needs to  
work reliably with XP Pro SP2 as I've tried others in the past which  
didn't work.

What I'm intending doing is writing a script to check the MAC address  
of the system against a database to work out what the SID should be,  
then update accordingly.  This will be used as a post-install step in  
SysPrep on an image that is deployed using Ghost.

Thanks.

-- 
Damien McKenna, husband, father, geek.
damien at mc-kenna.com - http://www.mc-kenna.com/





More information about the Pc_support mailing list