You can
replace the admin user’s SID field with yours and you can log in afterward.
Whoami /all
C:\Users\xyz>whoami/all
USER INFORMATION
----------------
User Name SID
=========
============================================
test\xyz S-1-5-21-123456789-xxxxxxxxx-xxxxx-xxxx
Grab the
SID and put it in this SQL update script, replace the DB name, name and network
alias (and maybe the domain too, not sure about that) and run it on the data
database
UPDATE [AXLocal].[dbo].[USERINFO]
SET SID
= 'S-1-5-21-123456789-xxxxxxxxx-xxxxx-xxxx',
NETWORKDOMAIN
= 'test.xyzit.com',
NETWORKALIAS
= 'xyz',
NAME =
'xyz',
SHOWAOTLAYER =
1,
SHOWMODELNAMEINAOT
= 1
where
ID = 'Admin'
No comments:
Post a Comment