Note: If you don't give the above permissions, the application pool will crash.
b) Run the following command
The above command with -ga switch grants the following rights to the account:
1. Access to the IIS Metabase
2. Permission to write to the %Windir%\Microsoft.NET\Framework\version\Temporary ASP.NET Files folder