How Do I Change a User for the Lasernet Service when Using a LocalDB as the Backend?
    • 13 Dec 2024
    • 1 Minute to read
    • Contributors
    • PDF

    How Do I Change a User for the Lasernet Service when Using a LocalDB as the Backend?

    • PDF

    Article summary

    Warning

    We recommend that you only carry out this operation during system downtime or while Lasernet is not in use, receiving no new input.

    When changing the user on the service, this error will occur in the Lasernet Monitor:

    To correct this, follow these steps to get the LocalDB database attached to the new user:

    1. Stop the Lasernet Service.

    2. Stop the Lasernet Config service (if on the same server).

    3. Start Windows Taskmanager and stop sqlservr.exe processes associated with LocalDB.

    4. Right-click Properties to choose the right process.

    In the following example, two processes are associated with LocalDB (service and config), and one more process is associated with the SQL Express install.

    1. Clear all folders indicated in the following screenshot:

    Note

    • The Programdata folder might not be visible because it is hidden. In that case, type it in the search field.

    • The Databases folder only contains information including FailedJobs, ScheduledJobs, Pausejobs.

    • There are no changes made to the Lasernet configuration. If you use SQL Server as a database for running jobs, delete or rename the database yourself using your preferred SQL tool.

    1. Open Services, locate the file, and right-click it; the menu will then display. Select Properties from the list.

    2. Change Log on as to the new user, then start the Lasernet Service as this new user.

    3. Start the Lasernet Config service (if on the same server).

    4. Check that the Lasernet Monitor does not contain errors after starting the service. You may need to select Fetch newest.

    1. Reboot the server, ensuring that the Lasernet Service starts before Lasernet Configurations (Config). Within the Lasernet Config 10 Properties, the service can be set to Automatic (Delayed Start).


    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.