Skip to main content

Posts

Showing posts from July, 2019

Backup SystemState Windows Server to a network share

Backup SystemState of a server to a network share is preferable rather than backing up to another partition within the local server. Backing up to a network share is quite a good practice, so just in case anything goes wrong to the local server the system state is still safe since the backup is on a network share. So, it’s like the old adage. Don’t put eggs in one basket. If all eggs are in one basket and if the basket is broken then everything is gone. Same logic goes to a server backup, protecting a server with a backup but then putting the backup to a local partition does not really protect the server from hard disk failure. How to backup system state using wbadmin to a network share? It’s quite straight forward but command prompt must be run at an elevated mode, and a network share that is accessible by the server and has enough space to hold the backup. Command below will work with Windows 2008 and Windows 2012; newer version of Windows may still work but n

Test AD account password without logging in to the computer

Documenting AD password is a good practice and should be a part of IT policy. It’s easier to troubleshoot and support users if the password is known to IT. Of course, ethical use of the password should be followed. How to test an active directory account password whether it’s working or not, without logging in or signing in on a computer? PowerShell can help to test a user account password quite easily. AD admin account is needed and the PowerShell must be elevated while running the script below. Correct version of PowerShell is needed for this script. See image below: That’s it! Just replace the username and password to be tested and you can tell your users that the password is not working and needs password reset for their account to work. The script is written for educational purposes and used it ethically. Cheers!! Till next time. Happy Coding!!! ================================ Free Android Apps: