# How to resolve login error for BCP commands? ## How to resolve “Login failed for the user” error for BCP commands? 1. Open **Windows Services** console. Locate the required OpManager service (For e.g, ManageEngine OpManager Central). Right click on it and select **Properties**. ![Resolve user login error for BCP commands: Windows services console](https://www.manageengine.com/network-monitoring/how-to/images/bcp-1.png) 2. In the Properties window, go to **Log On** tab and select **This account**. Click on **Browse**. 3. Choose an account which has: - The mentioned [roles and ownership](https://www.manageengine.com/network-monitoring/help/mssql-configuration.html#configmssql), for a user to be configured in OpManager for MSSQL DB Configuration. - Complete admin privilege for the OpManager installation directory. **Note:** To ensure smooth operations like monitoring, backup/restore, and service pack upgrades in OpManager, administrator privileges are necessary for the installation directory. ![Resolve user login error for BCP commands: Logon Account](https://www.manageengine.com/network-monitoring/how-to/images/bcp-2.png) 4. Enter the password. Click on **Apply** and then **OK**. After making the changes, restart the required service (ManageEngine OpManager Central).