In IIS to disable debug do the following.
Modify the Web.config File Open the Web.config file in a text editor such as Notepad.exe. Web.config file is typically located in the application directory.
Modify the compilation element and set debug=”false”
<compilation debug=”false” />
Save the Web.config file. The ASP.NET application automatically restarts.
Modify the Machine.config file . . . → Read More: iis disable debug
I wanted a fast way to backup an AppDynamics MySQL database directory on windows. The answer was lzop.
Tools GoW 0.8.0 (GNU on Windows) lzop for Windows Setup Set your Enviornment PATH
After installing GoW and extracting lzop.exe set your environment PATH to include the directory where you extracted lzop.exe
Stop AppDynamics Controller and Database . . . → Read More: Using lzop on Windows
To find out the password expiration date for an Active Directory user you must first determine your domain’s password expiration policy and then when the password was last set.
Find your Domain Password Expiration Policy import-module activedirectory Get-ADDefaultDomainPasswordPolicy
Property MaxPasswordAge will tell you the default password expiration policy
Determine Date User Password Was Last Set . . . → Read More: Active Directory Password Expiration Date
Problem IIS 7.5 is holding on to an IP and you cannot get it to listen to the right IP.
You might see this error message:
The format of the specified network name is invalid – IIS Error 0x800704BE Solution
You will need to remove and add the listening ip via netsh (see below)
Determine . . . → Read More: iis 7.5 The format of the specified network name is invalid – IIS Error 0x800704BE
How to backup your perfmon counters
The easiest way to backup your perfmon counters is to use the lodctr tool
Registers new Performance counter names and Explain text for a service or device driver, and saves and restores counter settings and Explain text.
Syntax lodctr [\\ComputerName] FileName [/s:FileName] [/r:FileName] Example lodctr /s:”perf backup1.txt” . . . → Read More: backup perfmon counters
Howto Convert a ESXv5 to ESXv4 VM
This details the steps needed to convert a machine from ESXv5 to ESXv4
Convert OVA to VMX On ESXv5 Machine, Export the VMWare ESX5 Machine to OVF (File -> Export -> Export OVF Template) Download ovftool
Convert ova to vmx (ignoring manifest errors)
ovftool sourefile.ova destfile.vmx (make sure . . . → Read More: Howto Convert a ESXv5 to ESXv4 VM
Problem You hate magnify.exe yet you are unable to delete magnify.exe Solution Take ownership of magnify.exe Move it to a new filename Celebrate i_hate_magnify.bat takeown /f “%windir%\system32\Magnify.exe” && icacls “%windir%\system32\Magnify.exe” /grant administrators:F echo “Took ownership of Magnify.exe!” move “%windir%\system32\Magnify.exe” “%windir%\system32\Magnify.exe.ihateyou” pause
callee rc: co_e_server_exec_failure (0×80080005)
When starting Virtualbox 4.2.10 on Windows 7 I was encountering this error
Failed to create the VirtualBox COM object. The application will now terminate. Callee RC: CO_E_SERVER_EXEC_FAILURE (0×80080005) Cause
The problem is the %HOME%/.VirtualBox directory
To resolve the issue I followed these steps
Killed any VirtualBox .exe files . . . → Read More: SOLVED – callee rc: co_e_server_exec_failure (0×80080005)
I wanted to be able to run a bat file as administrator in order to have an easy shortcut to edit my windows hosts file. Here’s what I found
Shortcut to edit windows hosts file as Admin Creating the batch file
Paste this in a new notepad file and save it somewhere as hosts.bat
takeown . . . → Read More: bat file as administrator
The easiest way to get curl on windows with HTTPS is to simply download and install the git package then add
c:\Program Files (x86)\Git\bin
as an environment variable to allow you to run curl from anywhere.
Don’t forget when running curl commands in a DOS prompt to use double quotes.
curl https://www.cloudflare.com/api_json.html -d “a=fpurge_ts” . . . → Read More: curl on windows with https