Use powercfg to set Windows power states from a script or command line.
I often use telnet to test if a port is open or not. However, on Windows Vista and up, and Windows Server 2008 and up the telnet client isn’t installed by default. To install it, do the following from a command line: pkgmgr /iu:”TelnetClient” Source: Microsoft Technet
Just had another client puzzled by this issue, their IT provider couldn’t figure out what was wrong either. The application (in this instance ACT!) appeared to start, but wasn’t visible. Ultimately, the window was off screen. They had used an external monitor and had been using the app on that second screen. They’d shutdown, removed […]
I’ve recorded a short video on how to lock windows machines from the windows command line. Let me know if you found it useful.
One of the tools I’ve found very useful is SheepDog. Like the real world sheep dogs, it rounds things up, in this case stray windows. Working with a laptop, I often plugin a second monitor, however, when I next fire up the laptop, windows may open up but not be visible on my laptop screen, […]
I’m often writing scripts to do stuff. It makes my job easier. I’ve often wanted to be able to script the discovery of registry values in the Windows Registry. Thus here is a short example on using the vanilla windows command line to find the value of a Windows registry key. From my testing these […]
Occasionally you may want to know the [SID] of a windows user. If that made no sense to you, read no futher, this snippet is not for you. [SID]:http://encyclopedia.thefreedictionary.com/Security+Identifier “Read a definition of what the SID is” Open up REGEDIT and browse to this key: `HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList` Here you will find a list of SID’s, […]
Just had need of this article, method #2 describes how to turn of Microsoft Internet Explorer Enhanced Security Configuration.
Spotted this great list of open source tools for system administrators: 24 Great Open Source Apps for Admins & Technicians. I can personally vouch for a number of these: Angry IP Scanner PuTTY DBAN DeltaCopy For some tools that are not open source but free, you can’t go past live.sysinternals.com (details here) – now owned […]
A Terminal Server I was attempting to work on today gave quite a lot of grief. The first hint was that users were unable to login to it. When I then tried to login, it gave an error message of: Login Failed You are connected to the remote computer. Howerver, an error occured while an […]
I don’t have this, but I certainly would use it. A simple utility to do search and replace in the Microsoft Windows registry. Ideally it would do the following: Specify a list of values to delete – it would then remove ALL those values Specify a value and what to replace it with Specify a […]
I’m now running Ubuntu 7.10 on my personal laptop (it dual boots with MS Vista Ultimate, but defaults to Ubuntu). Of course I want to do it all, including connecting to MS Windows VPN’s. The short set of instructions over at tipotheday were spot-on. My only addition would be to have the Ubuntu 7.10 install […]