Archive

Archive for the ‘Windows Server 2008 R2’ Category

Installation Failed Error Code 135 – When installing SUP in Configuration Manager 2012 SP1

October 12, 2013 Leave a comment

After installing my Configuration Manager 2012 lab in a CAS > Primary hierarchy, confirmed that the replication link was active in Monitoring > Database Replication and then began to install WSUS\SUP to be able to deploy Windows Updates.

I installed WSUS via the Server Manager then installed the SUP on the CAS first then done the same on the primary server the only difference really being that the Primary server points to the CAS (Upstream Server) for Windows updates and the CAS points to Windows Update.

I attempted to synchronise the CAS with Windows updates but I got the following errors.

The SUPSetup.log showed below.

SUPSetup

 

Looking at the above I knew I didn’t install updates WSUS-KB2720211-X64 and WSUS-KB2734608, (these updates are needed with Configuration Manager 2012 SP1) I installed these updates on both the CAS and Primary servers and rebooted then ran a sync and I was able to pull updates from Windows Update on the CAS, the primary then pulled the updates from the CAS.

Below are the errors in the following log files before the updates were installed, after the updates were installed showed the updates synchronising.

Wsyncmgr.log

wsyncmgrERR

 

WCM.log

WCMERR

Unable to Start WDS – Error 1053:


This morning I attempted to PXE boot a laptop, when it failed I decided to do some digging to find out why. One of the troubleshooting step I took was to restart the Windows Deployment Services from the Services MMC console, when I tried I got the below error message.

wds1

I then opened Server Manager and looked at the WDS event logs and found the below.

wds2

wds3

Note: This server does have SCCM installed but no configuration has been done to WDS.

I ran the below syntax via the command line then manually restarted the service again through the MMC console and it worked I was able to PXE boot the laptop.

wdsutil /initialize-server /REMINST:”D:\remoteinstall”

Note: D:\ is the location of the Remoteinstall folder on this server.

wds4

Installing ConfigMgr 2007 SP2

August 25, 2012 Leave a comment

Before the installation I ran the Pre Req check to make sure the installation would not fail for the primary site, however I forgot to take a screenshot.

As part of the Pre-Req check you can install WSUS Server Role, however if you do this do not configure it as configuration is done through the ConfigMgr console. (Post for Installing WSUS Server role)

After clicking Install on the splash screen I got the below.

Click – Next

Place a tick in Install a Configuration Manager Site Server then Click – Next

Accept the License terms and click “Next” (After carefuly reading them)

Click “Custom Settings” then click “Next

Select “primary site” then click “Next

Click on “No, I do not want to participate right now” and click “Next” (Unless you want too!)

Enter the Product Key and click “Next

Select the Installation directory; I selected another HDD to install too. Click “Next

Enter a Site Code (Any three letters) and a site name then click “Next

In my lab I’m running ConfigMgr in Mixed mode (I have no PKI infrastructure setup)

Click “Next

Since I’m not using NAP I unticked the check box, click “Next

Enter in the SQL server and Instance name and click “Next

Since both SQL and ConfigMgr are to be installed on the same server, enter in the server name and click “Next

Click install a Management Point and enter in the FQDN of the Server and click “Next

I’m using the default port in my lab, click “Next

Click Next to download all the updates to another path.

I browsed to a folder I created on C:\ – click “Next

The updates then begin to install. (This may take a few minutes)

Click “Next

Click “Begin Install

Click – Finish (ConfigMgr 2007 is now installed ;-))

Installing Server Roles and Features on Windows Server 2008 R2

August 25, 2012 Leave a comment

Open Server Manager and click on Add Roles Wizard.

Click Next

Click on the Web Server Role then click Next.

Click Next

Application Development install the below services

ASP.NET
.NET Extensibility
ASP
ISAPI Extensions
ISAPI Filters
WebDav Publishing (Missed off the screenshot)

Security:

Windows Authentication

IIS 6 Management Compatibility:

IIS 6 Metabase Compatibility  and IIS 6 WMI Compatibility

Install Remote Differential Compression.

Open Server Manager\Features\Add Features.

Place a tick in Remote Differential Compression and click Next.

Click Install

Click Close

Open Server Manager\Add Feature place a tick in Background Intelligent Transfer Service BITS and click on Add required role services to the below prompt.

Accept the default and complete the installation. (Reboot the server)

Preparing AD for ConfigMgr

August 24, 2012 Leave a comment

To Prepare AD for the SCCM 2007 R3 (SP2) installation follow the below guidelines – LAB

All of the below tasks are carried out using the Homelab.local\Administrator logon. This logon must be a member of the Enterprise Admins and Schema Admins and also be added to the local Administrators group on the purposed SCCM server.

Extending the Schema

  • Take a backup of the Domain Controller, either a snapshot if the DC is in a virtual environment or backup the NTDS.DIT file.
  • Log onto the proposed SCCM server and run the SCCM prerequisite checks from the CD-ROM, one of these checks will check to make sure the Schema has been modified. When you run this it will fail on the Schema check.
  • Open the CD and browse to SMSSETUP\BIN\I386 and locate the “ExtADSch.exe” file, double click this file and it will run through. (Only takes a few seconds)
  • Browse to the root of C:\ and open the “ExtADSch.log” file and look for the line

Successfully extend the Active Directory schema

