Jared Heinrichs

  • Technology Blog
  • Winnipeg Computer Repair
  • Winnipeg Photographer
  • Cooking With Jared
You are here: Home / 2009 / Archives for March 2009

Archives for March 2009

Mar 31, 2009 By Jared Heinrichs 43 Comments

The NPF driver isn't running – Wireshark

Wireshark – The NPF driver isn’t running

As soon as I opened my wireshark, the message popped up: “The NPF driver isn’t running…

As a local administrator do this:

net start npf

Now go back and open WireShark. Everything will be ok 😉

Filed Under: WireShark

Mar 29, 2009 By Jared Heinrichs Leave a Comment

How to Enable / Disable / List Network Interfaces from Command Line

My favorite “netsh” commands.

Show all interfaces

netsh interface show interface

Enable a Disabled NIC using Command Line

netsh interface set interface "Local Area Connection" enabled

Disable a Enabled NIC using Command Line

netsh interface set interface "Local Area Connection" disabled

Filed Under: Windows Command Line

Mar 26, 2009 By Jared Heinrichs Leave a Comment

How to schedule a Windows Powershell script

Couple of things to know

There are two main things that you have to do to schedual Powershell scripts.

  1. Allow Interactive Commands using set-executionpolicy command.
  2. Put Powershell script in a ".ps1" file. You can use any text editor to make this.

The first thing you need to do is make sure that Powershell is set to execute Powershell scripts, instead of only allowing interactive commands to be run in the Powershell environment.

Type the following at the Powershell command prompt:

set-executionpolicy RemoteSigned

This will allow the system to run Powershell scripts that are created locally (Remote Powershell scripts that may be downloaded must be signed).

Once this is done, you can create your Powershell script using notepad. Just make sure you name the file with an extension of .ps1 . Now to run the script outside of its Powershell environment you type a command similar to the following:

powershell -command "& 'MyScript.ps1' "

Just put the above command into a .bat or .cmd file and schedule it like you would normally schedule a script to be run with Windows task scheduler.

Filed Under: Powershell, Windows 2003 Server, Windows 2008, Windows 7, Windows Vista, Windows XP

Mar 26, 2009 By Jared Heinrichs Leave a Comment

Step By Step – How to Enable Remote Desktop Connections on Server Core 2008

How to Enable Remote Desktop Connections on Server Core 2008

At the command prompt type:

CD\Windows\System32
cscript scregedit.wsf /ar 0

If you typed it correctly it will display:

Microsoft Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.

Registry has been updated..

Next type:

cscript scregedit.wsf /ar /v

If you did things correctly the server will output:

Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.

System\CurrentControlSet\Control\Terminal Server fDenyTSConnections
View registry setting.
0

Next you will have to make sure that the firewall on the server has the propper ports opened to allow remote connections through. You do this by running another command.

C:\Windows\System32>netsh firewall set service type=remotedesktop mode=enable

If done correct it will output: ok

Filed Under: Windows 2008

Mar 23, 2009 By Jared Heinrichs Leave a Comment

Hyper-V Virtualization Server version Upgrade available

Warning on Hyper-V hosts under SCVMM

I have seen this documented in a couple of places now – but I also see a number of people still wondering why this is happening and how to stop it, so I thought I would post it here too.  When you first add a Hyper-V host to SCVMM 2008 you may see a warning icon displayed with the message "Needs Attention" and "Virtualization service version status is not up-to-date".  To get rid of this alert there are three updates that need to be applied to the Hyper-V server:

  • KB950050: This is the RTM update for Hyper-V
  • KB956589:  This is an update to Hyper-V specifically for SCVMM compatibility
  • KB956774: This is an update to the Background Intelligent Transfer Service (BITS) client in Windows Server 2008

Once you have these three updates installed everything should come up green.

Filed Under: Hyper-V, Virtual Machine Manager

  • 1
  • 2
  • 3
  • Next Page »

Categories

  • Board Game Rules
  • Camera
  • Computer Hardware
    • Blackberry
    • drivers
    • iPad
    • Magic Jack
    • USB
  • Damn Small Linux
  • Exam Notes
  • Facebook
  • FREE Flashcards
  • Games
    • PC
      • League of Legends
    • Wii
    • xbox 360
  • Music
  • Networking
    • Cisco Certification
    • Mitel
    • Palo Alto Firewall
  • News
    • Google
    • Microsoft
  • Operating System
    • Active Directory (2003)
    • Android
    • Command Prompt
    • Damn Small Linux
    • Group Policy
    • Hyper-V
    • IIS
    • ISA 2006
    • Mac OS X
    • Microsoft Exchange Server
    • Powershell
    • Security
    • SME Server
    • Terminal Server 2003
    • Ubuntu Linux
      • Adito Web SSL VPN
      • OpenVpn-als
      • Webmin
    • Virtual Machine Manager
    • Windows 2003 SBS
    • Windows 2003 Server
    • Windows 2008
    • Windows 2008 R2
    • Windows 2012R2
    • Windows 7
    • Windows 8
    • Windows Command Line
    • Windows Deployment Services
    • Windows Server Backup
    • Windows Vista
    • Windows XP
  • Phones
  • Photography
  • Photos
    • Animals
    • Misc
    • Nature
    • Portraits
  • Portfolio
  • Programming
    • CSS
    • HTML
    • jQuery
    • MySQL
    • PHP
    • Script
  • Programs
    • Acrobat
    • Acrobat Reader
    • Adobe Dreamweaver
    • Adobe Illustrator
    • Adobe Photoshop
    • Anti-virus Software
    • Antivirus
    • Backup Exec
    • Bittorent
    • Blackberry BESADMIN
    • Internet Explorer 9
    • Lightroom
    • Microsoft Office
    • Netbeans
    • Onenote
    • Outlook
    • Shelby
    • Sysprep
    • Trend
    • Video Editing
    • Visual Studio
    • Windows Live Writer
    • WireShark
    • XP Mode
    • Zarafa
  • Recipe
  • Review
  • Software Links
  • Troubleshooting
  • Uncategorized
  • Videos
  • Web Applications
    • Brage
    • Google
    • Spiceworks
    • Wordpress
  • Web Browsers
    • Internet Explorer
  • Web Server
    • XAMPP
  • Winnipeg
    • ISP

Try searching this site!

Copyright © 2021 Winnipeg Web Design