Jump to content


anyweb

Root Admin
  • Posts

    9182
  • Joined

  • Last visited

  • Days Won

    366

Everything posted by anyweb

  1. hi guys, please take a moment to read this uservoice, I can see a lot of people gettng problems due to this requirement and it's not checked for currently - if you vote for this then it's likely that Microsoft will fix it:- https://configurationmanager.uservoice.com/forums/300492-ideas/suggestions/10997490-modify-the-configuration-manager-prerequisites-che thanks ! cheers niall
  2. search for smsts*.log and app*.log and attach them here zipped (for starters)
  3. can you attach your logs please ? including the netsetup.log
  4. are you running the script as system or as the logged in user, by the sounds of it you are running it as system when you should be running it as the logged in user...
  5. I hope you are aware that this software (System Center Configuration Manager version 1511) went GA yesterday, it takes a lot of time (and effort) to write the guides ! you have a number of options, do a site backup (content and db) and then install the new site with the same computer name, once installed do a site restore, or use the migration feature to migrate what you want from one site to the other. The following guide should give you enough ideas of how a migration is done. http://www.windows-noob.com/forums/topic/4926-using-sccm-2012-rc-in-a-lab-part-14-performing-a-side-by-side-migration-from-configuration-manager-2007/ I'm separating your post into it's own topic.
  6. while Server 2008 R2 is currently supported, it is deprecated and planned to be removed from support in 12 months with SCCM current branch. See https://technet.microsoft.com/en-us/library/mt628077.aspx.
  7. Introduction Microsoft have been hard at work developing the next version of Configuration Manager (after System Center 2012 Configuration Manager). Up until now they've released a bunch of Technical Previews and today they've announced the General Availability of the RTM release, along with it's official name: System Center Configuration Manager and Endpoint Protection (version 1511). The version used in the product name specifies the YY/MM (year/month) that it was released. Note: There is a newer version of this guide which uses Server 2016, SQL Server 2016 and SCCM 1606CB here. This release is the first Current Branch release of Configuration Manager. This release has the ability to update itself based on your choices (Software as a Service SAAS) so as Microsoft releases newer versions of Configuration Manager to the Enterprise in the coming years, the Current Branch version identifier will change too (for example to 1607, 1611, 1702 etc). This is explained in Brad's post here. This long and detailed post will guide you through installing System Center Configuration Manager version 1511 using some automation via scripts, and you get to choose between two installation methods, manual or unattended. Regardless of what method you use to install ConfigMgr, this guide will configure everything correctly so that your environment is ready to manage all devices and to do Windows 10 servicing via Software Update Management, which is a topic that will be covered in a later post. Lastly, the guide looks at the Service Connection Point role settings, how you can change them and how to configure Usage Data. Technet Reading You can read the release notes for System Center Configuration Manager version 1511 here. Recommended hardware for System Center Configuration Manager here. Supported operating systems for sites and clients for System Center Configuration Manager here. Support for SQL Server versions for System Center Configuration Manager here. Support for Active Directory domains for System Center Configuration Manager here. Support for Windows features and networks in System Center Configuration Manager here. Support for Virtualization Environments for System Center Configuration Manager here. Assumptions In this guide I assume you have already installed two servers running Server 2012 R2 as listed below, I also assume you have some knowledge of PowerShell, if you don't, start learning it now ! AD1 Active directory domain controller with DNS, DHCP IPv4 Address: 192.168.5.1 Subnet Mask: 255.255.255.0 Default Gateway: 192.168.5.199 CM01 Configuration Manager server, joined to the domain. IPv4 Address: 192.168.5.2 Subnet Mask: 255.255.255.0 Default Gateway: 192.168.5.199 Smoothwall (optional) A Linux firewall running on 192.168.5.199 purely for sharing internet into these vm's. Scripts used in this guide The scripts used in this guide are available at the bottom of the guide in the Downloads section, download them before beginning and extract them to C:\Temp on your ConfigMgr server. Step 1. Define some GPO's Note: Perform the following on the Active Directory Domain Controller server (AD1) as Local Administrator To allow SQL to replicate data, open the following TCP ports in the Configuration Manager firewall, 1433, 4022. You can do this by targetting your ConfigMgr servers with a GPO. To create the GPO do as follows. Start the Group Policy Management tool (GPMC.MSC) and create a new GPO. Note: In the preceding screenshot I link the GPO to the domain GPO however you should consider creating an OU specifically for your Configuration Manager servers and target this GPO only to that OU (your Configuration Manager servers require this GPO for SQL replication). Give the GPO a name such as SQL Ports for System Center Configuration Manager. When done, right click on the GPO and choose Edit. Select Computer Configuration, Policies, Windows Settings, Security Settings, Windows Firewall with Advanced Security and select Inbound Rules, choose New Rule and follow the wizard for opening up TCP port 1433 as per this guide on Technet. Once done, repeat the above for TCP Port 4022. Optional: Once the above is done, and if you intend on using the PowerShell script in Step 2 to create users and to make a user a local admin on the CM01 server, create another GPO called Allow Inbound File and Printer sharing exception which sets Windows Firewall: Allow inbound file and printer sharing exception to Enabled. This policy is located in Computer Configuration, Administrative Templates, Network, Network Connections, Windows Firewall, Domain Profile. Once done, apply the GPO's by running gpupdate /force on CM01. Step 2. Create users Note: Perform the following on the Active Directory Domain Controller server (AD1) as Local Administrator You can do this step manually or automated using the supplied PowerShell script. To create users manually, add the following users in AD using Active Directory Users and Computers: * <your user name>, a domain user, this user will become a local administrator on CM01 * Testuser, a domain user * CM_BA, used for building ConfigMgr created images * CM_JD, used for joining computers to the domain * CM_SR used for reporting services. * CM_CP, a domain user used when installing the Configuration Manager Client for Client Push. * CM_NAA, a domain user, (Network Access Account) used during OSD To create users automatically, use the Create Users Usergroups and OU in AD.ps1 PowerShell script Copy the script to AD1, start Windows PowerShell ISE as Administrator and open the Create Users Usergroups and OU in AD.ps1 script. Edit the variables as desired before running. Note: You need to edit the script and adjust the variables to your liking, for example if you want to change the default password. You may also want to rem out the MDT and MBAM user/groups that are created and change some of the user names within the script. After running the PowerShell script in Windows PowerShell ISE you'll see something like the following. and in Active Directory Users and Groups you can see the OU and structure it has created. Step 3. Create the System Management Container Note: Perform the following on the Active Directory Domain Controller server (AD1) as Local Administrator Open ADSI Edit, click on Action, Connect To and click Ok, Double Click on Default Naming Context and the DC= that appears below it. Click on the + and scroll down to CN=System. Right Click on CN=System and choose New, Object, choose Container from the options, click Next and enter System Management as the value as shown below Step 4. Delegate Permission Note: Perform the following on the Active Directory Domain Controller server (AD1) as Local Administrator Open Active Directory Users and Computers. Click on view, select Advanced Features. Select the System Management Container, and right click it, choose All Tasks and Delegate Control. When the Welcome to Delegation of Control Wizard appears click next, then click Add. click on Object Types, select Computers. Type in your Configuration Manager server name (CM01) and click on Check Names, it should resolve. Click Ok, then Next. Choose Create a Custom Task to Delegate, click next, make sure This folder, existing objects in this folder and creation of new objects in this folder is selected. Click next, select the 3 permissions General, Property-Specific and Creation-deletion of specific child objects are selected then place a check mark in Full Control. Tip: Repeat the above for each site server that you install in a Hierarchy. Step 5. Install Roles and Features on CM01 Note: Perform the following on the Configuration Manager server (CM01) as a Local Administrator To support the various features in System Center Configuration Manager, the setup wizard requires some Server Roles and Features pre-installed on CM01, so let's go ahead and install them. On CM01, login as the username you added to the Local Administrators group and navigate to C:\Temp. The XML files within the Scripts Used in This Guide.zip were created using the Export Configuration File option in Server Manager after manually installing roles and features and the accompanying PowerShell script simply installs it. Note: Make sure your Server 2012R2 media is in the drive specified in the script or edit the script to point to the location of the media. To install the roles and features needed, start Windows Powershell ISE as Administrator and run the install roles and features.ps1 script. Step 6. Download and install Windows ADK 10 Note: Perform the following on the Configuration Manager server (CM01) as a Local Administrator The ConfigMgr prerequisite checker will check for various things, including ADK components such as USMT and Windows Preinstallation Environment (amongst others), therefore you need to install Windows ADK on your server. To do so, either download ADKsetup from here and manually install it or run the setup ADK and WDS.ps1 PowerShell script to download and install the correct components for you. This script not only downloads the components needed, it's also installs ADK 10 and then installs Windows Deployment Services. The setup ADK and WDS.ps1 PowerShell script is available in the Scripts Used in this Guide zip file. Note: due to issues with Windows ADK 10 for build 1511,I'm using the original Windows 10 ADK in the download script. Update: ADK 1511 has got a hotfix (March 2nd, 2016) to fix the previous issues, please read the updated blog about that here. To download and then install Windows ADK 10 with the components needed, start Windows Powershell ISE as Administrator and run the setup ADK and WDS.ps1 script. Step 7. Install SQL on CM01 Note: Perform the following on the Configuration Manager server (CM01) as a Local Administrator Tip: If you want to get some great advice from a former SQL MVP (but now ECM MVP) about how to properly setup SQL and best practice tips, please review this blog post from Steve Thompson. Before you install the Configuration Manager you need SQL installed, both SQL Server 2012 and SQL Server 2014 are supported however you will use the latest release in this guide which is SQL 2014. I used the following release from MSDN for this guide, however you should use Volume License media in production:- en_sql_server_2014_standard_edition_with_service_pack_1_x64_dvd_6669998.isoThe command line below will install SQL Server with the correct collation needed for ConfigMgr to the following location: C:\Program Files\Microsoft SQL Server. If you don't want to use that location you can change it by modifying the /INSTANCEDIR reference. In addition, make sure to place your SQL Server 2014 media in the appropriate drive before running the script, if it's on a different drive letter, modify D:\setup.exe accordingly. To start the install, open an administrative cmd prompt on CM01 and change "windowsnoob\niall" to match your domain\username, after you've made the edit, press enter to install SQL Server 2014. D:\setup.exe /q /ACTION=Install /ERRORREPORTING="False" /FEATURES=SQLENGINE,RS,IS,SSMS,TOOLS,ADV_SSMS,CONN /INSTANCENAME=MSSQLSERVER /INSTANCEDIR="C:\Program Files\Microsoft SQL Server" /SQLSVCACCOUNT="NT AUTHORITY\System" /SQLSYSADMINACCOUNTS="BUILTIN\ADMINISTRATORS" "windowsnoob\niall" /SQLSVCSTARTUPTYPE=Automatic /AGTSVCACCOUNT="NT AUTHORITY\SYSTEM" /AGTSVCSTARTUPTYPE=Automatic /RSSVCACCOUNT="NT AUTHORITY\System" /RSSVCSTARTUPTYPE=Automatic /ISSVCACCOUNT="NT AUTHORITY\System" /ISSVCSTARTUPTYPE=Disabled /ASCOLLATION="Latin1_General_CI_AS" /SQLCOLLATION="SQL_Latin1_General_CP1_CI_AS" /TCPENABLED="1" /NPENABLED="1" /IAcceptSQLServerLicenseTerms For a list of options for installing SQL Server 2014, see this page on Technet: https://technet.micr...v=sql.120).aspx Once installed, you should see success messages like below, if not, troubleshoot the errors and/or review your command line for typos. Step 8. SQL Memory Configuration Note: Perform the following on the Configuration Manager server (CM01) as a Local Administrator Depending on your memory configuration and server setup, you may also want to configure SQL memory limits as per the following guidance prior to installing ConfigMgr otherwise you'll get warnings in the Prerequisite checker when it runs the Server Readiness checks. Configuration Manager requires SQL Server to reserve a minimum of 8 gigabytes (GB) of memory for the central administration site and primary site and a minimum of 4 gigabytes (GB) for the secondary site. This memory is reserved by using the Minimum server memory setting under Server Memory Options and is configured by using SQL Server Management Studio. For more information about how to set a fixed amount of memory, see here. If your SQL Server is configured for unlimited memory usage, you should configure SQL Server memory to have a maximum limit. Based on this guidance I've configured the SQL Server memory for this standalone primary as follows: Step 9. Restart the Server Note: Perform the following on the Configuration Manager server (CM01) as a Local Administrator Open an administrative command prompt and issue the following command: shutdown /r Step 10. Getting ready for Windows 10 servicing Note: Perform the following on the Configuration Manager server (CM01) as a Local Administrator Microsoft recently blogged about an Important update for WSUS 4.0 (KB 3095113). This update allows WSUS 4.0 to use the new Upgrades classification in WSUS 4.0 (Windows Server 2012R2). Failure to install the hotfix will mean that WSUS will not have the Upgrades Classification even though ConfigMgr version 1511 will show this classification in the SUP properties. In addition, this hotfix is mandatory to support Windows 10 servicing via Software Update Management. Before you can install the hotfix however you need a bunch of prerequisite updates and feature packs installed and then you need to install WSUS 4.0. The order of the installation of these updates is important too so I'm listing it here. The installation of some of these updates involve restarts. The installation of the WSUS 4.0 (KB 3095113) will take place immediately after installing WSUS 4.0 and is covered in the next step. Note: In this guide I assume you've not yet installed any updates on your server and you are setting things up from Windows Server 2012R2 media (the original release of Server 2012R2). If you are trying this on a server that is already updated via Windows Update, then some of the updates below may already be installed or superseded. However if that is the case, try and install any remaining updates in the same order as below. In addition, if you are using Server 2012R2 with Update media, then you'll only need to install the first two in the list below. You will need to download both KB2919442 and KB2919355 , make sure to download all the files within that Cumulative Update and Feature Pack release, The correct installation order is as follows, remember that you cannot install KB3095113 until after WSUS 4.0 is installed:- KB2919442 clearcompressionflag.exe KB2919355 KB2932046 KB2959977 KB2937592 KB2938439 KB2934018 Step 11. Install the WSUS role Note: Perform the following on the Configuration Manager server (CM01) as a Local Administrator Now that SQL server is installed, we can utilize that for the WSUS database. To install WSUS and configure it to use the SQL servers database instead of the Windows Internal Database, do as follows: Browse to the location where you extracted the scripts, C:\Temp Start Windows PowerShell ISE as administrator, edit the Post Install Line and replace CM01 with the ServerName your are installing ConfigMgr on (SQL server) Then run the install roles and features_WSUS.ps1 script. Finally, you can install the WSUS Upgrades Classification hotfix. KB 3095113 Restart the server when prompted to do so. Note: Even though you have installed the Hotfix required to do Windows 10 servicing, the WSUS classifications will not display the Upgrades classification until the ConfigMgr Software Update Point has performed a successful sync. Step 12. Download and extract the content Note: Perform the following on the Configuration Manager server (CM01) as a Local Administrator To install System Center Configuration Manager version 1511 you'll need to download the content. You can download it from Microsoft's Volume license site for use in production or from MSDN for use in a lab. For the purposes of this guide I used the following content from MSDN. This iso is named mu_system_center_configuration_manager_version_1511_x86_x64_dvd_7295963.iso and is 1.20GB in size. The VLSC content is called System Center Config Mgr Client Mgmt License (current branch). Once downloaded, I mounted the ISO in Windows File Explorer and copied the contents to C:\ConfigMgrSources\SCCMversion1511 Step 13. Download the ConfigMgr Prerequisites Note: Perform the following on the Configuration Manager server (CM01) as a Local Administrator You can download the prerequisites during ConfigMgr setup or in advance. As you'll probably want to install more than one copy of ConfigMgr (one lab, one production) it's nice to have the prerequisites downloaded in advance. To do that, open a command prompt with administrative permissions and navigate to the following folder: C:\ConfigMgrSources\SCCMversion1511\smssetup\bin\X64 Run the following line SetupDL.exe C:\ConfigMgrSources\Downloads Tip: Browse to C:\ConfigMgrSources\SCCMversion1511\SMSSETUP\TOOLS and double click on CMTrace.exe, answer Yes to the default logging question. Then, using Windows File Explorer, browse to C:\ and double click on ConfigMgrSetup.log which will open the log file in CMTrace. This will allow you to view any errors or problems with the download of the prerequisites in real time. Step 14. Extend the Schema Note: Perform the following on the Domain controller server (AD1) as Administrator. You do not have to extend the Active Directory schema if it was already extended for Configuration Manager previously. Using Windows File Explorer on the Active Directory Domain Controller, browse to \\<server>\c$\ConfigMgrSources\SCCMversion1511\SMSSETUP\BIN\X64 where <server> is your ConfigMgr server locate extadsch.exe, right click and choose Run As Administrator. A command prompt window will appear briefly as the schema is extended, check in C:\ for a log file called ExtADSch.log it should look similar to this Step 15. Install Configuration Manager version 1511 manually Note: Perform the following on the Configuration Manager server (CM01) as a Local Administrator There are two ways to install ConfigMgr, manually using the ConfigMgr setup wizard or unattended. To install it manually use the settings below To do an unattended install jump to the next step. Browse to C:\ConfigMgrSources\SCCMversion1511 and click on Splash.HTA, notice the version number is clearly listed ! click on Install and then click on Next Note: In this release, you now have the option to install a Standalone Primary (recommended) or a CAS. If running setup on an already installed site (such as Configuration Manager 2012 R2) you will be offered the Upgrade option. Select the option to Use typical installation options for a stand-alone primary site and click on Next. You'll be prompted with a note, read it before clicking on Yes. Next you get to install the licensed or evaluation version (180 days) of the product, choose your version and click on Next. read the EULA and agree to the terms to continue accept the license terms for SQL server express and Silverlight select previously downloaded files and provide the following path C:\ConfigMgrSources\Downloads before clicking on Next fill in your Site Code, Site name, Installation Folder and then click Next Note: Change the Site Code, Site Name and Installation Folder to values that suit your environment, you can't change them later so think before clicking next. review the Usage Data screen, this gives you info about what data Microsoft collects and how you can change the User Data levels and settings choice at a later stage from within the ConfigMgr Console. Next you get to decide about the Service Connection Point setup, this is required if you want to allow ConfigMgr to check for updates to avail of new features and inform you about those updates (much like Intune Extensions show up in ConfigMgr 2012 R2 with Microsoft Intune integrated) and this role is the basis of ConfigMgr as a Service. finally, review your Settings Summary and if you followed this guide correctly all prerequisite rules pass successfully. Click on Begin Install to start the installation and click on View Log in the lower left corner (or use Windows File Explorer and open C:\ConfigMgrSetup.log) to bring up the log file in CMTrace so you can see the installation progress (or issues encountered) in real time....perhaps now is a good time for a coffee or some other suitable beverage ;-) and after a while you are done ! Click on close. You should now restart the Configuration Manager server via an administrative command prompt, enter the following: shutdown /r Step 16. Install Configuration Manager version 1511 unattended Note: Perform the following on the Configuration Manager server (CM01) as a Local Administrator To install ConfigMgr automated (unattended) you need to generate or use a previously created ini file called ConfigMgrAutoSave.ini. The easiest way to generate one is to go through a manual installation as shown in the step above and capture the file after everything is complete. The file will be stored in your %temp% profile as shown below: Below is a sample ConfigMgrAutoSave.ini file created from the above installation choices I made, I've removed the ProductID and SysCenterID values however. [Identification] Action=InstallPrimarySite [Options] ProductID=EVAL SiteCode=P01 SiteName=windows-noob.com Primary Site SMSInstallDir=C:\Program Files\Microsoft Configuration Manager SDKServer=CM01.windowsnoob.lab.local RoleCommunicationProtocol=HTTPorHTTPS ClientsUsePKICertificate=0 PrerequisiteComp=1 PrerequisitePath=C:\ConfigMgrSources\Downloads ManagementPoint=CM01.windowsnoob.lab.local ManagementPointProtocol=HTTP DistributionPoint=CM01.windowsnoob.lab.local DistributionPointProtocol=HTTP DistributionPointInstallIIS=0 AdminConsole=1 JoinCEIP=0 [SQLConfigOptions] SQLServerName=CM01.windowsnoob.lab.local DatabaseName=CM_P01 SQLSSBPort=4022 [CloudConnectorOptions] CloudConnector=1 CloudConnectorServer=CM01.windowsnoob.lab.local UseProxy=0 ProxyName= ProxyPort= [SystemCenterOptions] SysCenterId= [HierarchyExpansionOption] You can find a copy of the above file in the Scripts Used in This Guide.zip file. Note: You will need to edit this file and replace the values with those that work in your environment. For example, to change the ProductId open the file in notepad, locate the line that reads ProductID= and either enter your ConfigMgr Product Key or use the evaluation version of ConfigMgr by entering the word EVAL as shown below. To start an unattended install using the ini file do as follows. Save any changes you have made to the file, then copy the file to C:\ConfigMgrSources. Once copied, start the unattended install by running the following command: SCCMversion1511\SMSSETUP\bin\X64\Setup.exe /script C:\ConfigMgrSources\ConfigMgrAutoSave.ini as the install is unattended you'll need to review the ConfigMgrSetup.log file stored in the root of C: using CMTrace to get a real time status of the installation. and after a period of time if all went well you'll see this in the log file However you should open the main log (more than likely renamed to ConfigMgrSetup.LO_) file to verify there were no issues during setup. The above is great for doing unattended installs of ConfigMgr however If you want to automate this using PowerShell then you'll need to write your own script to convert the required values to variables or take a look at Johan Arwidmark's excellent hydration kit(s) or have a look at this sample to get you started on writing that script. Note: You'll have to tweak these scripts to suit your environment and to work with this release of Configuration Manager, however, the ini file I've provided should be enough to get you started. Step 17. Launch the Configuration Manager console Note: Perform the following on the Configuration Manager server (CM01) as a Local Administrator Launch the Configuration Manager console via the start screen and click on the white downward pointing arrow in the top left of the console then click on About Configuration Manager, notice the version info, and that it says Version 1511. Next, take a look at the top line of the ConfigMgr console to reveal whether you are running a licensed or evaluation version. Below is how the evaluation version will appear. Step 18. Configure Usage Data settings Note: Perform the following on the Configuration Manager server (CM01) as a Local Administrator Earlier in this guide you saw a Usage Data information screen with no configurable options. To configure what Usage Data is sent to Microsoft do as follows. In the ConfigMgr Console, click on the white downward pointing arrow in the top left, and select Usage Data from the options available. there are three levels shown, Basic, Enhanced (default) and Full. Make your choice and click on OK You can click on the two clickable links provided to get more info about what these Usage Data settings and levels mean. Learn more about Usage Data levels and settings - http://go.microsoft.com/fwlink/?LinkID=626566 Privacy Statement for Configuration Manager - http://go.microsoft.com/fwlink/?LinkID=626527 Step 19. Configure Service Connection Point Note: Perform the following on the Configuration Manager server (CM01) as a Local Administrator During setup you have the choice of installing the Service Connection Point role (or skipping it). You can configure this by selecting Administration, Servers and Site System roles, select your Primary site and then select the Service Connection Point role from the roles listed as installed on the server. The options available are Online or Offline. If you do choose offline then you'll have to use the Service Connection Point tool to manually setup the role and configure notifications. Summary Over the years Microsoft has evolved Configuration Manager to become a single-pane-of-glass for managing all devices and in addition they've finally delivered Configuration Manager as a Service to match Windows 10 as a Service. To quote some key points from Brad, this release when Integrated with Microsoft Intune will allow you to: Update ConfigMgr easily each and every time new Windows capabilities are released. Update ConfigMgr each and every time updates for iOS and Android are released. Deliver the single-pane-of-glass for managing all devices – with immediate support across Windows, iOS and Android without you having to go through complex individual upgrades. We’ll do the work for you. Exciting times are ahead ! thanks for reading, and until next time, adios. Related Reading What's New in System Center Configuration Manager (Current Branch) - https://technet.microsoft.com/en-us/library/mt622084.aspx How to delete upgrades in WSUS https://blogs.technet.microsoft.com/sus/2016/01/29/how-to-delete-upgrades-in-wsus/ Downloads You can download a Microsoft Word copy of this guide (dated 2015/12/08) here: Installing SCCM version 1511 windows-noob.com guide.zip You can download a copy of the scripts used in this guide here: Scripts Used In This Guide.zip Next Post > Configuring Discovery.
  8. System Center Virtual Machine Manager (or SCVMM) is a fantastic product, with many powerful features, that makes our lives as virtualization administrators much easier day to day. However, not all of us have the benefit of being able to make good use of it for a variety of reasons. SCVMM can be brutally complex if you only need to use small parts of it, and let’s face it, not all of us can afford the astronomical price tag. The sad part about this revelation is the fact that many of us miss out on some great features because of this. SCVMM includes things like service templates: the ability to deploy an entire collection of VM templates at once, and automatic cluster load balancing. Both of these are immensely helpful features! There is good news however! Even though we miss out on some automation potential if we’re lacking SCVMM in our environment, we still have a great tool at our disposal to do some of the same things, PowerShell! PowerShell is a great utility for automation and scripting, and it can be leveraged quite handily for use with Hyper-V and virtual machines. With that said, Altaro Software is putting on a webinar on “Scripting and Automation in Hyper-V without SCVMM”. This webinar will be hosted by Andy Syrewicze, and presented by Thomas Maurer, both of whom are Cloud and Datacenter Management MVPs with Microsoft for contributions to the Hyper-V community. Information will be presented in this webinar that will get you automating and scripting in Hyper-V in no time, and will allow you to put up your feet and let PowerShell do the work. Registration link can be found HERE. Disclaimer: Altaro software is a windows-noob.com recommends parntner.
  9. what version of ConfigMgr are you running, and what CU's are applied.
  10. first thing first, check my post here http://www.windows-noob.com/forums/index.php?/topic/12852-how-can-i-upgrade-to-system-center-2012-r2-sp1-with-mdt-2013-update-1-integrated/and tell me did you follow it or possibly miss any points?
  11. the boot images are created when you install ConfigMgr, are you saying you had none present ?
  12. you can only boot from usb if the usb key is formatted fat32 and with a 64bit boot image, that is because the device (sp4) is uefi and 64bit hardware if you follow my guide here you'll have it imaged in no time at all.
  13. not everyone wants to or should forget about using applications, as they do provide way more options than the legacy packages provide, start by figuring out why the application is failing to install, the logs should reveal the reason, then resolve it and try again.
  14. are you installing apps as applications or packages, if as packages include your smsts.log if as apps include the appenforce.log
  15. did you verify that the reg load, inject, reg unload steps (three) all completed successfully in smsts.log, using a pause as explained here will help
  16. just download the driver package from support.lenovo.com use the MTM number for model detection both on the site and in the apply driver package step as detailed in this post
  17. you had a typo above @ instead of '. I use ". so it could be that.... just a typo
  18. SELECT * FROM Win32_ComputerSystem WHERE Model Like "%Surface Pro 3%" or model like "%Surface Pro 4%" works fine for me
  19. no because the PowerShell takes place outside of WinPE but in the OS.
  20. sounds like a bug, have you posted it on uservoice/connect ?
  21. Introduction Microsoft have been hard at work developing the next release of Configuration Manager, and you can test the 4th iteration of it now, called System Center Configuration Manager and Endpoint Protection Technical Preview 4. This post will guide you through installing it from scratch using some automation via scripts. New Features New features in this technical preview include: Mobile Device management (MDM): enhanced feature parity with Intune standalone – With this technical preview, many of the MDM features that are supported via Intune standalone (cloud only) are also enabled for Configuration Manager integrated with Intune (hybrid). We will publish additional information later this year about the specific capabilities which will be supported with a hybrid deployment. Integration with Windows Update for Business – With Technical Preview 4, you have the ability to view the list of devices that are controlled by Windows Update for Business. Certificate provisioning for Windows 10 devices managed via on-premises mobile device management Limitations Note that this evaluation is limited as described below: Each install remains active for 60 days before it becomes inactive. English is the only language supported. Only a stand-alone primary site is supported. There is no support for a central administration site, multiple primary sites, or secondary sites. Only the following versions of SQL Server are supported: SQL Server 2012 with cumulative update 2 or later SQL Server 2014 The site supports up to 10 clients, which must run one of the following: Windows 7 Windows 8 Windows 8.1 Windows 10 There is no support for upgrade to this preview build. There is no support for upgrade to a later build from this preview build. Only the following install flags (switches) are supported: /silent /testdbupgrade There is no support for migration to or from this preview build. Assumptions In this guide I assume you have already installed two servers running Server 2012 R2 as listed below, I also assume you have some knowledge of PowerShell, if you don't, start learning it now ! AD1 Active directory domain controller with DNS, DHCP. IPv4 Address: 192.168.5.1 Subnet Mask: 255.255.255.0 Default Gateway: 192.168.5.199 CM01 Configuration Manager server, joined to the domain. IPv4 Address: 192.168.5.2 Subnet Mask: 255.255.255.0 Default Gateway: 192.168.5.199 I've a Smoothwall Linux firewall running on 192.168.5.199 sharing internet into these vm's. Make sure you have a copy of SQL Server 2014 ready to install as that is the version used in this guide. Step 1. Define some GPO's Note: Perform the following on the Active Directory Domain Controller server (AD1) as Local Administrator To allow SQL to replicate data, open the following TCP ports in the Configuration Manager firewall, 1433, 4022. You can do this by targetting your ConfigMgr servers with a GPO. To create the GPO do as follows. Start the Group Policy Management tool (GPMC.MSC) and create a new GPO. Note: In the example screenshot below I link the GPO to the domain GPO however you should consider creating an OU specifically for your Configuration Manager servers and target this GPO only to that OU (your Configuration Manager servers require this GPO for SQL replication). Give the GPO a name such as SQL Ports for System Center Configuration Manager. When done, right click on the GPO and choose Edit. Select Computer Configuration, Policies, Windows Settings, Security Settings, Windows Firewall with Advanced Security and select Inbound Rules, choose New Rule and follow the wizard for opening up TCP port 1433 as per this guide on Technet. Once done, repeat the above for TCP Port 4022. Optional: Once the above is done, and if you intend on using the PowerShell script in Step 2 to create users and to make a user a local admin on the CM01 server, create another GPO called Allow Inbound File and Printer sharing exception which sets Windows Firewall: Allow inbound file and printer sharing exception to Enabled. This policy is located in Computer Configuration, Administrative Templates, Network, Network Connections, Windows Firewall, Domain Profile. Once done, apply the GPO's by running gpupdate /force on CM01. Step 2. Create users Note: Perform the following on the Active Directory Domain Controller server (AD1) as Local Administrator You can do this manually, or automated using the supplied PowerShell script. To create users manually, add the following users in AD using Active Directory Users and Computers * <your user name>, a domain user, this user will become a local administrator on CM01 * Testuser, a domain user * CM_BA, used for building ConfigMgr created images * CM_JD, used for joining computers to the domain * CM_SR used for reporting services. * CM_CP, a domain user used when installing the Configuration Manager Client for Client Push. * CM_NAA, a domain user, (Network Access Account) used during OSD or use the supplied PowerShell script Create Users Usergroups and OU in AD.zip Download and the unzip the script, run it by opening Windows PowerShell ISE as Administrator on AD1. You may need to edit the script and adjust the variables to your liking for example if you want to change the default password, you may also want to rem out the MDT and MBAM user/groups that are created and change some of the user names within. After running the PowerShell script in Windows PowerShell ISE you'll see something like the following. and in Active Directory Users and Groups you can see the OU and structure it created Step 3. Create the System Management Container Note: Perform the following on the Active Directory Domain Controller server (AD1) as Local Administrator Open ADSI Edit, click on Action, Connect To and click Ok, Double Click on Default Naming Context and the DC= that appears below it. Click on the + and scroll down to CN=System. Right Click on CN=System and choose New, Object, choose Container from the options, click Next and enter System Management as the value as shown below Step 4. Delegate Permission Note: Perform the following on the Active Directory Domain Controller server (AD1) as Local Administrator Open Active Directory Users and Computers. Click on view, select Advanced Features. Select the System Management Container, and right click it, choose All Tasks and Delegate Control. When the Welcome to Delegation of Control Wizard appears click next, then click Add. click on Object Types, select Computers. Type in your Configuration Manager server name (CM01) and click on Check Names, it should resolve. Click Ok, then Next. Choose Create a Custom Task to Delegate, click next, make sure This folder, existing objects in this folder and creation of new objects in this folder is selected. Click next, select the 3 permissions General, Property-Specific and Creation-deletion of specific child objects are selected then place a check mark in Full Control. Tip: Repeat the above for each site server that you install in a Hierarchy. Step 5. Install Roles and Features on CM01 Note: Perform the following on the Configuration Manager server (CM01) as a Local Administrator To support the various features in System Center Configuration Manager, requires some Roles and Features pre-installed on CM01, so let's go ahead and install them. On CM01, login as the username you added to the Local Administrators group and create a folder on C: called temp. Download the following zip file into C:\Temp, the XML file was created using the Export Configuration File option in Server Manager after manually installing roles and features and the accompanying PowerShell script simply installs it. Make sure your Server 2012R2 media is in the drive specified in the script. roles and features and setup ADK.zip Run the script in Windows PowerShell ISE Step 6. Download and install ADK 10 Note: Perform the following on the Configuration Manager server (CM01) as a Local Administrator The Technical Preview prerequisite checker will check for various things, including ADK components such as USMT, Windows Preinstallation Environment, so install it on your server. To do so, either download ADKsetup from here. Or run the following PowerShell script to download and install it for you (including installing Windows Deployment Services). Note: due to issues with Windows ADK 10 for build 1511, i'm using the original Windows 10 ADK in the download script. Step 7. Install SQL on CM01 Note: Perform the following on the Configuration Manager server (CM01) as a Local Administrator Before you install the Configuration Manager you need SQL installed, both SQL Server 2012 and SQL Server 2014 are supported however you will use the latest release, SQL 2014. This line below will install SQL Server with the correct collation needed for ConfigMgr to C:\Program Files\Microsoft SQL Server. If you don't want to use that location you can change it by changing the /INSTANCEDIR in the line listed below in addition, make sure to place your SQL Server 2014 media in D:\ before running the script, if it's on a different drive letter, modify D:\setup.exe accordingly. To start the install, open an administrative cmd prompt on CM01 and change "windowsnoob\niall" to match your domain\username, after you've made the edit, press enter to install SQL Server 2014. D:\setup.exe /q /ACTION=Install /ERRORREPORTING="False" /FEATURES=SQLENGINE,RS,IS,SSMS,TOOLS,ADV_SSMS,CONN /INSTANCENAME=MSSQLSERVER /INSTANCEDIR="C:\Program Files\Microsoft SQL Server" /SQLSVCACCOUNT="NT AUTHORITY\System" /SQLSYSADMINACCOUNTS="BUILTIN\ADMINISTRATORS" "windowsnoob\niall" /SQLSVCSTARTUPTYPE=Automatic /AGTSVCACCOUNT="NT AUTHORITY\SYSTEM" /AGTSVCSTARTUPTYPE=Automatic /RSSVCACCOUNT="NT AUTHORITY\System" /RSSVCSTARTUPTYPE=Automatic /ISSVCACCOUNT="NT AUTHORITY\System" /ISSVCSTARTUPTYPE=Disabled /ASCOLLATION="Latin1_General_CI_AS" /SQLCOLLATION="SQL_Latin1_General_CP1_CI_AS" /TCPENABLED="1" /NPENABLED="1" /IAcceptSQLServerLicenseTerms For a list of options for installing SQL Server 2014, see this page on Technet: https://technet.microsoft.com/en-US/library/dd239405%28v=sql.120%29.aspx Once installed, you should see success messages like below, if not, troubleshoot the error and/or review your command line for typos. Step 8. SQL Memory Configuration. Depending on your memory configuration and server setup, you may also want to configure SQL memory limits as per the following guidance prior to installing ConfigMgr otherwise you'll get warnings when you run the Server Readiness checks. Configuration Manager requires SQL Server to reserve a minimum of 8 gigabytes (GB) of memory for the central administration site and primary site and a minimum of 4 gigabytes (GB) for the secondary site. This memory is reserved by using the Minimum server memory setting under Server Memory Options and is configured by using SQL Server Management Studio. For more information about how to set a fixed amount of memory, see here. If your SQL Server is configured for unlimited memory usage, you should configure SQL Server memory to have a maximum limit. Based on the above recommendations i've configured the SQL Server memory for this standalone primary in my lab as follows: Step 9. Restart the Server open an administrative command prompt and issue the following shutdown /r Step 10. Install the WSUS role Note: Perform the following on the Configuration Manager server (CM01) as a Local Administrator Now that SQL server is installed, we can utilise that for the WSUS database. To install WSUS and configure it to use the database created above, do as follows: browse to the location where you extracted the scripts, C:\Temp Start Windows PowerShell ISE as administrator, then run the install roles and features_WSUS.ps1 script. Step 11. Download and extract the content Note: Perform the following on the Configuration Manager server (CM01) as a Local Administrator You'll need the Technical Preview content in order to install ConfigMgr, and to get it you have to click this link and register (registration is required). Once you have registered you'll be able to download the self extracting exe called SC_Configmgr_SCEP_TechPreview.exe which is 802MB in size. Double click the EXE and let it extract to the default folder C:\SC_Configmgr_SCEP_TechPreview. Step 12. Download the ConfigMgr Prerequisites Open a command prompt with administrative permissions and Navigate to C:\SC_Configmgr_SCEP_TechPreview\smssetup\bin\X64 Run the following line SetupDL.exe C:\Downloads Note: Do not continue until the pre-requisites are downloaded. Step 13. Extend the Schema Note: Perform the following on the Domain controller server (AD1) as Administrator Using Windows File Explorer on the Domain Controller, browse to \\cm01\c$\SC_Configmgr_SCEP_TechPreview\SMSSETUP\BIN\X64 locate extadsch.exe, right click and choose Run As Administrator. A command prompt window will appear briefly as the schema is extended, check in C:\ for a log file called ExtADSch.log it should look similar to this Step 14. Install Configuration Manager Technical Preview 4 Note: Perform the following on the Configuration Manager server (CM01) as a Local Administrator Browse to C:\SC_Configmgr_SCEP_TechPreview and click on Splash.HTA click on Install and then click on Next place a checkmark in Use typical installation options for a stand-alone primary site and click next accept the two pages of EULAs select Use Previously downloaded files and specify C:\Downloads fill in your desired site code and name/path. review your CEIP options and select your Service Connection Point settings (hard coded for now), this is the setting which allows you to decide to keep up to date with Configmgr releases, by being notified about them, or not. You can change the choice later in the console. review the Settings Summary and enjoy the fact that you are following a windows-noob.com guide, so no errors or warnings are reported. Click on Begin Install to install. off it goes... click on View Log to see what's being logged about the install and after a certain period, you are done ! Step 15. Restart the Server open an administrative command prompt and issue the following shutdown /r Step 16. Open the Console Now that everything is installed, open the Configuration Manager console, click on Help, About, here's the version. Download a copy of this guide If you'd like a Microsoft Word copy of this guide download the following (last updated 20, November 2015): Installation of System Center Configuration Manager TP4.zip cheers ! niall
  22. what speed are you getting ? what boot image are you using ?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.