How to: Change the view of Mozille Firefox options menu

Today I’ve upgraded Mozilla Firefox from version 35.0.1 to 38.0.5. After the succesfully upgrade, everythin looks fine. But there’s one crucial thing that has been changed in version 38.x. The “Options” menu is not a pane anymore, but it will be open in a new tab. I’ve customized some things in the browser (hide the network button) in the UserChrome.css file. In the new Options tab, the netwerk button is available again for my users. So, I want to hide this option and it works great in version 35.x.

With a simple edit in the UserPref.js file within the profile of my users, I can force the “Options” menu view in the ‘old’ way. After that, the network button is gone again!! 🙂

I’ve used RES Workspace Manager 2014 for distribution the new UserPref.js file to all of my users, but you can also use some other 3th party software or do it just manually.

1.) Open Mozilla Firefox 38.x
2.) Type about:config
3.) Search for “browser.preferences.inc
4.) Set the option “Browser.preferences.inContent” from true to false
5.) Close Mozilla Firefox and open it again

Options_01    Options_02    Options_03

Options_04    Options_05    Options_06

First look at Windows Server 2016 Technical Preview 2 Build 10074

Microsoft has released a new version of Microsoft Server 2016 Technical Preview 2, so I’ve installed this version immediately within my Hyper-V environment. After starting the setup, you’ll see there’re two versions:

  • Windows Server Technical Preview 2
  • Windows Server Technical Preview 2 (with local admin tools)

The difference between theese two versions is the User Experience. In previous version of Windows, it was called Windows Server Core Edition. So the version without the local admin tools, the user has no option to enable/install the graphical user interface (GUI).

2015-05-05_13h20_59    2015-05-05_13h21_04    2015-05-05_13h21_45

2015-05-05_13h22_00    2015-05-05_13h22_05    2015-05-05_13h23_21

2015-05-05_13h27_33    2015-05-05_13h27_38    2015-05-05_13h28_09

2015-05-05_13h28_14    2015-05-05_13h30_26    2015-05-05_13h30_29

2015-05-05_13h30_44

After the installation, you’ll see that there’s a difference between the User Experience. One version, the Server Manager is available and the other version has only a command prompt available. You’ve to manage this server from another server with the Remote Server Administrative Tools (RSAT). The version with the admin tools included, there’s a possibility to enable the Graphical User Interface (GUI).

2015-05-05_13h30_56    2015-05-05_13h31_04    2015-05-05_13h32_11

2015-05-05_13h33_56    2015-05-05_13h34_09    2015-05-05_13h34_18

2015-05-05_13h37_05    2015-05-05_13h38_29    2015-05-05_13h38_38

2015-05-05_13h53_34    2015-05-05_13h53_53    2015-05-05_13h55_13

2015-05-05_13h56_10

After a reboot, the server is turned on with a Graphical User Interface (GUI) and it looks pretty cool!! And YESSSS, the start menu is back again 🙂 What a great time for some users!! With this new version of Windows Server, there’s is a complete new “world of bits and bytes”….

Free Ebook: Microsoft System Center Deploying Hyper-V with Software-Defined Storage & Networking

Microsoft has released a great free Ebook of how to Deploy Hyper-V with Software-Defined Storage & Networking (SDN). In this Ebook you’ll learn all the basics of Software Defined Datacenter and how to use it in real life!

You can download this Ebook here: Microsoft System Center Deploying Hyper-V with Software-Defined Storage & Networking

deploy-hyperv-with-sdn-ebook (2)

 

How to: Remove “settings” button in Mozilla Firefox

In some scenario’s you want to remove some buttons within the options of Mozilla Firefox. Because there are not that enhanced group policies for Mozilla Firefox, you’ve to script something. In my example I’ve used RES Workspace Manager to distribute the modified files, but you can also use something else. For example: PowerShell, batchfiles or Group Policy Preferences.

You can edit the file userChrome.css in the folder AppData\Roaming\Mozilla\Profiles\<nameofyourprofile>\chrome to tweak the menu settings within Mozilla Firefox. In my example I’ve added the following rule:
/* Remove connection button */
#connectionSettings { display: nome !important; }

When you open Mozilla Firefox the next time, the “Settings” is gone! 🙂

2014-12-31_09h52_20    2014-12-31_09h52_56    2014-12-31_09h56_05

2014-12-31_09h56_55   2014-12-31_09h53_55

How to: Deploy packages using collection variable with ConfigMgr 2012 R2

