Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Server Migration > ADMT 3.0 Users Migration: Fix Users' Group Memberships stopped wor

Reply
Thread Tools Display Modes

ADMT 3.0 Users Migration: Fix Users' Group Memberships stopped wor

 
 
Jason
Guest
Posts: n/a

 
      10-14-2008
We have been using ADMT 3.0 for the last 2 months to migrate users from a
Windows 2000 to a Windows 2003 R2 Active Directory (native). All groups (with
SidHistory) were migrated before any users were migrated. Then as each office
was migrated the users were migrated (with SidHistory) with the 'Fix users's
group memberships' option selected which successfully updated group
memberships. Note: We are not migrating domain BUILTIN groups.

All this worked fine until last week when group memberships failed to
update. The user would migrate successfully but the user would not be added
to the relevant groups. Verifyied that all groups existed in the new AD and
checked the ADMT migration logs but no errors found except, to comment that
the groups the user should be members of already existed in the new AD (also
shown in logs when it worked). I increased ADMT logging from 3 to 7 (verbose)
but this did not show any more detail. The ADMT examines and detects a user
is a member of x number of groups but does not update.

Is anyone else had this issue with ADMT version 3.0 or any suggestions on
how to fix. I noticed a few artcles with similar issues with ADMT 2.0 but the
fix was to install a hiotfix to replace a couple of DLLs which, with ADMT 3.0
are later versions anyway.

We have managed to migrate approx. 400 users without issues and there is
approx. another 1200 to migrate.

Thanks and regards,

Jason
 
Reply With Quote
 
 
 
 
Jason
Guest
Posts: n/a

 
      10-20-2008
Performed a SQL repair of the ADMT database which , found zero allocation
errors and consistency errors but resolved the issue!
--
Thanks and regards,

Jason


"Jason" wrote:

> We have been using ADMT 3.0 for the last 2 months to migrate users from a
> Windows 2000 to a Windows 2003 R2 Active Directory (native). All groups (with
> SidHistory) were migrated before any users were migrated. Then as each office
> was migrated the users were migrated (with SidHistory) with the 'Fix users's
> group memberships' option selected which successfully updated group
> memberships. Note: We are not migrating domain BUILTIN groups.
>
> All this worked fine until last week when group memberships failed to
> update. The user would migrate successfully but the user would not be added
> to the relevant groups. Verifyied that all groups existed in the new AD and
> checked the ADMT migration logs but no errors found except, to comment that
> the groups the user should be members of already existed in the new AD (also
> shown in logs when it worked). I increased ADMT logging from 3 to 7 (verbose)
> but this did not show any more detail. The ADMT examines and detects a user
> is a member of x number of groups but does not update.
>
> Is anyone else had this issue with ADMT version 3.0 or any suggestions on
> how to fix. I noticed a few artcles with similar issues with ADMT 2.0 but the
> fix was to install a hiotfix to replace a couple of DLLs which, with ADMT 3.0
> are later versions anyway.
>
> We have managed to migrate approx. 400 users without issues and there is
> approx. another 1200 to migrate.
>
> Thanks and regards,
>
> Jason

 
Reply With Quote
 
Jason
Guest
Posts: n/a

 
      12-02-2008
I performed SQL repair on an ADMT server which was using SQL Express 2005 as
follows;

1)Logon to Microsoft SQL Server Management Studio Express (download from
Microsoft if not installed).
2)Select the ADMT database and put the ‘Admt’ database into emergency mode
by running: ALTER DATABASE admt SET EMERGENCY.
3)Put the ‘admt’ database into single user mode like by running: ALTER
DATABASE admt SET SINGLE_USER
4)Run: DBCC checkdb(admt, REPAIR_ALLOW_DATA_LOSS)
If all goes well, you will not see any error messages and the db will be in
a good state.
5)Put the ‘admt’ database back into multi-user mode so it can be used for
production: ALTER DATABASE admt SET MULTI_USER

Note: Where 'admt' is shown in the above commands replace with your ADMT
database name if different.

The above procedure should work for full SQL server product.

Hope this fixes it.

Jason


"axplains" wrote:

>
> Hello,
> I had exactly the same problem.
>
> Since I am not a SQLserver expert, can you please explain how to do a
> SQL repair of the ADMT database?
> Thank you in advance.
>
> Axplains
>
>
> --
> axplains
> ------------------------------------------------------------------------
> axplains's Profile: http://forums.techarena.in/members/axplains.htm
> View this thread: http://forums.techarena.in/server-migration/1054529.htm
>
> http://forums.techarena.in
>
>

 
Reply With Quote
 
