Install, configure, and verify a working Microsoft SQL Server instance on a Windows machine.
Download the free SQL Server Developer edition installer, run the basic installation, choose default instance, and restart when prompted. This gives you a ready-to-use engine with no feature limits.
Use the command-line setup.exe with silent switches. Point to a configuration .ini file that contains edition, instance name, service accounts, SA password, and features.This avoids manual clicks and ensures repeatable builds.
Verify services started, connect with SQL Server Management Studio (SSMS), run SELECT @@VERSION, and create a test database. Confirm TCP 1433 is listening via netstat.
Run CREATE DATABASE ECommerce; then create Customers, Orders, Products, and OrderItems tables.Insert sample rows to validate CRUD operations.
Open SQL Server Configuration Manager, enable TCP/IP, restart the SQL Server service, and allow port 1433 through Windows Defender Firewall.
Change the SA password, create least-privileged logins, configure full backups, enable instant file initialization, and set cost-threshold for parallelism based on workload.
Choose mixed mode only when required by legacy apps.Prefer Windows authentication for integrated security and easier credential management.
Stop services, back up databases, use Control Panel → Apps → Microsoft SQL Server Setup Support files, and remove the instance. Delete leftover data folders to reclaim disk space.
.
SSMS is optional for headless servers but highly recommended for local development and troubleshooting because it provides an intuitive GUI for querying and configuration.
Yes. During installation choose the Data Directories tab or pass /SQLUSERDBDIR, /SQLUSERDBLOGDIR, and /SQLTEMPDBDIR switches to setup.exe for custom paths.
No. Developer edition is free for non-production use only. Use Express for lightweight production workloads or purchase Standard/Enterprise licenses.