There is a Free ebook available for download offering from Microsoft Press. These unique (and free) ebooks bring System Center experts together to discuss designing, deploying, and troubleshooting some of the most complex and mission critical aspects of key System Center capabilities.
Tag: Microsoft
Removing Windows 8.1 Built-in Applications
Last year Ben Hunter published a PowerShell script that is designed to remove the built-in Windows 8 applications when creating a Windows 8 image. Well now that Windows 8.1 has been released it must update the PowerShell script to work with Windows 8.1.
The script below takes a simple list of Apps and then removes the provisioned package and the package that is installed for the Administrator. To adjust the script for your requirements simply update the $AppList comma separated list to include the Apps you want to remove. The script is designed to work as part of an MDT or Configuration Manager task sequence. If it detects that you are running the script within a task sequence it will log the to the task sequence folder otherwise it will log to the Windows\temp folder.
I chanced the script a little bit. I don’t want to remove some programs dat Ben Hunter did…
The Script:
<#
************************************************************************************************************
Purpose: Remove built in apps specified in list
Pre-Reqs: Windows 8.1
************************************************************************************************************
#>
#—————————————————————————————————————
# Main Routine
#—————————————————————————————————————
# Get log path. Will log to Task Sequence log folder if the script is running in a Task Sequence
# Otherwise log to \windows\temp
try
{
$tsenv = New-Object -COMObject Microsoft.SMS.TSEnvironment
$logPath = $tsenv.Value(“LogPath”)
}
catch
{
Write-Host “This script is not running in a task sequence”
$logPath = $env:windir + “\temp”
}
$logFile = “$logPath\$($myInvocation.MyCommand).log”
# Start logging
Start-Transcript $logFile
Write-Host “Logging to $logFile”
# List of Applications that will be removed
$AppsList = “microsoft.windowscommunicationsapps”,”Microsoft.BingFinance”,”Microsoft.BingMaps”,`
“Microsoft.BingWeather”,”Microsoft.ZuneVideo”,”Microsoft.ZuneMusic”,”Microsoft.Media.PlayReadyClient.2″,`
“Microsoft.Media.PlayReadyClient.2″,”Microsoft.XboxLIVEGames”,”Microsoft.HelpAndTips”,”Microsoft.BingSports”,`
“Microsoft.BingNews”,”Microsoft.BingFoodAndDrink”,”Microsoft.BingTravel”,”Microsoft.WindowsReadingList”,`
“Microsoft.BingHealthAndFitness”,”Microsoft.WindowsAlarms”,”Microsoft.Reader”,”Microsoft.WindowsSoundRecorder”,”Microsoft.SkypeApp”
ForEach ($App in $AppsList)
{
$Packages = Get-AppxPackage | Where-Object {$_.Name -eq $App}
if ($Packages -ne $null)
{
Write-Host “Removing Appx Package: $App”
foreach ($Package in $Packages)
{
Remove-AppxPackage -package $Package.PackageFullName
}
}
else
{
Write-Host “Unable to find package: $App”
}
$ProvisionedPackage = Get-AppxProvisionedPackage -online | Where-Object {$_.displayName -eq $App}
if ($ProvisionedPackage -ne $null)
{
Write-Host “Removing Appx Provisioned Package: $App”
remove-AppxProvisionedPackage -online -packagename $ProvisionedPackage.PackageName
}
else
{
Write-Host “Unable to find provisioned package: $App”
}
}
# Stop logging
Stop-Transcript
Microsoft Deployment Toolkit 2013 Final
Download from http://www.microsoft.com/en-us/download/details.aspx?id=40796
Microsoft Deployment Toolkit (MDT) 2013 is a Solution Accelerator for operating system and application deployment. MDT 2013 supports deployment of Windows 8.1, Windows 8, Windows 7, Windows Server 2012 R2, Windows Server 2012, and Windows Server 2008 R2.
Feature Summary
- Deploy Windows and Office with Microsoft Deployment Toolkit 2013. MDT is the recommended process and toolset for automating desktop and server deployment. MDT provides you with the following benefits:
- Unified tools and processes, including a set of guidance, for deploying desktops and servers in a common deployment console.
- Reduced deployment time and standardized desktop and server images
Some of the key changes in MDT 2013 are:
- Support for the Windows Assessment and Deployment Kit (ADK) for Windows 8.1. Download final release here
- Support for deployment of Windows 8.1 and Windows Server 2012 R2.
- Support for System Center 2012 R2 Configuration Manager.
- Improved support x86-based Unified Extensible Firmware Interface (UEFI) systems.
Microsoft release a cool tool named Disk cleanup on Windows 7 Sp1
Microsoft released an update yesterday for the Disk cleanup utility. The problem Windows keeps copies of installed updates from Windows Update, even after installing newer version of updates. So the older versions of updates that are no longer needed and taking up space.
In Windows XP era the uninstalls were just hidden folders under Windows directory so easy to clean. Since Windows Vista this is now stored in the Windows Services folder WinSXS.
The space used by WinSXS can grow significant. In the past you could remove Service Pack uninstall files which helped, but Service Packs are not so common anymore. I think Windows 7 will never see SP2, yet the updates keep filling the WinSXS folder every month.
After the update is installed (no reboot needed) and you run Diskcleanup:
and when you click “Clean up system files”
You’ll see new options:
This update of diskcleanup delivers a new option Windows Update cleanup which deletes older versions of updates that are no longer needed and just taking up space.
The update is available through Windows Update as important or direct download at KB article posted below:
Now unfortunately this update is not available for Windows Server 2008 R2, while there are plenty scenarios where cleaning up WinSXS folder is helpful there too!
High CPU usage Windows Update (svchost.exe) in Windows XP SP3
I had to do a fresh Windows XP SP3 installation and Windows Update has been using almost whole CPU. Very strange!
I fixed that problem by installing Microsoft Security Bulletin MS13-069 update from Microsoft web.
Free ebook: Introducing Windows Server 2012 R2 Preview Release
We’re very excited to announce another free ebook offering from Microsoft Press. Introducing Windows Server 2012 R2 Preview Release (ISBN 9780735682931), by Mitch Tulloch with the Windows Server Team, introduces new features and capabilities, with scenario-based advice on how the platform can meet the needs of your business. Get the high-level overview you need to begin preparing your deployment now. This book is based on the Preview release and will be updated to cover Windows Server 2012 R2 RTM.
Download the PDF version of this title here (108 pages, 5 MB). UPDATE: The EPUB format is here and the MOBI format is here.
Watch for the lengthier RTM edition of this ebook later this year!
If you prefer a hard copy of the book, you can order it here.
Exchange 2013 and .NET 4.5 fixes KB2803754 & KB2803755
Microsoft published an important hotfix for .NET 4.5 earlier this year. It wasn’t picked up on by many, therefor a quick write up on the matter.
Since Exchange 2013 is built on top of .NET 4.5, it is recommended to install the hotfix on all Exchange 2013 Mailbox and Multi-Role servers. The hotfix will reduce the memory consumption of the store worker processes.
If you’re using Windows Server 2008 R2, the hotfix is KB2803754 and can be requested here; when using Windows Server 2012 the hotfix is KB2803755 which can be requested here.
After installing the hotfix, you need to do one of the following things:
- Set the following registry key:
HKLM\Software\Microsoft\.NETFramework\DisableRetStructPinning=1 (REG_DWORD) - Set the COMPLUS_DisableRetStructPinning environment variable to 1
I’d prefer the first option. Note that you need to restart the server for the change to become effective.
Thanks to EighTwOne
VMware Workstation 10
VMware Workstation takes virtualization to the next level:
- Support for the latest Guest OS’es like Microsoft Windows 8.1 and various Linux distributions.
- The new hardware version 10 introduces even bigger and better Virtual Machines
Up to 16 vCPUs
64GB of vRAM
8TB disks.
vSATA support has been added
Up to 20 networks can be defined.
Various USB improvements (usb3 stream support, among other things)
SSD pass through makes for better support of the underlying hardware platform. - New Virtual Appliances created with the Workstation team to quickly run various cloud stacks like Pivotal, Puppet Labs and Vagrant.
The team has included various smaller improvements in the product as well:
- Better multi-monitor support for up to 4 screens
- Unity mode has been enhanced to seamlessly work with Windows 8.1 UI changes
- An updated version of VMware Converter has been built in and adds support for P2V’ing a Windows 8.1 machine
- New option to display the VM console using VMware-KVM, a ‘screen-only’ window without any bells or whistles.
Microsoft Lync Server 2013 Protocol Workloads Poster
Supported Reverse Proxy for Lync 2010 & Lync 2013
This lists the server reverse proxy products that have completed solution testing with Lync Server. While any reverse proxy is expected to work with Lync Server, the reverse proxies listed below have completed extensive testing and are posted with detailed deployment white papers to assist in configuration.
Qualified for Lync 2013 & Lync 2010
|
Vendor |
Qualified Product |
Software Version Tested |
Vendor’s Lync Page |
|
Microsoft |
Internet Information Services Application Request Routing (IIS ARR) |
v2.5 |
|
|
Microsoft |
Forefront Threat Management Gateway (TMG) ** |
2010 |
** In November, 2012, Microsoft ceased license sales of Forefront Threat Management Gateway 2010, or TMG. TMG is still a fully supported product, and is still available for sale on appliances sold by third parties.
