Changing SID (with NEWSID or SYSPREP) for cloned computers


Recommended Posts

A collegue of mine insists that changing the sid on the cloned computers is not necessary before joining the domain as the computer account created in the AD is a different one each time.

In fact for the machines (XP laptops, all the same branded laptop model) are cloned without new SID!

What do you say about this?

Do the same things apply to win7 and win2008r2?

what happens is the computer has a identifier (very long key), that identifier gets put into the dc when the pc is joined. if that identifier is duplicated amongst all or most or some of the computers and computer level securities (like group policies) will not get applied properly and you will have a ton of issues. To save from that headache of the domain seeing all of the same computer (even though you may change the name of the pc it does not change the identifiers in the registry or the identifiers in active directory) it is best to use some sort of sid regenerator (new sid, sysprep, ghost walker, etc).

You want a ton of random domain issues keep doing it the way he is without regenerating the sid at each deployment.

http://windowsitpro.com/article/articleid/14919/what-are-the-problems-with-workstations-having-the-same-sid.html

http://download.cnet.com/DSM-Duplicate-SID-Monitor/3000-2094_4-11011883.html

when you start dealing with this issue on a large scale (1000+ pc's) you start to see the reason behind newsid and sysprep.

what happens is the computer has a identifier (very long key), that identifier gets put into the dc when the pc is joined. if that identifier is duplicated amongst all or most or some of the computers and computer level securities (like group policies) will not get applied properly and you will have a ton of issues. To save from that headache of the domain seeing all of the same computer (even though you may change the name of the pc it does not change the identifiers in the registry or the identifiers in active directory) it is best to use some sort of sid regenerator (new sid, sysprep, ghost walker, etc).

You want a ton of random domain issues keep doing it the way he is without regenerating the sid at each deployment.

http://windowsitpro.com/article/articleid/14919/what-are-the-problems-with-workstations-having-the-same-sid.html

http://download.cnet.com/DSM-Duplicate-SID-Monitor/3000-2094_4-11011883.html

when you start dealing with this issue on a large scale (1000+ pc's) you start to see the reason behind newsid and sysprep.

Windows 7 does not use SID's for computers, but rather, unique SID identifiers per user. SID changing is not compatible with Windows 7 or Windows Server 2008 R2.

As the link above suggests:

"In other words, it’s not the SID that ultimately gates access to a computer, but an account’s user name and password: simply knowing the SID of an account on a remote system doesn’t allow you access to the computer or any resources on it."

Windows 7 does not use SID's for computers, but rather, unique SID identifiers per user. SID changing is not compatible with Windows 7 or Windows Server 2008 R2.

As the link above suggests:

"In other words, it?s not the SID that ultimately gates access to a computer, but an account?s user name and password: simply knowing the SID of an account on a remote system doesn?t allow you access to the computer or any resources on it."

You're confusing user SIDs with machine SIDs. As sc02 said, if you clone a currently-joined computer and deploy that image throughout the domain, you WILL have issues. There is a reason that sysprep includes the option to change machine SIDs, and newsid just took it one step further for ease of use.

You're confusing user SIDs with machine SIDs. As sc02 said, if you clone a currently-joined computer and deploy that image throughout the domain, you WILL have issues. There is a reason that sysprep includes the option to change machine SIDs, and newsid just took it one step further for ease of use.

OK, fair point, but you do know they removed SID changing from Windows 7's version of SYSPREP, right?

I was just reading, the generalize option in windows 7 sysprep will regenerate the machine sid.

there are other docs/sites that go over this, but this covers it

http://www.brajkovic.info/windows-server-2008/windows-server-2008-r2/how-to-change-sid-on-windows-7-and-windows-server-2008-r2-using-sysprep/

Also within imaging utilities like acronis and ghost, they have options to regenerate the sid during imaging so that you don't have to run sysprep.

thanx guys for your massive response!

I 'm looking into the sources you gave, just one aspect that i didnt figured out: if i have a system image PRIOR to joining to the domain will joining it to the domain CHANGE the Computer SIDs anyway, so i wont have to bother at all?

OK, fair point, but you do know they removed SID changing from Windows 7's version of SYSPREP, right?

He said the machines are XP.

if i have a system image PRIOR to joining to the domain will joining it to the domain CHANGE the Computer SIDs anyway, so i wont have to bother at all?

Change it anyway. Run sysprep before taking your image and restore your machines using that image.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Looks like many years since the request was made, a directory tree view finally may be added. https://github.com/files-community/Files/pull/18537
    • There's this from last year https://gist.github.com/threat...364659a8887841aa43deca4efd9 but nothing about a buffer overflow that MS somehow can't code against. No matter what, it makes sense to take a "protected by default" approach.
    • Popular Windows 11 file manager Files gets improved tags, layouts, and new OneDrive icon by Taras Buria Files, one of the best third-party file managers for Windows 11 out there, has received a minor update to version 4.1.3. The latest release brings a few quality-of-life improvements and new features, including an easier way to calculate folder sizes, improved tags, a new OneDrive icon, and more. Starting with folder size, File now has a dedicated "View size" button for each folder if you have the "Calculate folder sizes" option turned off in settings. This improves performance and allows you to see each folder's size only when needed. Note that folder size calculation could take some time depending on the number of files and their "weight." Next, Files can now retain file selection when switching layouts. While this change is rather minor, it lets you keep selected objects highlighted whenever you need to switch, say, from a list to a thumbnail layout. If you use tags, you will be glad to know that Files 4.1.3 makes it easier to remove all tags. You can do that with one of the following methods: From the context menu — right-click an item, open the Tags submenu, and choose Remove tags. From the toolbar — when the Edit Tags button is pinned to the toolbar, the same option appears in its menu. From the Command Palette — open the Command Palette and search for Remove tags. You can also assign your own keyboard shortcut to it from Settings. The final visible change is the new OneDrive icon. Files now pulls the icon directly from the OneDrive executable, which means the app always has the up-to-date version. As for the fixes, developers resolved the following bugs: Fixed an issue with extracting tar archives. Fixed an issue where the Signatures page would occasionally cause a crash. Fixed an issue where the Play action wasn’t available when a single media file was selected. Fixed an issue where Smart Extract would extract archives to the wrong location when switching tabs. Fixed an issue where tag search excluded folders when grouping by type. Fixed an issue where thumbnails would sometimes fail to refresh after a file was modified. Fixed an issue where a BitLocker-locked drive wasn’t displayed. Developers also revealed what is coming in future updates. Soon, Files Preview will get a new Tree View sidebar, allowing you to display folders in an expandable hierarchy, which is a popular way to browse deeply nested folders. Expect the feature to arrive in the preview channel in upcoming updates. You can download Files from the Microsoft Store (paid version) or its official website (free).
  • Recent Achievements

    • First Post
      DragonOfMercy earned a badge
      First Post
    • First Post
      bella52 earned a badge
      First Post
    • Reacting Well
      Techinmay earned a badge
      Reacting Well
    • Collaborator
      WndSks went up a rank
      Collaborator
    • One Month Later
      Sopa flores earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      500
    2. 2
      PsYcHoKiLLa
      209
    3. 3
      +Edouard
      155
    4. 4
      Steven P.
      84
    5. 5
      FloatingFatMan
      72
  • Tell a friend

    Love Neowin? Tell a friend!