---
updatedAt: 2026-09-16T02:21:39.000Z
---

# Canned scripts | PRA Cloud

## What are canned scripts?

Canned scripts are custom scripts created to be used in screen sharing and command shell sessions. These scripts are displayed in the interface as they are executed, running in the context of the logged-in user or the local system, depending on session elevation.

## How are canned scripts useful?

Canned scripts allow representatives to automate tasks during remote sessions, enhancing efficiency and consistency. When you run a predefined scripts during screen sharing or command shell sessions, users can streamline troubleshooting or configuration tasks, while the scripts maintain proper context based on session elevation.

## How do I access the Canned Scripts page?

1. Use a Chromium-based browser to sign in to your Privileged Remote Access URL.\
   This URL is provided in the BeyondTrust welcome email and includes your site URL followed by **/login**.
2. From the left menu, click **Console Settings**.\
   The **Rep Console Settings** page opens and displays by default.
3. At the top of the page, click **Canned Scripts**.\
   The **Canned Scripts** page displays.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/9211028643b068a8146a909c43491111f4149bf045c0eaf5eb9db2951caa6c86-Cloud_ConsoleSettings_CannedScripts_Page.png",
        "",
        "Image of the Canned Scripts main page."
      ],
      "align": "center",
      "border": true
    }
  ]
}
[/block]

