Enable and disable an administrative tool
Version:
| Applies to | Content Management and Content Delivery. |
|---|---|
| Sitecore Installation Framework | Most administrative tools are not disabled by default. In Sitecore 9.0.2 and later, SqlShell.aspx is disabled by default. |
| Azure Toolkit | Most administrative tools are not disabled by default. In Sitecore 9.0.2 and later, SqlShell.aspx is disabled by default. |
You can use the Sitecore administrative tools to troubleshoot issues in a production environment, but for security reasons you must:
- Always disable them as part of the deployment process.
- Always disable them when you are not using them.
- Never enable them on the Content Delivery and xDB Processing roles. You can safely delete the administrative tools folder on these roles.
- Only enable them on Content Management roles that are not exposed to the internet.
The administrative tools are ASPX files with .aspx extensions. You find them in the <webroot>\sitecore\admin\ folder and its subfolders.
Disable an administrative tool
To disable an administrative tool:
- In the administrative tools folder, click the tool you want to disable.
- Add
.disabledto the tools filename. For example, renamecache.aspxtocache.aspx.disabled.
Enable an administrative tool that is disabled by default
To enable the SqlShell.aspx tool:
- Go to the administrative tools folder.
- Create an empty file named
enabled. TheSqlShell.aspxtool checks for the presence of this file.
To enable the unlock_admin.aspx tool:
-
Go to the administrative tools folder.
-
Open the
unlock_admin.aspxfile. -
Locate the
enableUnlockButtonproperty. -
Change the value from
falsetotrue. -
Save the
unlock_admin.aspxfile.
If you have suggestions for improving this article, let us know!