Changing user password from command line in Windows

If you search the Internet how to change the password in Windows using command line you’ll easily find command like one below: DO NOT USE IT! It doesn’t change the password, it resets it. When you reset the password this way, all things encrypted with user password are no longer accessible (unless you have the … Continue reading Changing user password from command line in Windows

Avoid side effects outside of your application

You probably heard that side effects in programming can be harmful. This post is not about imperative versus declarative approach, though. This is about side effects you may create without paying attention to little details. Just few examples. Running process and blinking Let’s take this code in C# on Windows (it can be reproduced in … Continue reading Avoid side effects outside of your application

Availability Anywhere Part 8 — Running interactive application on a remote server from shell

This is the eighth part of the Availability Anywhere series. For your convenience you can find other parts in the table of contents in Part 1 – Connecting to SSH tunnel automatically in Windows Imagine that you’d like to run an interactive application on some remote server. This application should have access to UI and … Continue reading Availability Anywhere Part 8 — Running interactive application on a remote server from shell

Availability Anywhere Part 7 — gpedit.msc on Windows Home

This is the seventh part of the Availability Anywhere series. For your convenience you can find other parts in the table of contents in Part 1 – Connecting to SSH tunnel automatically in Windows Multiple configuration tasks require you to open Group Policy Editor and do something. However, there is no gpedit.msc in Windows Home … Continue reading Availability Anywhere Part 7 — gpedit.msc on Windows Home

Availability Anywhere Part 6 — Task scheduler not running on next run date on Windows Home edition

This is the sixth part of the Availability Anywhere series. For your convenience you can find other parts in the table of contents in Part 1 – Connecting to SSH tunnel automatically in Windows There is some bug with Task Scheduler not running the task on the next run date, similar to this question. In … Continue reading Availability Anywhere Part 6 — Task scheduler not running on next run date on Windows Home edition