Re: Copy local Groups -- Get SID



ronny.kluge@xxxxxxxxxxx wrote:
Hallo @all,

i want to copy local Groups from Server to Server(MS Win).
The Groups should allocated the same "old" SID, because the first
Server is to old for productivity ..

This last sentence doesn't make sense to me. What exactly are you trying to do? If you just want to change the server's hardware, go with a backup and restore of your server's data (the SAM user database included). This will not change any ACLs or SIDs.


I would not use Perl for that (not that I knew how to ;-)

You cannot set the SID while creating a group, nor change the SID of a newly created group (at least I know no simple or even documented way of doing it).

Thomas

--
$/=$,,$_=<DATA>,s,(.*),$1,see;__END__
s,^(.*\043),,mg,@_=map{[split'']}split;{#>J~.>_an~>>e~......>r~
$_=$_[$%][$"];y,<~>^,-++-,?{$/=--$|?'"':#..u.t.^.o.P.r.>ha~.e..
'%',s,(.),\$$/$1=1,,$;=$_}:/\w/?{y,_, ,,#..>s^~ht<._..._..c....
print}:y,.,,||last,,,,,,$_=$;;eval,redo}#.....>.e.r^.>l^..>k^.-
.



Relevant Pages

  • Migrating Member Server to VM
    ... Windows 2003 R2 in the same domain. ... old server to the new. ... Then I copied the local groups from the old server to the new server using ... Of course this SID doesn't match the SID in the NTFS filestructures SID. ...
    (microsoft.public.windows.server.migration)
  • =?Utf-8?Q?Re:_Nach_Neuinstallation_k=C3=B6nnen_?= =?Utf-8?Q?verkn=C3=BCpfte_Kontakte_nicht_g
    ... Windows-Umgebung hat also auch immer eine eindeutige SID und wird dadurch ... Wenn nun auf dem Server sich ... einer alten SID mit Berechtigungen versehen wurde, ... "Sie haben wahrscheinlich versucht, den Kalender eines Benutzers ...
    (microsoft.public.de.outlook)
  • Re: Two different domains with same name - Problems?
    ... and yes, at this level (SID) the domains are distinct, however TTBOMK domain discovery happens by name so the 'foreign' PCs will _attempt_ to log onto the domain, causing more grief than I can imagine. ... Initial connections from Fred are parsed to get the domain/user SIDs and fail to match so fallback to PTA, at this time Fred@Domain1 will cause Fred@Domain2's account to be locked out due to auth failure. ... Windows Small Business Server 2008 Unleashed ...
    (microsoft.public.windows.server.sbs)
  • Re: ASP.NET User.Identity.Name value after a domain username chang
    ... Can you point me to any resources I can use about getting the SID of the ... WebRequest user without using the username as the base of a lookup (since I ... access a website on the server. ... I have a very confusing issue when the domain login of a user is changed ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Sid/Unstable
    ... Debian as a home server which handles a website, e-mail server, samba ... sid is great for this. ... backup backup backup and be sure to remember to take good backups. ... if by "boot up" you mean "I can scrape together a way to get the ...
    (Debian-User)