TODAY Packt Publishing is offering all its DRM-free content at $10… All 2000+ eBooks and Videos at www.packtpub.com.
Get an inexpensive and DRM FREE fix for all your tech urges in virtualization, end-user computing, Dig Data, eCommerce, Cloud computing, programming, elearning systems (including Moodle!), automation, operating systems, systems and performance monitoring, game development, Rasberry Pi, networking, advanced security, etc etc. SO MANY!!!
After installing Microsoft Windows 8 KB2821895 you may notice a few quirks. The first is that you might see the update is listed as having been applied – in multiple places. This seems innocuous but can be confusing.
The second issue is that running SFC directly or via other tools like the wonderful D7 from FoolishIT will report corrupt files in Windows that _cannot_be fixed. Thankfully there is a work around to this corruption reporting issue. From an elevated command prompt as depicted in the graphic, run the following Deployment Image Servicing and Management (DISM) command:
dism /online /cleanup-image /restorehealth
Once this dism process completes, you can rescan for Windows file integrity: sfc /scannow
Every IT guy eventually learns how to flush the local cache for a system’s DNS client. The following command has probably wore many a helpdesk or admin keyboard:
There are certainly times where that is the best or only course of action in diagnostics or recovery. For instance, a replacement service may be running with a different IP address such as when a VM or service is moved from one Data Center to the other.
Sometimes the better course is to observe (passively) before any action is taken. Windows PowerShell offers a simple commandlet, Get-DnsClientCache that can be very helpful showing each entry of a host and other useful information such as record type, TTL and the IP addresses. Combine the basic command with some simple processing for more power (below):
PS C:\Users\User> Get-DnsClientCache | where entry -Contains youtu.be
Entry RecordName Record Status Section TimeTo Data Data
Type Live Length
----- ---------- ------ ------ ------- ------ ------ ----
youtu.be youtu.be A Success Answer 58 4 184.108.40.206
youtu.be youtu.be A Success Answer 58 4 220.127.116.11
youtu.be youtu.be A Success Answer 58 4 18.104.22.168
youtu.be youtu.be A Success Answer 58 4 22.214.171.124
youtu.be youtu.be A Success Answer 58 4 126.96.36.199
youtu.be youtu.be A Success Answer 58 4 188.8.131.52
youtu.be youtu.be A Success Answer 58 4 184.108.40.206
youtu.be youtu.be A Success Answer 58 4 220.127.116.11
youtu.be youtu.be A Success Answer 58 4 18.104.22.168
youtu.be youtu.be A Success Answer 58 4 22.214.171.124
youtu.be youtu.be A Success Answer 58 4 126.96.36.199
Go ahead and try it out on your Windows system the next time you feel the urge to flush.
Adobe Flash for better or worse is quite ubiquitous these days. Aside from my servers, I have some version of support across my Windows, Linux and OSX systems. Heck, even on my lower security servers where I have Chrome installed, I have a version of Flash through that browser.
Editing multiple Visio diagrams at the same time leaves something to be desired with the default installation of Visio. Though the View ribbon can help to a small degree, hot keys to move to another Visio document would be ideal. One simple way to increase usability in this scenario is to have Visio 2010 open each document in a new instance so that you can rely on Alt-Tab and Shit-Alt-Tab keystrokes.
Change Visio 2010′s Options
First, go into Visio 2010′s Advanced Options (File -> Options -> Advanced) and select “Put all settings in the Windows registry” as seen below.
Then launch regedit (Start -> Run -> regedit) and disable SingleInstanceFileOpen by changing the value of its key from a 1 (one) to 0 (zero) . Navigate in regedit by the following:
Once there, double-click SingleInstanceFileOpen to modify its value.
Windows 7 offers three types of networks as managed within the Network and Sharing Center: Home, Work, Public. Each type allows for customization of security policies such as what services are allowed through the Windows Firewall.
While the Home and Work types are relatively straight forward, what is Public is not always so. Sure, I have a string of thirty Starbucks and other Wifi hotspots that are obviously Public (as I set them to be upon connection), but you may encounter Public networks defined within your system that you were never given the choice to select in which category it fell. This special case of Public in fact is a network to which you connect that does not have a defined default gateway attribute. Microsoft further decided that these “unknown” Public networks cannot be made “known” with a reassignment to another class such as Work. So what’s the best way to handle this situation should you encounter it?
There is no single answer to the best means of addressing this Windows quirk, but there are common sense approaches that will allow consistent and predictable results. I outline the here one such avenue.
One of my typical use cases is creating special networks for my clientele. For example, in the graphic above I needed to demonstrate accessing a public static NAT through a next-generation firewall from a system within the same zone and interface upon which the “public” server resided. As the demonstration system is running virtual servers which are multi-homed, firewalled with true Internet access via another interface, adding a generic default gateway is never an option. So how can you have your cake and eat it too?
The answer is simple, add a weighted gateway to the interface then assign the connection to the zone in which you want it.