转自:http://www.qinzheapp.com/bbs/thread-543-1-1.html
1、Admin用户密码忘记,清空admin账号密码:
Use esapp1
update ES_User
set UserPwd=null
where userLogin='Admin'
2、系统管理台密码忘记,清空sysadmin账号密码:
Use ESSystem
update es_sysInfo set sysPwd=null
3、admin帐号锁定,解除锁定
Use esapp1
update ES_User
set accState=0,lockDate=null
where userLogin='Admin'
4、admin用户口令已超期
Use esapp1
update es_user set pwddate=getdate() where userLogin='Admin'
5、带工作流的模版,打印时提示没有打印权限
Use esapp1
update ES_WfTask set PrtReadEnabled=1, PrtEnabled=1
6、批量设置模板属性-保存后自动关闭
Use esapp1
update ES_TmpProp set CloseAfterSave=1
7、批量设置"登录后自动中断已有连接"
Use esapp1
update ES_User set SynLogin =0,ExitOnNewLogin = 1
update ES_UserOption set ExitOnNewLogin = 1