Log Off User remotely – cmd

By ivan

If you ever wondered how to log off user remotely (or locally) via command line try this. As usual membership of the local admins group is needed. Start cmd with elevated privileges. check logged user and…

Check program/app ports

By ivan

To check which ports are used by an app/program go to Task Manager, find the needed one and note its PID. Then Open a command prompt and type: netstat -ano | findstr xxxx (where “xxxx”…

External HDD Access Denied Windows 8.1

By ivan

When pissed off by my own external hdd asking for administrator approval every time when I move fielks around i did this: takeown /F “Complete path of the file location”: icacls “Complete path of the…

Set Ip Server 2012 PowerShell

By ivan

To set a static IP address In Windows PowerShell, run Get-NetIPInterface. Make a note of the number shown in the IfIndex column of the output for your IP interface or the InterfaceDescription string. If your…

Dumpchk

By ivan

I was digging a blue screen minidump today and received weird “symbols not correct!” error. c:\program files\debugging tools for windows> dumpchk -y srv*c:\websymbols*http://msdl.microsoft.com/download/symbols c:\windows\minidump\mmddyy-nn.dmp The command above is downloading correct symbols directly from Microsoft and…