---
title: "How do I change the SA password and turn off the SQL security policy in SQL 2005?"
slug: "how-do-i-change-the-sa-password-and-turn-off-the-sql-security-policy-in-sql-2005"
updated: 2024-04-02T06:58:24Z
published: 2024-04-02T06:58:24Z
canonical: "kb.pharos.com/how-do-i-change-the-sa-password-and-turn-off-the-sql-security-policy-in-sql-2005"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://kb.pharos.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How do I change the SA password and turn off the SQL security policy in SQL 2005?

How do I change the SA password and turn off the SQL security policy in SQL 2005 using OSQL?

---

C:\Documents and Settings\Administrator>osql -E -S.

1> ALTER LOGIN sa WITH CHECK_POLICY = OFF 2> go 1> exec sp_password NULL, 'pharos', 'sa' 2> go

## Related

- [Change the server spool folder location](/change-the-server-spool-folder-location.md)
- [Change the Inactivity Timeout value for Konica Minolta iMFP.](/change-the-inactivity-timeout-value-for-konica-minolta-imfp.md)
- [Print Center Security Update for Blueprint and Uniprint - August 2023](/print-center-security-update-for-blueprint-and-uniprint.md)