Creating the System Management Container in AD

  • Log onto the Domain Controller and run ADSI Edit from Administrative Tasks and connect to the domain in which the site server resides. (IMS.local)
  • Expand the Domain (homelab.local), right click “CN=System” click “New” and then click “object”.
  • In the “Create Object” dialog box, select “Container,” and then click Next.
  • In the “Value” box, type “System Management” and click Next.
  • Click Finish

Adding the Computer Object Full Permissions

  • Open Active Directory Users and Computers; make sure the Advanced Features is selected under the View option.
  • Once it is, in the left pane select System and scroll down to the System Management container you created earlier.
  • Right Click and choose Properties, then select the Security tab.

  • Click on Add, then add Object types as in the below screenshot and place a tick box in Computers.

  • Add in the name of the SCCM Server (Computer Object) into the ACL and assign full control then click on Advanced, select the SCCM Server and click on Edit and use the drop down to change the permission from “This Object only” to “Full access to this object and all descendant objects” click OK when done

(Add the computer object into the Security ACL of the System Management folder assigned Full control to this object and ALL CHILD OBJECTS, DO THIS BEFORE THE INSTALLATION OF SCCM)

The link to the Technet article is found here

Installing the Microsoft App-V Management Server

August 22, 2012 Leave a comment

Platform – Windows Server 2008 R2
Version – MDOP 2009 App-V 4.5
Username – Administrator

Pre-Requisites

Install SQL Server 2008 Express x86 (Accept Default settings\instance name)
Enable Named pipes and TCP on SQL Server Network Configuration\Protocols for SQLEXPRESS (Restart SQL Services)
Install the IIS Server role with all default services and the ones below:

ASP.NET
.NET Extensibility
ISAPI Filters
ISAPI Extensions
HTTP Logging
Request Monitor
Windows Authentication
Request Filtering
Static Content Compression
IIS 6 Management Compatibility

Create AD group – AppVUsers and AppVAdmin
Double click on the Setup.exe and click Next

Click Next

Click Next

Click Next

Click Next

Click Next

Note: If your SQL instance and server are not showing in the drop down make sure the SQL Server Browser service is running.

Click – Next

Select “Create a new Database” then click Next.

Click – Next (There is no PKI is my test lab)

Click Next

Enter the admin group we created earlier then click Next.

Click – Next

Click – Next

Click – Install

During the installation I came across the below error message.

The installation program was unable to create the required IIS Virtual directory: Error 25120

The resolution was in install the IIS Management Scripts and Tools feature the run the installation again.
After you have installed App-V Management Server you need to configure the below Windows Firewall options.

Open Windows Firewall and click on Allow program or feature through the firewall and browse to the following files.

Sghwdsptr.exe 
Sghwsvr.exe

The above files are found: C:\Program Files (x86)\Microsoft System Center App Virt Management Server\App Virt Management Server\bin.

Set the shared folder for the AppV Management Console.

Browse to C:\Program Files (x86)\Microsoft System Center App Virt Management Server\App Virt Management Server\content.

Right click and share the Content folder, Share permissions use the two security groups you created earlier.

AppVAdmin – Full Control
AppVUsers – Read

Open the AppV Management server and click on Connect Application Virtualisation System. 

Enter the hostname of the server or localhost and click OK.

The Next Step is to configure the Default Content Path open the App-V Management Server and right click localhost and click on System Options and enter the UNC to the Content share.

Publishing the default Application

Launch the App-V Management Console, expand Applications.

Click on browse and change the paths to the default content share. (See Below)

Click on Access Permissions and confirm AppVUsers is listed.

Click on the Shortcuts tab and click Publish to User’s Desktop and click OK.

Open Windows Explorer and browse to the Content Share and double click DefaultApp.OSD and open with Notepad.

Remove the “S” in RTSPS and change the port from 334 to 554 so it reads – CODEBASE HREF=”RTSP://APPVMDT-SRV:554/DefaultApp.sft” the save the file.

Unable to start WDS – Error Code 2310

August 21, 2012 3 comments

OS: Windows Server 2008 R2

I recently installed the Windows Deployment Service Server Role using Server Manager then rebooted the server. After the restart I noticed that the service was not running, I attempted to start the service manually and got the below error.

I checked both my C:\ and E:\ drives and there was no RemoteInstall folder checked Event Viewer and found the below event.

I opened Server Manager then clicked on the WDS role and found the below event.

I ran the wdsutil /uninitialize-server command but got the below message

“An error occurred while trying to execute the command.
Error Code: 0xc1030104
Error Description: The Deployment server role service for Windows Deployment Services has not been configured on the server”

Even though I have installed the WDS server role from Server Manager.

I then ran wdsutil /initialise-server /reminst:E:\remoteinstall   – E:\remoteinstall the location where I want the WDS folder configured. The command ran successfully and after a server restart I was able to start the Windows Deployment Services.

I checked my E:\ for the remoteinstall folder and it had appeared. (See below)

Event Viewer confirmed the service started successfully.

Since I was planning on using the server for Operating System Deployment with ConfigMgr, I installed the Microsoft Deployment Toolkit 2010 and ran the Configure ConfigMgr Integration addidtional folders appeared.

SMSBoot
SMSIMAGES
SMSTemp

If you’re not using ConfigMgr than the last step is N\A


After installed the PXE Server role with ConfigMgr I checked the pxesetup.log file


Pxecontrol.log file