Jason
Guest
Posts: n/a

 
      12-02-2008
Forgot to mention in previous post that you should backup ADMT SQL database
prior to performing the SQL repair procedure.

Jason


"Jason" wrote:

> I performed SQL repair on an ADMT server which was using SQL Express 2005 as
> follows;
>
> 1)Logon to Microsoft SQL Server Management Studio Express (download from
> Microsoft if not installed).
> 2)Select the ADMT database and put the ‘Admt’ database into emergency mode
> by running: ALTER DATABASE admt SET EMERGENCY.
> 3)Put the ‘admt’ database into single user mode like by running: ALTER
> DATABASE admt SET SINGLE_USER
> 4)Run: DBCC checkdb(admt, REPAIR_ALLOW_DATA_LOSS)
> If all goes well, you will not see any error messages and the db will be in
> a good state.
> 5)Put the ‘admt’ database back into multi-user mode so it can be used for
> production: ALTER DATABASE admt SET MULTI_USER
>
> Note: Where 'admt' is shown in the above commands replace with your ADMT
> database name if different.
>
> The above procedure should work for full SQL server product.
>
> Hope this fixes it.
>
> Jason
>
>
> "axplains" wrote:
>
> >
> > Hello,
> > I had exactly the same problem.
> >
> > Since I am not a SQLserver expert, can you please explain how to do a
> > SQL repair of the ADMT database?
> > Thank you in advance.
> >
> > Axplains
> >
> >
> > --
> > axplains
> > ------------------------------------------------------------------------
> > axplains's Profile: http://forums.techarena.in/members/axplains.htm
> > View this thread: http://forums.techarena.in/server-migration/1054529.htm
> >
> > http://forums.techarena.in
> >
> >

 
Reply With Quote
 
Jason
Guest
Posts: n/a

 
      12-02-2008
I have just tried this command in our virtual test environment which mirrors
production and it was successful. I assume your ADMT database name is called
ADMT?
You show the command within quotes for clarity I assume you did not include
the quotes in the query?

Regards,

Jason


"axplains" wrote:

>
> Thanks a lot, I am trying it.
>
> I have installed the Server Management Studio Express and at execution
> I create a new query (right click on the DB, "New query").
> When I execute "ALTER DATABASE admt SET EMERGENCY" I get the following
> error:
>
> Incorrect syntax near 'emergency'
>
> Is there anything I should do before? What am I missing?
>
> Thanks again for you help.
>
> Axplains
>
>
> --
> axplains
> ------------------------------------------------------------------------
> axplains's Profile: http://forums.techarena.in/members/axplains.htm
> View this thread: http://forums.techarena.in/server-migration/1054529.htm
>
> http://forums.techarena.in
>
>

 
Reply With Quote
 
Jason
Guest
Posts: n/a

 
      12-02-2008
I think this command may be key to the repair success. What version of SQL
are you using? the SET EMERGENCY command was not supported prior to 2005, a
less user friendly method had be performed.
--
Thanks and regards,

Jason


"axplains" wrote:

>
> Even if the command:
>
> ALTER DATABASE admt SET EMERGENCY
>
> went wrong, I went on (after a backup) with the other commands:
>
> ALTER DATABASE admt SET SINGLE_USER
>
> DBCC checkdb(admt, REPAIR_ALLOW_DATA_LOSS)
>
> ALTER DATABASE admt SET MULTI_USER
>
> They all worked (no error reported).
> My database name is ADMT.
>
> Unfortunately, that did not resolve the issue of "lost group
> membership"... maybe the "SET EMERGENCY" command is absolutely
> necessary?...
>
> Thanks for your help.
>
>
> --
> axplains
> ------------------------------------------------------------------------
> axplains's Profile: http://forums.techarena.in/members/axplains.htm
> View this thread: http://forums.techarena.in/server-migration/1054529.htm
>
> http://forums.techarena.in
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple AD Users / Group Memberships / Comparison Paul Walski Scripting 4 05-09-2008 06:14 PM
List all users' group memberships in a domain Jason Scripting 1 03-22-2006 02:32 PM
Script the removal of the group memberships of all disabled users in AD? Spin Active Directory 4 02-06-2006 11:38 AM
Exporting Group memberships for All Users Bruce Active Directory 1 11-16-2005 04:08 PM
Users and group memberships Richard Active Directory 1 11-14-2004 02:15 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59