How to enter a SHARED project as Admin with a password
In REQL, how would an administrator be able to run a make admin function on a project that has a password? If this is not possible, then how can you then remove the password from a project, so the user does not have to recreate the project?
There are a few different ways of doing this:
Assuming you are going into the project from a batch file that is already shareable:
- From a Command (DOS) Prompt or START/RUN
[path]\revolve.exe -pc:\tps\projects\abc\abc.prj -a("abc")
-p is the path and location of the project
-a is for ADMIN mode
("abc") is the string for the password - Using a REQL script -
[path]\revolve.exe -pc:\tps\projects\abc\abc.prj -sc:\rv\admin.rqc
The syntax of admin.rqc would be:
makeadmin("abc") - Using the prjbuild.rqc facility - what would appear in the prjbuild.dat file would be:
"PROJECTOPEN: c:\tps\projects\abc\abc.prj"
"PASSWORD:ABC"
"MAKEADMIN"
If your project isn't already shared - you need to take care of that first. You can manually do this or do it with REQL:
- Manually - go into project. Select the Project drop down menu / Make Shareable / and specify a unique location for the SHA.
- In REQL - makeshareable("c:\tps\projects\abc\sha\abc.sha")
- In prjbuild.dat file:
"PROJECTOPEN:C:\TPS\PROJECTS\ABC\ABC.PRJ"
"MAKESHAREABLE:"C:\TPS\PROJECTS\ABC\SHA\ABC.SHA""
To remove the password - this can only be done manually -
- Go into the project as ADMIN - with the password
- Go to Utilities/Options/Project Tab - click on the password button and leave the password value blank pressing OK twice, then OK on the Options window to complete.
Reference: Knowledge Base Document # 17655