Windows 2012 – Sharing a folder

For some reason, sharing is more complicated on Windows 2012.  Well, not complicated, but it does require using a different attack method:

  3. Create your share here, much like you used to do in the past

IIS: Maximum request length exceeded

This usually happens because the you’ve reached a limit on the maximum request length while uploading a file or processing a request.

The default for this setting is around 4mb.

You can edit the web.config with the following lines:

<httpRuntime maxRequestLength=”1048576″ />

This will change the max to around 1 gb.

News Spin: Obama Eats Ribs – A matter of perspectives



Obama is out with his public eating ribs and being an all around great guy.  Just look at him – loving it, and we love him.


I can’t believe this – it’s just further proof of how uncaring our president really is.  He is out eating ribs and probably not even paying for them, while the rest of us struggle to get by and most of the country is either unemployed, going hungry or both.


Heck Yeah!

 (photo credit:

The Devil Made Me Do It

The Devil Made Me Do It

The Devil Made Me Do It

Remember Flip Wilson and his skit where he said “The Devil Made Me Do It?” Well, I can’t help but think of that whenever I hear someone reacting to a pop-up on their screen.

First, I thought pop-ups were all but gone.  You used to go to a particular site and suddenly like 50 windows would pop open – mostly pictures or ads.  Once browsers became more intelligent, they caught all of that in the background and we really didn’t notice them anymore.  The new pop-ups are more insidious than those.  The are in the form of message boxes or just off the screen chat looking windows or nasty skull and crossbones warning messages telling you you are infected or something awful has happened to your computer.   Personally, whenever I do see one of these messages I usually investigate it a little trying to see where the message is coming from, or instead I just open up task manager and kill all of my Chrome or Internet Explorer tasks and start over.

What I am actually surprised about, however, are the number of people who follow-up with whatever the message told them to do.   I was involved in two similar stories lately and heard about a third.  The first two were almost identical.  The user sees a popup telling them something is wrong or that their banking password is goofed up or that they have some similar issue, but instead of closing out the browser or just turning off their machines, both people actually called the number on the screen!  The first case ended with “someone moving my mouse all around and then my machine wouldn’t boot up anymore” and the second ended with “the guy was in my machine working and said I needed to pay him $300 to finish up”.  While I know you might be thinking this really can’t happen, let me assure you – both of these really happened.  I couldn’t believe what I was hearing.

Here are a two 30,000 foot tips for most users:

#1 – NEVER call numbers that randomly pop-up on your screen.  Who does that?  Microsoft isn’t going to ask you to call them for anything.  It’s probably not them.

#2 – DON’T let people into your computer if you don’t know who they are.  I really wasn’t even up on the idea that random strangers could get into your system in the first place.  Certainly, I’ve used remote access software before, but I didn’t really expect people to randomly connect.  If you ever get a notice like this and you don’t know the person – DON’T let them connect to your computer.   You can always hit the power switch in a pinch if you can’t otherwise disconnect them.

Dark Theme for VS2010

This is a really nice and quite readable theme!

Duplicating a Partition in Windows 2008 Server

I won’t go into the details, but I used the following tools and info which came in really handy:


How to create a setup project for a windows service in VB.NET

Here is a great write up on making your windows service easy to install.

This worked the first time I tried it, which I can’t say for every instruction list I find on the “Internets”.


This article describes how to create a setup project for a Windows Service application (formerly named an “NT service”). To do this, you must first create a solution that contains a simple Windows Service project that writes an entry to its application log. You then add a setup project to the solution to install the Window Service. Finally, you start the service. You can start the service by using the Services item in the Administrative Tools folder in the Start menu.


The following list outlines the recommended hardware, software, network infrastructure, and service packs that you must have:

  • Microsoft Windows 2000, Windows XP, Windows Server 2003, or a later Microsoft operating system with the .NET Framework installed
  • Microsoft Visual Studio .NET Enterprise, Microsoft Visual Studio .NET Enterprise Architect, Microsoft Visual Studio 2005, or Microsoft Visual Studio 2008.

This article also assumes that the user account that you use to install and to run this service has the permissions that you must have to install and to start services, and also has the permissions that you must have to access the event log.

Create a Setup Project for a Windows Service

This section describes how to create a Windows Service project, and how to use a compiled setup project to install the Windows Service.

Create a Windows Service Project

  1. Start Microsoft Visual Studio.
  2. On the File menu, point to New, and then click Project.
  3. Click Visual C# Projects under Project Types, and then click Windows Service under Templates.Note In Visual Studio 2005 or Visual Studio 2008, expand Visual C# under Project Types, click Windows, and then clickWindows Service under Templates.
  4. Type LogWriterService in the Name text box, and then type C:\ in the Location text box. Click OK.
  5. In Solution Explorer, right-click Service1.cs, and then click View Code.
  6. In the OnStart event handler, replace the comments with the following code:
    EventLog.WriteEntry("My simple service started.");
  7. In Solution Explorer, double-click Service1.cs.
  8. In the Code Editor window, right-click Design View, and then click Properties
  9. In the Properties pane, click the Add Installer link.
  10. In the Properties pane for ServiceInstaller1, change the ServiceName property to Service1.
  11. In the Code Editor window in Design view, click ServiceProcessInstaller1.
  12. In the Properties pane, change the Account property to LocalSystem (The LocalService and NetworkService values are available only in Microsoft Windows XP).

Use a Compiled Setup Project to Install the Windows Service

After you complete the steps in the previous section to configure the Windows Service project, follow these steps to add a deployment project that packages the service application so that the service application can be installed:

  1. Add a new project to your LogWriterService project. To do this, follow these steps:
    1. In Solution Explorer, right-click Solution ‘LogWriterService’ (1 project), point to Add, and then click New Project.
    2. Click Setup and Deployment Projects under Project Types, and then click Setup Project under Templates.
    3. In the Name text box, type ServiceSetup.
    4. Type C:\ in the Location text box, and then click OK.
  2. Tell the deployment project what to package. To do this, follow these steps:
    1. In Solution Explorer, right-click ServiceSetup, point to Add, and then click Project Output
    2. In the Add Project Output Group dialog box, in the Project box, click LogWriterService
    3. Click Primary Output, and then click OK.
  3. For correct installation, add only primary output. To add the custom actions, follow these steps:
    1. In Solution Explorer, right-click ServiceSetup, point to View, and then click Custom Actions
    2. Right-click Custom Actions, and then click Add Custom Action.
    3. Click Application Folder, and then click OK.
    4. Click Primary output from LogWriterService (Active), and then click OK.Notice that Primary output appears under InstallCommitRollback and Uninstall.
  4. By default, setup projects are not included in the build configuration. To build the solution, use one of the following methods:To install the newly built service, right-click ServiceSetup, and then click Install.
    • Method 1
      1. Right-click LogWriterService, and then click Build.
      2. Right-click ServiceSetup, and then click Build.
    • Method 2
      1. On the Build menu, click Configuration Manager to build the whole solution.
      2. Click to select the Build check box for ServiceSetup.
      3. Press F7 to build the whole solution. When the solution is built, you have a complete installation package that is available for the service.
  5. In the ServiceSetup dialog box, click Next three times. Notice that a progress bar appears while the service installs.
  6. When the service is installed, click Close.

Original article at: