Command prompt from your current folder

Sometimes you need a command prompt to do stuff.  That works fine if folder is need isn’t buried too deep in windows.  For example, C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config.

Who wants to type all that out?  Well here’s a shortcut a co-worker told me about.

Just browse in windows explorer to the deep folder you need.  Then in the address bar type cmd.  Then boom a command prompt opens with the path set to your current path (versus C:\)

Makes is so much easier to run an executable.

Access denied error with MVC site

If your new MVC site throws an access denied error you probably don’t have windows authentication setup.

The first thing is checking if you are hosting your site on IIS 7 or better. (Otherwise this section won’t help).
Right click on your project in Visual Studio, click Properties.
Click the web tab.
If you Use IIS Express checked THEN SKIP TO THE BOTTOM OF THIS ARTICLE.
image

Open IIS Manager (Start –> Administrative Tools –> Internet Information Services (IIS) Manager).
Navigate to your website (usually Default Web Site) and click on it.
image

Double click Authentication.
If you don’t see Windows Authentication then it’s not setup.
image

See this post about enabling windows authentication.
(You may need to close IIS Manager and reopen it).

4. In the Actions pane, click Enable to use Windows authentication.
image

5. On the Authentication page, select Anonymous authentication.

6. In the Actions pane, click Disable to disable anonymous authentication.
image

Here is how to enable windows authentication on IIS Express in Visual Studio 2012.
1. Click on your project in the Solution Explorer to select the project.
2. If the Properties pane is not open, open it (F4).
3. In the Properties pane for your project:
a) Set “Anonymous Authentication” to “Disabled”.
image

b) Set “Windows Authentication” to “Enabled”.
image

[tweetmeme only_single=”false”]

How to setup windows authentication on Windows

Here on the steps to enable windows auth on Windows 7:
a) In Control Panel open “Programs and Features”.
image

b) Select “Turn Windows features on or off”.
image
c) Navigate to Internet Information Services > World Wide Web Services > Security
and make sure the Windows authentication node is checked.
image

To enable Windows authentication on Windows Server:
a) In Server Manager, select Web Server (IIS) and click Add Role Services.
b) Navigate to Web Server > Security
and make sure the Windows authentication node is checked.

[tweetmeme only_single=”false”]

How to offer remote assistance with Windows 7 on your network

1) Go to your start menu and type “assistance” in the search box (see below).
clip_image001

2) Windows will find the Windows Remote Assistance program.
Select that program.
clip_image002

3) You will now have 2 choices, ask for assistance or offer assistance.
Choose the second choice “Help someone who has invited you” (Doesn’t matter that no one has invited you.)
clip_image004

4) On this screen click the link, “Advanced connection option for help desk”.
clip_image006

5) Now you can type in a computer name or ip address (and it will keep a history of what you previously entered).
clip_image008

6) Click Next and it will start a remote assistance session.

[tweetmeme only_single=”false”]

Run Windows Server 2008 as a workstation

So if your tired of running Vista, you can run Windows 2008 as your workstation.  Windows 2008 runs much smoother than Vista.  I have run Windows 2008 as my main OS and I have enjoyed (until I tried Windows 7).  Here is link to using Windows 2008 Server as a workstation, http://www.win2008workstation.com/wordpress/.

I found this info in the Jan/Feb 2009 issue of Code magazine.

Show desktop icon missing from quick launch

Occasionally I end working on PC that is missing the show desktop icon.  I always end up looking for how to recreate it on Google.

In Windows XP, go the run command then type the following command:

regsvr32 /n /i:u shell32.dll

Then press enter.  A dialog will let you know it was successful.
The show desktop won’t be there until you reboot or type the following command:

%appdata%\microsoft\internet explorer\quick launch

This will open a folder.  Then you can drag the show desktop icon to your quick launch bar (it will create a short cut in the folder that just opened up).

In Vista, go to howtogeek.com and download the file labeled “ShowDesktop.zip”.  Open that file and drag the file it contains to the quick launch bar.