---
title: "Discussion on \"🛠️ How to Safely Grant xp_cmdshell Access to Non-Sysadmin Users\" | Hashnode"
description: "Discussion on \"🛠️ How to Safely Grant xp_cmdshell Access to Non-Sysadmin Users\". Learn how to securely grant xp_cmdshell access to non-sysadmin database users and easily fix the LogonUserW 1326 authentication error."
url: "https://hashnode.com/posts/how-to-safely-grant-xp-cmdshell-access-to-non-sysadmin-users/6a31304375dfa8beba6b81e8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [🛠️ How to Safely Grant xp\_cmdshell Access to Non-Sysadmin Users](https://datasanare.hashnode.dev/how-to-safely-grant-xp-cmdshell-access-to-non-sysadmin-users?utm_source=hashnode&utm_medium=feed)

Learn how to securely grant xp\_cmdshell access to non-sysadmin database users and easily fix the LogonUserW 1326 authentication error.

Jun 16 · 5 min read · datasanare.hashnode.dev  
Read the article

-   [#sql-server](https://hashnode.com/tag/sql-server)
-   [#database-security](https://hashnode.com/tag/database-security)
-   [#sysadmin](https://hashnode.com/tag/sysadmin)
-   [#active-directory](https://hashnode.com/tag/active-directory)
-   [#xp-cmdshell](https://hashnode.com/tag/xp-cmdshell)
-   [#authentication](https://hashnode.com/tag/authentication)

## Written by

[Deka OK](https://hashnode.com/@qorino)

@qorino · Jakarta, Indonesia

  
[View profile](https://hashnode.com/@qorino)

SQL Server, Database Administration, T-SQL, Database Performance, Developer Experience.

Enterprise Database Administrator and Developer with over 15 years of hands-on experience handling production infrastructure, Always On clusters, and massive database migrations. Bridging the gap between hardcore DBA protocols and Data Analytics to optimize business intelligence systems. Founder of DataSanare, blogging about query tuning, zero-trust backend security, and database post-mortems.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
