Friday, August 26, 2016

GPOs - Disabling BitLocker Service Fails via Group Policy Preferences [Solved]




























Today I've came across a strange issue when trying to disable "BitLocker Drive Encryption Service" with Group Policy Preferences (GPP).

Thanks to Helge Klein - Tools for IT Pros website this was really quick to solve!

After some reading, it seems it's related with the service permissions. This can be proven if you navigate to event viewer and you'll see a warning in application event log with an "Access Denied" for the Group Policy Services source.

"Googling" a little more about this, I've found out a way to solve this one.

So, follow theses steps:
  1. First of all, download SetAcl from here
  2. Now run following from the command-line (elevated)
    SetACL -on BDESVC -ot srv -actn ace -ace n:Administrators;p:full
And...it's all done! Now just execute "gpupdate /force" or reboot and then BitLocker Drive Encryption Service will be in "Disabled" state.

BlackViper.com - Known your OS services








Although this website exists for ages, and being known by the deployment and tweaking community for a long time, today, I'd like to show here a very nice resource for everything related with Windows services.

Created and maintained by Charles "Black Viper" Spark, BlackViper.com it's an extensive and comprehensive guide of Windows Services from Windows XP to Windows 10.
It's like having a library listing all possible services with information like, Display Name; Service Name; Default Status; etc.

Black Viper also gives information about the best values for tweaking; which ones are safe values, etc.

There are also some guides for tweaking which are a very nice source of information for that people trying to get best score for benchmarking software.

For me, this website it's mainly used to very very quickly get the service names i'm looking for. All in just one place.


Hope you enjoy it! ;)

Thursday, August 25, 2016

MDT - Showing More Windows PE Features

































In Microsoft Deployment Toolkit (MDT) if you need to add additional features to your boot images, you'll go to your Deployment Share Properties and than you open Windows PE tab and select Features.

Here you'll find all features that Windows PE boot image has available and add/remove them.
For some strange reason there are some missing features here and therefore you aren't able to select them.

Like almost anything in MDT, the list of viewable features are controlled using an XML file,
Now, to show more features that you can add to your Windows PE boot images, follow these steps (assuming you've installed MDT on default install location):

  • Close MDT
  • Navigate to "C:\Program Files\Microsoft Deployment Toolkit\Bin\FeatureNames.XML"
  • Here, you'll find some features with an additional parameter (option="exclude")
  • Remove the option="exclude" tag
  • Save file and launch MDT
  • The "Windows RE Configuration" will now appear on Windows PE features

Note:
This is particularly important if you need to use Windows Powershell feature because some of it dependencies like WMI it's not present on this list by default.

Monday, August 22, 2016

Windows Deployment - Back to Basics - DISM - Drivers Management

Here's a post just to review some basic DISM (Deployment Image Servicing and Management tool) commands that are always useful when managing your base image:

Injecting drivers to boot.wim
DISM.exe /Mount-Wim /WimFile:C:\Mount\boot.wim /Index:1 /MountDir:C:\Mount\BootWIM
DISM.exe /Image:C:\Mount\BootWIM /Add-Driver /Driver:C:\Mount\Drivers /recurse
DISM.exe /Unmount-Wim /MountDir:C:\Mount\BootWIM /Commit


Viewing drivers on wim file
DISM.exe /Mount-Wim /WimFile:C:\Mount\boot.wim /Index:1 /MountDir:C:\Mount\BootWIM
DISM.exe /image:C:\Mount\BootWim /Get-Drivers


Windows Deployment - Back to Basics - MDT/SCCM Logs Locations





















One of the most important thins when creating a Windows Deployment process is to know exactly where to look at when something goes wrong.

Over the years, Microsoft got their logging a lot better and much easier to read for MDT and SCCM.
Although the improvments, it's not always clear where to find this log files that can make you save precious time when troubleshooting.

So, heres a very quick table guide where to find the log files:

Timeframe Location
WindowsPE (before HDD format) x:\windows\temp\smstslog\smsts.log
WindowsPE (after HDD Format) x:\smstslog\smsts.log and copied to c:\_SMSTaskSequence\Logs\Smstslog\smsts.log
Windows (before SCCM Agent installed) c:\_SMSTaskSequence\Logs\Smstslog\smsts.log
Windows (after SCCM Agent installed) c:\windows\system32\ccm\logs\Smstslog\smsts.log
Windows x64 (after SCCM Agent installed) c:\windows\sysWOW64\ccm\logs\Smstslog\smsts.log
After Task Sequence finish c:\windows\system32\ccm\logs\smsts.log
After Task Sequence finish x64 c:\windows\sysWOW64\ccm\logs\smsts.log

Tuesday, August 9, 2016

Microsoft Edge - Enabling TCP Fast Open (TFO)



TCP Fast Open (TFO) is a new extension meant to replace the old T/TCP system.
According to Google, this new system can improve page load time by 10% to 40%. This can be achieve by reducing traffic back and forth between the client and the server.

In a very resumed way, the less latency you can have between two far away systems the faster the load times are.

Microsoft also write a detailed blog about this back in June:
Building a faster and more secure web with TCP Fast Open, TLS False Start, and TLS 1.3 Read more at https://blogs.windows.com/msedgedev/2016/06/15/building-a-faster-and-more-secure-web-with-tcp-fast-open-tls-false-start-and-tls-1-3/#Te0IgPhiPFmv0Rd9.99

Microsoft's main objective for Edge it's to end the gap that it had last years on the browsers world, and the strategy it's all about do the good things other competitor do and also stand out with nice new features.

So, TFO it's now available on Edge (you'll need Windows 10 Anniversary Update).

To enable this feature, follow this steps:
  1. Open Microsoft Edge
  2. In the address bar type
  3. Scroll down to Networking
  4. Check Enable TCP Fast Open
  5. Restart Microsoft Edge (just need close and open again)

Be aware this feature it's still experimental so there could be some issues.
If you experiencie any problems, just repeat the above process and uncheck the Enable TCP Fast Open option.

Monday, August 8, 2016

Windows 10 v1607 Now Available on VLSC




Microsoft just released a few hours ago the media files (ISOs)  for Windows 10 Enterprise v1607 a.k.a. "Windows 10 Enterprise with Anniversary Update." through it's Volume Licensing Service Center (VLSC) website.

So, follow the link below, sign in and get you Windows 10 Enterprise version 1607:
Microsoft Volume Licensing Service Center