microbious Posted June 9, 2009 Share Posted June 9, 2009 Lets say right now my SID is "S-1-5-21-123456789-321654987-321654987-3214" What if i reinstall OS but using same Computer name and Username 100% identical Install. Would that give me same registry SID or it will be different ? Program writes registry entries under "S-1-5-21-123456789-321654987-321654987-3214" Then program reads them. If entries not there program will quit. SO What if i save this whole "S-1-5-21-123456789-321654987-321654987-3214" registry key into file.reg and then export it into registry after reinstalling OS, would program work ? (would it look for its entries in the old SID or it will look in current SID which might be different after reinstalling OS i think) ????????????????? Link to comment Share on other sites More sharing options...
Authenticity Posted June 10, 2009 Share Posted June 10, 2009 Don't know but you can programatically obtain the SID using _Security__LookupAccountName() and preform file operations to change the old SID key. It can be possible that the key is something unique to the system or maybe the installation CD of your windows. lol Link to comment Share on other sites More sharing options...
microbious Posted June 10, 2009 Author Share Posted June 10, 2009 Yeah i want to know my self if its the installation CD with its CD key or something else or just random crap Link to comment Share on other sites More sharing options...
LurchMan Posted June 10, 2009 Share Posted June 10, 2009 (edited) if you make a clone of the HDD the SID will remain the same, if you install over / format / wipe the HDD then the SID will change. If you want to prevent this when installing a clone you can get sysprep from microsoft (its free if i remember right) and it will prevent duplicate SIDs Edited June 10, 2009 by LurchMan Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end. Link to comment Share on other sites More sharing options...
Ashalshaikh Posted June 10, 2009 Share Posted June 10, 2009 (edited) In fact, I do not knowBut...See This . Possible It Will Help You http://www.autoitscript.com/forum/index.php?showtopic=96255 Edited June 10, 2009 by Ashalshaikh Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now