Friday, May 18, 2012

How to add ASP.NET 4.0 as Application Pool on IIS 7, Windows

Chances are you need to install .NET 4 (Which will also take care of a new AppPool for you)
  1. Open your command prompt (Windows + R) and type cmd and press ENTER
    You may need to start this as an administrator if you have UAC enabled.
    To do so, locate the exe (usually you can start typing with Start Menu open), right click and select "Run as Administrator"
  2. Type cd C:\Windows\Microsoft.NET\Framework\v4.0.30319\ and press ENTER.
  3. Type aspnet_regiis.exe -ir and press ENTER again.
    • at this point you will see it begin working on installing .NET's framework in to IIS for you
  4. Close the DOS prompt, re-open your start menu and right click Computer and select Manage
  5. Expand the left-hand side (Services and Applications) and select Internet Information Services
    • You'll now have a new applet within the content window exclusively for IIS.
  6. Expand out your computer and locate the Application Pools node, and select it. (You should now see ASP.NET v4.0 listed)
  7. Expand out your Sites node and locate the site you want to modify (select it)
  8. To the right you'll notice Basic Settings... just below the Edit Site text. Click this, and a new window should appear
  9. Select the .NET 4 AppPool using the Select... button and click ok.
  10. Restart the site, and you should be good-to-go.
(You can repeat steps 7-on for every site you want to apply .NET 4 on as well).

How to Find Out BIOS, Motherboard and CPU info from Command Line

How to Find Out BIOS, Motherboard and CPU info from Command Line

Posted by on October 10th, 2011, in How to and tagged , ,  
 
Sure, there might exists many alternative small utilities that can help you find out your computer’s BIOS info, motherboard info and CPU info. Tools like CPU-Z is a great start to find out your system info, and it does give you plenty information about your system. But if you just want to know some specific information quickly, without knowing if the system has this utility installed or not, there are command line tools you can use to get some of the basic info you want.

Here Is How

First, fire up command prompt (cmd) from start menu.
command_line_get_biso_info
If you want to get info about your system’s BIOS, then type this command
wmic bios get name,serialnumber,version
This will tells you the name if your BIOS, current version and it’s serial number if there is any.
wmic csproduct get name,identifyingnumber,uuid
This command will tell you the system motherboard (that happen to be the name) and it’s UUID
wmic cpu get name,CurrentClockSpeed,MaxClockSpeed
If you want to quickly find out what’s the CPU clock speed, you can do the following, also if you have turbo boost CPUs you can find out what’s the Max Clock Speed your system is capable of for the current configuration. Of course you can always overclock your CPU and that will too reflect the change.
wmic cpu get name,CurrentClockSpeed,MaxClockSpeed /every:1
If you do have dynamic clock speed running, then add this line, will refresh and monitor the Clock speed every 1 second. Or you can set to however you would like.
Nice neat command line utility for some quick lookup.
For more info about wmic command see Microsoft’s documentation.
Credit goes to unlockforus