Monday, December 18, 2017

BugCheck when using Intel Advanced Networking Services


SCENARIO

You install the Intel Network Adapter Driver for Windows 10 (driver) and then you attempt to set a VLAN ID on your adapter. When you do this, your computer bugchecks. You get the following:

BAD_POOL_CALLER (c2)
The current thread is making a bad pool request.  Typically this is at a bad IRQL level or double freeing the same allocation, etc.
Arguments:
Arg1: 0000000000000007, Attempt to free pool which was already freed
Arg2: 0000000000000000, Pool tag value from the pool header
Arg3: 0000000000000000, Contents of the first 4 bytes of the pool header
Arg4: ffffbf0969a889ec, Address of the block of pool being deallocated

Monday, November 27, 2017

Windbg Useless Mex Rule "Issue 9912"

SCENARIO

If you are using Windbg to view a crash dump and you are using the mex extension, then you might recieved the following when running the known issue checker (!kic):

0: kd> !kic
[Rule 9912] Found issue from rule 9912!
[Rule 9912] Additional Data
[Rule 9912]  ---------------------
[Rule 9912] mex has no win32k export
[Rule 9912]
[Rule 9912]  ---------------------
[Rule 9912]
Stats:
Rules Ran: 92 Success: 76 Failed: 0 Skipped: 16
Number of Issues Found: 1
Total Number of Rules: 189
Scan Ended:  11/16/2017 10:52:50 AM (00:10:19.0159146)

Tuesday, November 7, 2017

Install and Configure Windbg


In this post, I'll show you how to get, install, and configure windbg so that you can debug and or review dump files.

What you will need:
1. Debugging Tools: click here
2. Mex Extension: click here
3. Microsoft Symbols Server Info: click here

Tuesday, October 31, 2017

Create Logon Event in Event Log

SCENARIO

You don't like how the Windows Security Log records logon events. You want to create your own logon events and record information that you find useful.

Tuesday, May 16, 2017

SCCM Task Sequence Error 0x4005(16389)


Scenario

You are deploying Windows 10 x64 1607 update. After you click on the update in software center, it looks like everything is working. Files are getting downloaded and whatnot, but you eventually get the error above - Task Sequence: Upgrade to Windows 10 Enterprise x64 1607 has failed with the error code (0x80004005).

After you click "Close" on that, you look back in the software center and it eventually fails with an error code of 0x4005(16389).  It looks something like this:


Wednesday, April 5, 2017

Pull Specific events from event logs on multiple remote computers


SCENARIO

You want to get a specific event from multiple remote computers.  For example, you want to find 1074 events in the System log, but you want to pull those events from a bunch of computers.

Tuesday, March 7, 2017

RDS 2012 R2 - Server Manager Won't Show RDS Deployment


Scenario

Ok so you know that you installed your RDS roles and your server manager used to show you your RDS deployment.  But today you logged in and you get the above message: "A Remote Desktop Services deployment does not exist in the server pool.  To create a deployment, run the Add Roles and Features Wizard and select the Remote Desktop Services installation option".

When this happened to me, I verified that the RDS roles were in installed - they were.  My remote apps still worked, the roles were still there, etc.  But server manager would not recognize the deployment.

Monday, February 13, 2017

PowerShell - Create Users, Databases, and Set Permission on MySQL

SCENARIO

You want to automate the creation of lots of MySQL user accounts, databases, and permissions set on those user accounts.  You can do this through PowerShell.

I modified a script by berniecamus: https://github.com/berniecamus/create-mysql-database/blob/master/createmysql.ps1

Create a csv file with the following headings: