In this post I’ll show you how to configure Pushover with Windows server. In this specific case it will notify you when someone logs onto your machine. Continue reading How to setup pushover alert on logon event in Windows
There is a command line tool called netdom. Unfortunately it’s not preinstalled on Windows 7. This guide will show how to add this tool to your system and how to change remote computer name.
Hiding server software is one of ways to protect your services from hackers. It’s quite easy to obscure IIS identity. In few steps I’ll show you how to accomplish this task on WIMP stack.
This tutorial will show you how to manage user roles based on Active Directory information.
Sometimes it happens that your scheduled task on Windows missed some logs. I’ve recently had a such problem because I’ve deleted a Windows user that created AWstats task. What did I do to repair this awkward situation?
Firstly you cannot simply regenerate daily log from the past. In this case AWstats will simply skip old records. Follow this steps:
- Go to AWstats data directory (AWstats\cgi-bin\data).
- Use Windows search ability to show only problematic files (if file name is awstats102013.yoursite.txt simply type yoursite in a searchbox).
- Mark all found files and move them to the temporary location.
- Now run Windows cmd.
- Go to AWstats tools dir. In my case:
- Now create a merged log for a problematic website:
:: where xx is unique IIS webiste id logresolvemerge.pl L:\LOG_DIR\W3SVCxx\* > L:\LOG_DIR\W3SVCxx\merged.log
- Go to awstats.pl location:
w: cd w:\wwwroot\AWstats\cgi-bin\
- Parse merged file:
awstats.pl -config=yoursite -LogFile=L:\LOG_DIR\W3SVCxx\merged.log -update
- Place files from steps 2-3 back to their location. Don’t overwrite new files! Simply skip old ones.
- You should be able to see complete stats for your website.
TIP: How to dermine your webiste unique id? Simply go to IIS manager and click advanced settings in a right pane after selecting website.
If you have two interfaces, you can run programs using one of them (despite the fact that Windows selects default interface based on a metric value). For example I virtualize Windows 7 and I need same static ip for it that my host computer uses. It’s OK, in this scenario I can run applications using Virtualbox NAT (this virtual adapter ip is something like 10.0.2.15). But I’m also a Heroes III gamer and I love to play with my coleagues using LAN. So there is need for a second adapter in bridged mode (with ip like 192.168.x.x).
What can I do?
Amazingly there is a Windows application that can do that. Simply download ForceBindIP from this site.
Usage is simple as that:
ForceBindIp -i 10.0.2.15 c:\Windows\System32\mstsc.exe
10.0.2.15 – interface ip
Remember to pass full path for a program that you’re trying to run!