• Meng Li's Blog

    Leaving Microsoft

    This will be my last technet/msdn blog. All my future blog posts will be at http://softienerd.blogspot.com/.
  • Meng Li's Blog

    Enable Missing Kernel Debugging Transport in Visual Studio 2012

    By default, when you install Visual Studio 2012, you won't have Kernel Debugging in the list of transports as described in http://msdn.microsoft.com/en-us/library/windows/hardware/hh439359%28v=vs.85%29.aspx and in http://msdn.microsoft.com/en-us/library...
  • Meng Li's Blog

    Changing Executable Dll Characteristics Flags: DynamicBase, NX, AppContainer

    Inside the PE header of all executables, there is something called DLL Characteristics which contains a set of flags that could tells Windows a little more about the application. You can view all the flags by using dumpbin.exe /headers <targetbinary>...
  • Meng Li's Blog

    Attack Surface Analyzer x86 and x64 Download Link

    Our original download link for the tool only had x64 msi. We had since fixed it with a new download link. However, most of the search engines have the original link as the top result. If you need the x86 version of the tool, please use this go link: http...
  • Meng Li's Blog

    Attack Surface Analyzer

    My team here at Microsoft Security Engineering Center just released our latest tool for the SDL, Attack Surface Analyzer . Dave has already blogged about the tool: http://blogs.msdn.com/b/sdl/archive/2011/01/17/announcing-attack-surface-analyzer.aspx...
  • Meng Li's Blog

    Installing .Net 3.5.1 on Windows 2008 R2

    • 0 Comments
    Sometimes when you try to install .Net 3.5 on Windows 2008 R2, you would get an error message: You must use the Role Management Tool to install or configure Microsoft .NET Framework 3.5 SP1. To get around this, right click on computer, select manage...
  • Meng Li's Blog

    Building Both VS 2008 and VS 2010 on the Same TFS 2008 Server Using 2 MSBuild Build Agents

    My team recently upgraded some of our Visual Studio solutions to be 2010 based in order to take advantage some of the new features in the IDE. However, we quickly found out that the upgrade broke our build system. In order to build both vs2010 projects...
  • Meng Li's Blog

    Moving and Bouncing Circle with HTML5 Canvas

    This should work in ie9 and chrome. However, if you use ie9, make sure you set the browser and document mode to IE9 standards. There could be some refactor done on this code, but I wrote this in a few hours without any prior javascript or html5 experience...
  • Meng Li's Blog

    Bouncing Circle with HTML5 Canvas

    This should work in ie9 and chrome. However, if you use ie9, make sure you set the browser and document mode to IE9 standards. There could be some refactor done on this code, but I wrote this in a few hours without any prior javascript or html5 experience...
  • Meng Li's Blog

    Twitter

    I finally signed up for a twitter account: http://twitter.com/softienerd . My first post is on the fact that a social site like groupon is worth more than twitter: http://www.theatlantic.com/technology/archive/2010/09/what-are-your-favorite-social-media...
  • Meng Li's Blog

    Visual Studio Load Test Performance Testing

    Recently, my team needed to do some perf testing on some ASP.NET application with sql backend. After some research, I discovered two ways to approach the problem that seemed easier than the rest: Option 1: Create what's known as web tests within...
  • Meng Li's Blog

    Error 80040200 When Regsvr Registering Com/Activex Controls

    Sometimes when I try to register a com control, I get the following error dialog. [Window Title] RegSvr32 [Content] The module ".\crash.ocx" was loaded but the call to DllRegisterServer failed with error code 0x80040201. For more information...
  • Meng Li's Blog

    Anonymous DCOM Problems with remote Hyper V Manager(Access Denied. Unable to Establish Communication)

    If you ever run into problems using the remote Hyper V Manager, there is a wonderful little vbscript(hvremote) written by John Howard at http://blogs.technet.com/jhoward/ and http://code.msdn.microsoft.com/HVRemote . You can run it to troubleshot any...
  • Meng Li's Blog

    Remotely Managing Hyperv in Win 7

    Although, Win 7 official release is this week, internally it has been available for a while now. Remote Management pack apparently came out in August. So if you haven't installed it and you have any hyper v servers, you should get it now! http://www.microsoft...
  • Meng Li's Blog

    Why Not Read Commentaries on the Internet(Ted Dziuba on WolframAlpha)

    While I try to offer my opinions on technologies here, I try harder to keep most of what I write facts. When I do write an opinion, I try to make sure there are facts backing that up. Apparently same is not try for Mr. Dziuba who commented on WolframAlpha...
  • Meng Li's Blog

    Finally Fast the Scam?

    This commercial rocked my world: http://www.youtube.com/watch?v=atd8dowrbNI&feature=player_embedded So apparently these malware detection programs have finally begin to advertise on TV in addition to their traditional annoying $!!@$$ ! pop up ad...
  • Meng Li's Blog

    Best Tech Ad of 2009?

    Possibility the best tech Ad I've ever seen: http://www.everythingusb.com/intel-usb-rock-star-16620.html . Good job, intel!
  • Meng Li's Blog

    NoScript

    On my laptop, I use firefox and an extension called NoScript. What NoScript does is blocking general javascripts from running. Apparently, it whitelist itself so that Ads that require javascript on its own website can run. Not only that, it went further...
  • Meng Li's Blog

    Google "Office" Taking Over Microsoft Office

    Nothing could stop Google from taking over Microsoft Office except these 5 items: 1. The amount of sheer work involved. Microsoft Office has been in development for well over a decade now. Even just cloning it would take a huge amount of labor and financial...
  • Meng Li's Blog

    Automated Runs on Start Up

    Note: this is for a non domain joined computer. This is the scenario that I want. Once windows boot up, it logs onto a specific account automatically and then runs a program automatically. Once that finishes, the operating system shuts down. First...
  • Meng Li's Blog

    Exploiting Online Games

    At RSA last week, there was an interesting panel on hacking games(woot!) http://news.cnet.com/8301-10797_3-10226485-235.html Back in the days of playing Asheron's Call in high school, bots and certain hacks existed to bypass the set rules that the...
  • Meng Li's Blog

    Delete Remote Files Via WMI and Powershell

    Ever wanted to delete a file on a remote computer without using the net use/shared folder stuff? Well, with powershell, or more accurately, with WMI, you can: PS C:\Program Files\Microsoft\> $a = Get-WMIObject -query "Select * From CIM_DataFile...
  • Meng Li's Blog

    Max Int Min Int - a Common Coding Mistake and a Sample Microsoft Interview Question

    Write the function atoi, a string to integer converter. Write the function itoa, an integer to string converter. These are problems given to a lot of entry level interview candidates at Microsoft. I want to talk about just one aspect of this type of...
  • Meng Li's Blog

    Powershell Tip #1

    In Powershell, type $profile. PS C:\Program Files\Microsoft\AxFuzzer> $profile C:\Users\mengli\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 That points to where your profile is stored at. This is a powershell script that executes...
  • Meng Li's Blog

    Tone Matrix the Tenori-on Wannabe

    I've been into music a lot lately. And I found a little flash program that is just awesome. It operates very much like the Tenori-on: http://lab.andre-michelle.com/tonematrix . As far as I can tell, the operating principle is such that each square is...
Page 1 of 2 (34 items) 12