| Login

Search this Blog

Here are the most recent postings to this blog. Use the archive calendar or search to find other entries.
Author:R TeachoutCreated:6/25/2008 10:22 AM
Blog entries about Windows and IIS administration and configurations.

To add environment variable overrides, so IIS doesn’t read the system environment variables, but rather reads it from a reg key Do the following (from a dos prompt, or manually but the key in)

REG.EXE add "HKLM\SYSTEM\CurrentControlSet\Services\IISADMIN\Parameters\Environment" /v TMP /t REG_SZ /d "C:\windows\temp" /f

REG.EXE add "HKLM\SYSTEM\CurrentControlSet\Services\IISADMIN\Parameters\Environment" /v TEMP /t REG_SZ /d "C:\windows\temp" /f

Then do an ‘iisreset’ / restart IIS to force IIS to re-read the variables and activate it.

VOILA !

I found this when troubleshooting a Microsoft Jet DB error.  Jet uses environment variables for “TEMP” which in recent SP’s for Windows 2003 get set to ‘%CURRENTUSER%\Application Data\Temp” which doesn’t exist for “Network Services” or whatever the IIS app pool is running as, so the easy override is to force it back to c:\windows\temp. Note: Sometimes, the temp variables get reset when adding new applications/sites to IIS, or when doing...

Read More »

  1. Click Start, and then type cmd in the Start Search box.
  2. In the search results list, right-click Command Prompt, and then click Run as Administrator.
  3. When you are prompted by User Account Control, click Continue.
  4. At the command prompt, type powercfg.exe /hibernate off, and then press ENTER.
  5. Type exit, and then press ENTER.

Read More »

Be able to Right Click on any directory, and make a "filelist.txt" file for that directory.  So simple, I do not know why this hasn't always been around!

Get a directory listing of all files in a directory and automatically output it to a txt file.

Read More »

Just a snippit I needed to run to resolve an issue - it is a dos script that re-takes ownership of a roaming profile, then re-sets up the user security, so it still runs

BE CAREFUL

Read More »

A bunch of notes I found online about terminal services roaming profiles

(targeted at a 2008 TS, at least that is what the article is referencing)

Read More »

Determine the MTU Size Limits of the full path of an internet route

Read More »

Can't figure out how to Activate Windows 2008 Server - If you installed from a Volume License CD, it never prompted you for the license key, so it will not activate.  Here is how to change the Product Key & then Activate the server.. easy!
(I've also included a number of other common activation stages you can "jump" to - and a shortcut on how to activate a windows 2008 core installation)

Read More »

Force Windows to recheck and fix any "Windows File Protection" files - just a reminder of sfc commands

Read More »

Find Windows netstat port usage by Process id/name

Read More »

Just a "hack" way to fix this issue, without restarting the entire machine.

Read More »

Here is the quick how-to on easily installing NLB (which is no longer installed by default in 2008)

Read More »

I needed to disable AJAX on the profile pages in DNN due to a 4.8 bug, but I was using ajax in lots of other places, and didn't want to turn it off everywhere, so heres the fix.

Read More »

Web Deployment Team released the Beta 1 version of the deployment tool! If you're not familiar with the tool already, it is here to help you keep sites or servers in sync with IIS6 or IIS7, as well as migrate from IIS6 to IIS7

Read More »

(Switch between running 32-bit applications and 64-bit applications in IIS on a 64-bit version of Windows) Also: switch between the 32-bit version of Microsoft ASP.NET 1.1 and both the 32-bit version and the 64-bit version of ASP.NET 2.0 on a 64-bit version of Microsoft Windows.

Read More »



-QuoteDB.com

Inspired by Nina