Running Ansible on Windows

Posted Leave a commentPosted in Ansible

Technically, Ansible cannot run on a Windows. However, it may manage Windows hosts. As a workaround Ansible can be run under the Windows Subsystem for Linux (WSL). Let me elaborate three ways to make this happen (I will cover one for now, however, will leave the other 2 for future): Microsoft store’s Ubuntu App Linux Virtual Machine on Windows Host Cygwin 1st Approach: Microsoft store’s Ubuntu […]

Regain database Space

Posted Leave a commentPosted in MS SQL

The last two articles help you identify where the issue is? this one will take you through step by step process of what one may do to regain the space occupied by the databases. Hence freeing some resources on the SQL server and improving the performance too. Identify and clean Log/Temp Tables Truncate/Delete the log […]

Display data and log space information for each database – what’s eating up server space?

Posted Leave a commentPosted in MS SQL

This thread outlines how to display data and log space information for all the databases in SQL Server. This will give you an insight into which database needs to be maintained or dropped to save space on your server. Connect to the Database Engine. From the Standard bar, click New Query. Copy and paste the following example into the query window and click Execute. one may uncomment a […]

Disabling “Open File – Security Warning” Message box

Posted Leave a commentPosted in Windows

If you are working with remote machines and/or UNC path you may experience following dialog every time you try to open an EXE or batch file from a shared location: Let see how to disable this Open run prompt Type inetcpl.cpl and press enter Click the Security tab Click Custom Level… Select Enable (not secure) under Launching applications and unsafe files. Click OK Then Yes […]

SQL Compatibility Level | Unable to restore SQL DB, version error

Posted Leave a commentPosted in Tips & Tricks

Is the version of SQL Server with which the database is to be made compatible. The following compatibility level values can be configured (not all versions supports all of the above listed compatibility level): The compatibility level of a database dictates how certain language elements of the database functions when it relates to an earlier […]