This project is read-only.
  • First install Maik's webservices (v7.3) by following the Directions he has on his WIKI
  • Once Maik’s Webservices are working you can setup this webconsole using the same method.
    • Download the files from this codeplex site

You will need to edit the web.config file included in the webconsole’s files:
Configure Application settings:
The webconsole can be configured by some application settings. These settings define, how it access the necessary information from Maik’s Deployment Webservices.

The following setting will need to be configured for the webconsole to work:

  • SiteServer - The SCCM Server
  • SiteCode - The Root site code
  • ADDomain - The Domain that you are connection to
  • WebService – Enter a link to Maik’s Webservice
  • EmailTo - Enter the user or distribution group you want to email
  • From - Enter who the email is coming from, this does not need to be a real account
  • Subject – Change the subject if needed.

You will also need to change the SNMP section for you environment.


Presently this application is not retrieving the OSD collections and names because we felt is was cleaner to assign them here and give each selection a cleaner name. Please enter the name you would like along with the collection name below. You can add additional chooses beyond the 4 built in but you will need to edit the Form_action.asp file.
You will need to edit the get app sub and modify the form.


  • Selection1 – Enter the value for the first image example : Windows 7 (x86) image with restore
  • Collection1 – Enter the first Collection you will be using Example: ABC00123
  • Selection2 – Enter the value for the second image example : Windows 7 (x86) image no restore
  • Collection2 – Enter the first Collection you will be using Example: ABC00124
  • Selection3 – Enter the value for the first image example : Windows 7 (x64) image with restore
  • Collection3 – Enter the first Collection you will be using Example: ABC00125
  • Selection4 – Enter the value for the first image example : Windows 7 (x64) image no restore
  • Collection4 – Enter the first Collection you will be using Example: ABC00126


The Application Settings can be configured either using the IIS Manager
In IIS 7 or 7.5

  • Open IIS Manager
  • expand the Webserver Node
  • expand the Sites Node
  • expand your Default Web Site
  • click on the Deployment Webservice Folder/Application
  • Click on the Application Settings Icon on the right side


Note: The Application Settings are a bit hard to find in IIS6. You need to :

  • Open IIS Manager
  • Right click the Virtual Directory of the webservice and choose Properties
  • choose the ASP.NET Tab and click on Edit Configuration...
  • find the Application Settings in the lower area of the General Tab


or simply edit them directly in the web.config in notepad

You will also need to turn off anonymous access for the site.

The site contains code that will log the user who is accessing the website for auditing purposes.


Here is an example of the section you will need to edit.


<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">


<!-- #################################################
	The Windows 7 Easy Deployment 
	
	Version:  Release v2.0 
	
	Designed, styled and coded by Christopher Stauffer
      
	If you use this, please give credit where due

	Copyright (c) 2011 Christopher Stauffer
	Originally found at http://myitforum.com/cs2/blogs/cstauffer/

	The Deployment webservices (v7.3) are required to run this website.
	The can be obtained here.
	http://mdtcustomizations.codeplex.com/releases/view/26318
	
	
	#######################################################-->


<configSections>
</configSections>

    <system.webServer>
        <asp appAllowClientDebug="false" />
        <defaultDocument>
            <files>
                <clear />
                <add value="index.html" />
            </files>
        </defaultDocument>
    </system.webServer>
    
    
    
<appSettings>

		<!-- SCCM Server Setting -->

	<add key="SiteServer" value="server.doman.com" />   	        <!-- Enter your server use FQDN -->
	<add key="SiteCode" value="AAA" />                           	<!-- Enter your Site Code -->
	<add key="ADDomain" value="DC=ABC,DC=DEF" />                 	<!-- Enter your Domain as dc=abc,dc=def -->
	<add key="WebService" value="http://Servername/OSD_Deploy" />	<!-- Enter the website for your Maik Webservices -->
	
		<!-- Email settings -->
    
	<add key="EmailTo" value="admingroup@domain.com"/>			        <!-- Enter the user or distribution group you want to email -->
 	<add key ="From" value="SCCM_Cleanup@domain.com" />	            <!-- Enter who the email is coming from, this does not need to be a real account -->
	<add key ="Subject" value="Domain Cleanup" />                 	<!-- Change the subject if needed -->
       
    <!--
    Presently this application is not retrieving the OSD collections and names because we felt is was 
    cleaner to assign them here and give each selection a cleaner name. 
    Please enter the name you would like along with the collection name below.
    
    Only needed if you need more than 4 chooses
    
    You can add additional chooses beyond the 4 built in but you will need to edit the Form_action.aspx file.
    edit the get app sub and modify the form.
    
    
    -->
    
	<add key="Selection1" value=" Windows 7 (x86) image with restore" />
	<add key="Collection1" value="AAA0011F" />                           	  <!-- Enter the your collection ID for your OS that matches the above description -->

	<add key="Selection2" value=" Windows 7 (x86) image no restore" />
	<add key="Collection2" value="AAA00143" />                              <!-- Enter the your collection ID for your OS that matches the above description -->
 	
	<add key="Selection3" value=" Windows 7 (x64) image with restore" />   
	<add key="Collection3" value="AAA0011E" />                             	<!-- Enter the your collection ID for your OS that matches the above description -->
    
	<add key="Selection4" value="Windows 7 (x64) image no restore" />
	<add key="Collection4" value="AAA00144" />                            	<!-- Enter the your collection ID for your OS that matches the above description -->
     
    
    
</appSettings>

<connectionStrings>
</connectionStrings>   


<system.net>
    <mailSettings>
         <!-- SMTP Settings -->
        <smtp deliveryMethod="Network" 
			  from="SCCM_Cleanup@Domain.com">   	<!-- Enter who the email is coming from, this does not need to be a real account -->
            <network
            host="123.456.789.222" 
            port="25"
            defaultCredentials="true"
            /> 			<!-- Enter who the SMTP Server in the Host Field, and change the port if not default 25 -->
        </smtp>
    </mailSettings>
  </system.net>

<system.web>

	<!--
            The <authentication> section enables configuration 
            of the security authentication mode used by 
            ASP.NET to identify an incoming user. 
        -->

		<!-- Security -->
	
	<authentication mode="Windows" />
	<identity impersonate="false"/>

		<!-- Debugging and logging -->
	
	<compilation debug="false"/>
 	<customErrors mode="Off"/>
	<trace enabled="true" 
		   pageOutput="false" 
		   requestLimit="40" 
		   localOnly="false"/>

		
</system.web>

    
</configuration>


You can also edit the Deploy.css to change the default colors of the site.

Last edited Oct 16, 2011 at 5:57 PM by chrstauffe, version 4

Comments

No comments yet.