Skip to content

dave.harris.uno

IT Pro and Gadgeteer

  • Home
  • Contact
  • Donations

Tag Archives: CMD

Finding what is causing PC to resume from Sleep

16 Feb

Some handy little commands: The last device that woke the system: powercfg –lastwake To find out which devices are enabled to wake up the PC, enter this command: powercfg -devicequery wake_armed Also, the scheduled task to put the computer to sleep: rundll32.exe powrprof.dll,SetSuspendState Sleep

Sysadmin Stuff CMD, PC, Sleep, Wake Leave a comment

Installing Telnet with a Quick Command

10 Oct

Whilst trying to diagnose some connection issues, I tried Telnet, only to discover it wasn’t installed. This little code snippet was a very quick way to get it installed: pkgmgr /iu:”TelnetClient”

Sysadmin Stuff CMD, Command, Telnet Leave a comment

Retrieving System Information from the Command Line

7 Sep

Probably doesnt deserve it’s own post, but anyway: c:\>systeminfo Pretty useful.

Sysadmin Stuff CMD, Command, DOS, Server, System Leave a comment

Create a windows service from the command line

5 Jul

This is pretty useful to know: sc create ServiceName binpath= c:\progra~1\folder\file.exe If you get “[SC] Createservice Success” then you’ve got it right You can then go into services.msc and set it to autostart and start it if you like. PS, … Read More »

Sysadmin Stuff CMD, Command, Service, Windows Leave a comment

Configuring disk partitions from the command line

26 Mar

Yet another command line post. Basically, after configuring the Raid array on my DL380 G5, running Hyper-V I needed to create the data drive to hold all the VHD’s. From the command prompt, typing: C:\>d: Gave the error: The device … Read More »

Sysadmin Stuff CMD, Diskpart, Hyper-V, Listdisk, Partition Leave a comment

Listing available drives from the Command Prompt

22 Mar

This came in handy just now. Run this command from the command line to list the available drives on a machine: c:\>fsutil fsinfo drives Very useful when working on my Hyper-V box. Also note: Show the type of drive: c:\>fsutil … Read More »

Sysadmin Stuff CMD, Command, Driver, Fdutil, Fsinfo, Hyper-V Leave a comment

Simple Command Line Tricks

17 Mar

I use cmd.exe quite a bit every day and have never really bothered looking into to making this experience a bit more pleasurable. When I think about it, the window is a bit small, I kinda wish it kept a … Read More »

Sysadmin Stuff CMD, Shortcuts, Tricks Leave a comment

How to Uninstall a program for the command line

17 Mar

Today I was trying to remove some software from a Hyper-V Server 2008 R2 box, and obviously it has no nice little Add/Remove Programs GUI to use. It can still be done however. First, call ‘MWIC’ from the command line. … Read More »

Sysadmin Stuff CMD, Program, Remove Leave a comment

Welcome

My name is Dave Harris and this blog is mostly dedicated to sysadmin stuff. If I find the time there might be the other odd topic here and there too.

Hopefully you will find some of it interesting and hopefully even helpful. If you do perhaps you could click on the donate button below to say thank you.

Have a look around and let me know what you think. Cheers, Dave.

My Paessler Case Study

Donate with PayPal

Was this blog useful? Why not donate and buy me a coffee. Go on, be awesome.

Tag Cloud

2012 AD Automation Azure Backup Batch Blackberry Camera CCTV CMD Database Email Error Exchange Fix GP GPO Group Policy HP Hyper-V IIS MCE Microsoft Monitor MySQL Network Office365 Outlook PFSense PHP Plex Powershell Printer PRTG Registry Remote S2000 Script Server SNMP SQL Update VDI Windows Zoneminder

Categories

  • Car Stuff (9)
  • DIY (22)
  • Gadgets (4)
  • Hedgehogs (7)
  • Home Automation (27)
  • Home Network (32)
  • Sysadmin Stuff (448)
  • Useful Software (30)
  • X10 (5)

Archives

© 2019 dave.harris.uno
Powered by WordPress / Theme by Design Lab
This site uses cookies: Find out more.