1. **Add:**- [Adds a new canned script](#add-scripts).
2. **Script columns:** The list of Script columns.
   > <Accordion title="Script columns">
   >
   > - **Script Name:** Unique name of the account.
   > - **Description:** A brief description of the Account Group.
   > - **Team Availability:** Set a code name for integration purposes. If you do not set a code name, one is created automatically.
   > - **Categories:** Set a code name for integration purposes. If you do not set a code name, one is created automatically.
   > - **Resource File:** Set a code name for integration purposes. If you do not set a code name, one is created automatically.</Accordion>
3. **Script list options**:  [Edit ](#edit-a-canned-script)or [delete ](#delete-a-canned-script)a script.
4. **Categories:** [Adds a new category](#add-a-category).
5. **Categories columns:** The list of Categories columns.
   > <Accordion title="Categories columns">
   >
   > - **Category Name:** Unique name of the category.</Accordion>
6. **Categories options:** [Deletes a category](#delete-a-category).
7. **Resources:** [Adds a resource file](#add-a-resource).
8. **Resources columns:** The list of Resources columns.
   > <Accordion title="Resources columns">
   >
   > - **Filename:** The file name of the resource.
   > - **Size:** The size of the resource. The max size of the Resource folder is 100 megabytes (MB).</Accordion>
9. **Resources options:** [Deletes a resource file](#delete-a-resource).

## Add Scripts

### Add a new canned script

1. Sign into **app.beyondtrust.io**.\
   The **BeyondTrust Home** page displays.
2. From the main menu, click **Privileged Remote Access** > **Console Settings**.\
   The **Console Settings** page opens and the **Manage Access Console Settings** tab displays by default.
3. Click the **Canned Scripts** tab.\
   The **Canned Scripts** tab displays.
4. Click **Add**.
5. For **Script Name**, create a unique name to help identify this script. This name should help users locate the script they wish to run.
6. For **Description**, add a brief description to summarize the purpose of this script. This description displays on the prompt to confirm that the user wants to run the selected script.
7. For **Command Sequence**, write the command sequence. Scripts are written in command line format, similar to writing a batch file or shell script.
   > ℹ️
   >
   > Only the last line of the script may be interactive; you cannot prompt for input in the middle of the script.
8. For **Team Availability**, select which teams should be able to use this item.
9. For **Categories**, select the category under which this item should be listed.
10. For **Resource File**, include a resource with the canned script.
    > ℹ️
    >
    > * Within the script, reference an associated resource file using **"%RESOURCE\_FILE%"**, making sure to include the quotation marks. The command sequence is **case sensitive**.
    > * You can access the resource file's temporary directory using **%RESOURCE\_DIR%**. When you run a script with an associated resource file, that file will be temporarily uploaded to the customer's computer.

### Edit a canned script

1. Sign into **app.beyondtrust.io**.\
   The **BeyondTrust Home** page displays.
2. From the main menu, click **Privileged Remote Access** > **Console Settings**.\
   The **Console Settings** page opens and the **Manage Access Console Settings** tab displays by default.
3. Click the **Canned Scripts** tab.\
   The **Canned Scripts** tab displays.
4. Select a canned script from the list.
5. Click the pencil ![Image of the Edit icon.](https://files.readme.io/6be9cb3c20d9ec0d609788fe486be0d8d48718b6eb3f00d78a534fb5a7128d58-image.png)to edit the custom link.
6. Make the necessary changes, and click **Save**.

### Delete a canned script

1. Sign into **app.beyondtrust.io**.\
   The **BeyondTrust Home** page displays.
2. From the main menu, click **Privileged Remote Access** > **Console Settings**.\
   The **Console Settings** page opens and the **Manage Access Console Settings** tab displays by default.
3. Click the **Canned Scripts** tab.\
   The **Canned Scripts** page displays.
4. Select a canned script from the list.
5. Click the trash can ![Image of the Delete icon.](https://files.readme.io/d0bd027ba81e6787bf75676302d1b7d8a6ca89aae7d52bb6bb75ab0e1ec3fce9-DeleteIcon.png).
6. A confirmation dialog box displays, click **Yes**.

## Categories

### Add a category

1. Sign into **app.beyondtrust.io**.\
   The **BeyondTrust Home** page displays.
2. From the main menu, click **Privileged Remote Access** > **Console Settings**.\
   The **Console Settings** page opens and the **Manage Access Console Settings** tab displays by default.
3. Click the **Canned Scripts** tab.\
   The **Canned Scripts** page displays.
4. From the **Categories** section, enter a category name.
5. Click **Add Category**.

The confirmation message: *Canned Script Category "<Category Name>" was successfully added* displays, where <*Category Name>* is the name of the category you added. The category name displays in the table where you can delete the category name.

### Delete a category

1. Sign into **app.beyondtrust.io**.\
   The **BeyondTrust Home** page displays.
2. From the main menu, click **Privileged Remote Access** > **Console Settings**.\
   The **Console Settings** page opens and the **Manage Access Console Settings** tab displays by default.
3. Click the **Canned Scripts** tab.\
   The **Canned Scripts** page displays.
4. Select a category from the list.
5. Click the trash can ![Image of the Delete icon.](https://files.readme.io/d0bd027ba81e6787bf75676302d1b7d8a6ca89aae7d52bb6bb75ab0e1ec3fce9-DeleteIcon.png).
6. A confirmation dialog box displays, click **Yes**.

## Resources

### Add a resource

1. Sign into **app.beyondtrust.io**.\
   The **BeyondTrust Home** page displays.
2. From the main menu, click **Privileged Remote Access** > **Console Settings**.\
   The **Console Settings** page opens and the **Manage Access Console Settings** tab displays by default.
3. Click the **Canned Scripts** tab.\
   The **Canned Scripts** page displays.
4. From the **Resources** section, click **Choose and Upload Resource**.
5. An **Open** dialog box displays, select a resource file. Add any resource files you want to access from within your scripts. You may upload up to 100 megabytes (MBs) to your resource file folder.
   > ℹ️
   >
   > If you upload a resource file with the same name as an existing resource file, there is a prompt to confirm replacing the file.
   >
   > * If you click **Yes**, the updated resource file is uploaded and used for all applicable canned scripts.
   > * If you click **No**, the file is not uploaded.
6. Click **Open**.

The resource file displays in the resource list table.

### Delete a resource

1. Sign into **app.beyondtrust.io**.\
   The **BeyondTrust Home** page displays.
2. From the main menu, click **Privileged Remote Access** > **Console Settings**.\
   The **Console Settings** page opens and the **Manage Access Console Settings** tab displays by default.
3. Click the **Canned Scripts** tab.\
   The **Canned Scripts** page displays.
4. Select a resource from the resource list table.
5. Click the trash can ![Image of the Delete icon.](https://files.readme.io/d0bd027ba81e6787bf75676302d1b7d8a6ca89aae7d52bb6bb75ab0e1ec3fce9-DeleteIcon.png).
6. A confirmation dialog box displays, click **Yes**.

## What are canned scripts?

Canned scripts are custom scripts created to be used in screen sharing and command shell sessions. These scripts are displayed in the interface as they are executed, running in the context of the logged-in user or the local system, depending on session elevation.

## How are canned scripts useful?

Canned scripts allow representatives to automate tasks during remote sessions, enhancing efficiency and consistency. By running predefined scripts during screen sharing or command shell sessions, users can streamline troubleshooting or configuration tasks, while the scripts maintain proper context based on session elevation.