During a OS deployment you don’t want to deploy all your packages and software to every workstation. You can deploy the software after a full OS deployment, but you can also deploy packages during the OSD using collection variables. Now it is possible to deploy packages only if a specific machine is a member of a collection. This collection can be query based, for example OU membership or Active Directory security group, or it can be static (direct membership).

In this example I’ve created a realy simple deployment, Adobe Reader 11.0. I’ve two virtual machines, SCWIN81-01 and SCWIN81-02. Both machines are members of the collection “Deploy – Windows 8.1 Enterprise x64”, where the task sequence is deployed on. Machine SCWIN81-01 is also member of the collection “Install – Adobe Reader 11.0”. This collection has a limited collection of “Deploy – Windows 8.1 Enterprise x64”. Both machines are deployed on the same time, the only difference is that machine SCWIN81-01 has Adobe Reader 11.0 installed and machine SCWIN81-02 not. Why……based on the collection variable during the OSD 🙂

1.) First create the collections
2.) Make the specific machines members of the right collections (query based or direct membership)
3.) Open the properties of the collection “Install – Adobe Reader 11.0” and navigate to the “Collection Variables” tab
4.) Add one or more variables with some values. In this example the variable is “APP-AdobeReader” with the value “Yes”
5.) Open the task sequence and add a package installation step
6.) Add the package with the program and navigate to the “Options” tab
7.) Select “Add Condition” and select “Task Sequence Variable”
8.) Enter the collection variable you’ve created earlier with the same value. In my example:
Task Sequences Variable APP-AdobeReader equals “Yes”
9.) Select “Apply” and close the task sequence.
10.) Start the OSD on both machines and wait until the installation is done!
11.) Watch the differences between both machines, if everything is okay, one machine has Adobe Reader installed and the other not.

This is an extremely powerfull thing within ConfigMgr, and really helpfull is some scenario’s. For example VDI golden image deployments or hybrid environments with laptops/desktops or multiple organizations using one ConfigMgr environment. One main reason could be consolidation in task sequences. If you want, there should be only one task sequence for all you different deployments. This is why I’m loving collection varaibles! 🙂

2014-12-22_15h45_33    2014-12-22_15h46_26    2014-12-22_15h46_48

2014-12-22_15h47_23    2014-12-22_15h49_46    2014-12-22_15h50_15

2014-12-22_15h50_37    2014-12-22_15h51_16    2014-12-22_15h51_58

How to: Apply Windows updates during OSD with ConfigMgr 2012 R2

During a OS deployment with ConfigMgr 2012 R2, you definitely want to apply the latest Windows updates and patches, for example with Windows Server Update Service (WSUS). You can also integrate WSUS within ConfigMgr 2012 R2, but in this example WSUS is not integrated!!

This example is also very usefull to create a fully patches golden image in ConfigMgr 2012 R2 (Build & Capture). After the task sequence you’ve a fully patches Windows 8.1 machine that you can use for example VDI environments.

1.) Fist open your task sequence
2.) Create a new computer group “Desktops” within the WSUS console (or choose another name, for exmaple: servers, laptops, etc.)
3.) Add a custom group within the task sequence
4.) Add the following steps in your task sequence
Run Command Line:
reg ADD “HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate” /v WUServer /t REG_SZ /d http://wsus01.cloud.local:8530 /f
Run Command Line:
reg ADD “HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate” /v WUStatusServer /t REG_SZ /d http://wsus01.cloud.local:8530 /f
Run Command Line:
reg ADD “HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate” /v TargetGroup /t REG_SZ /d “Desktops” /f
Run Command Line:
reg ADD “HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate” /v TargetGroupEnabled /t REG_DWORD /d 1 /f
Run Command Line:
reg ADD “HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU” /v UseWUServer /t REG_DWORD /d 1 /f
Run Command Line:
wuauclt.exe /resetauthorization /detectnow
5.) Don’t forget to set the name of your WSUS server and computer group in the commands above!
6.) Create a new package in ConfigMgr 2012 R2 with the following two files in it, located in the MDT 2013 deployment share directory
ZTIUtility.vbs
ZTIWindowsUpdate.wsf
7.) Don’t create a program in this package, but you only have to distribute it to the distribution point(s)
8.) Add a new step “Run Command Line” to the task sequence with the following command:
cscript.exe ZTIWindowsUpdate.wsf
Select the package where the source files are located
9.) Deploy the task sequence to your client collection!

COAU_01    COAU_02    COAU_03

COAU_04    COAU_05    COAU_06

COAU_07    COAU_08    COAU_09

COAU_10    COAU_11    COAU_12