Monday, January 11, 2016

IE11 Compatibility View / Enterprise Mode

Method 1


First download from Microsoft the "Enterprise Mode Site List Manager"


Start the tool and Add your site.  When done, click File and select Save to XML .


Copy your XML to a network location that is available to everybody. 
\\SERVERNAME\Sysvol\DOMAINNAME\Policies\file.XML 


In a GPO navigate to:
User Configuration-Policies-Administrative Templates-Windows Components-Internet Explorer


In the right pane, enable the setting "Use the Enterprise Mode IE website list"


Enter the full URL to your XML file:
\\SERVERNAME\Sysvol\DOMAINNAME\Policies\file.XML 


File can be entered in the following different formats, all depends on how and where you want to store it on your network.  Just be sure that everybody and all devices has access to the location.
  • HTTP location: “SiteList”=”http://localhost:8080/sites.xml”
  • Local network: "SiteList"="\\network\shares\sites.xml"
  • Local file: "SiteList"="file:///c:\\Users\\<user>\\Documents\\testList.xml"




If you do not see the Enterprise Mode IE11 settings in your Group Policy.  Make sure you have IE11 installed on a Win7 or 8.1 workstation, copy the inetres.admx and .adml files from the workstation to the Sysvol folder on the network.


Method 2


This is an older method but still works.  It allows the user to see what your GPO has put there and does not override the users' settings.



1.    In Windows 2008 DC, open IE and add the web site to the Compability View Settings list

2.    You can verify the setting in the registry key path HKEY_CURRENT_USER\Software\Microsoft\Internet  Explorer\BrowserEmulation\ClearableListData\UserFilter

3.      Open Group Policy Management Editor for Domain Policy that you want to edit.

You can open it from mmc and then Add or Remove Snap-ins

Choose Group Policy Management Editor 

4.      Choose path from either Computer configuration or User Configuration as below

5.    Computer or User Configuration->Preference->Windows Setting->Registry

6.    Right click New->Registry Wizard

7.      Select local machine and then check HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\BrowserEmulation\ClearableListData\UserFilter.
Note: If use Computer Configuration, check registry HKEY_LOCAL_MACHINE





8.    Finish the change

9.      Run gpupdate /force in DC

10.Run gpupdate /force in client machine or re-login













Wednesday, December 23, 2015

HP StoreOnce firmware upgrade

Upload the firmware rpm file to the StoreOnce unit via SFTP.  It goes into the repository directory.


SSH into the StoreOnce unit, update is done via CLI.


To list or show the rpm file you copied over,
system show repository


To load and unpack the package,
system load package EJ022-10544.rpm


To show packages that are staged and ready to update,
system show packages


To start the upgrade process and reboot the system,
system update packages



Friday, November 6, 2015

Oracle JDK on Centos 7

Download and install the Oracle JDK
rpm -ivh jdk-7u80-Linux-x64.rpm


Set the Java environment variables
vi /etc/profile.d/java.sh


Add the following lines to java.sh
#!/bin/bash
JAVA_HOME=/usr/java/jdk1.7.0_80/
PATH=$JAVA_HOME/bin:$PATH
export PATH JAVA_HOME
export CLASSPATH=.



Make java.sh executable
chmod +x /etc/profile.d/java.sh


Set the variables,
source /etc/profile.d/java.sh







Thursday, November 5, 2015

Copy / Move Outlook Profile to new computer

Copy or move your PST to the new location / computer.


Account Settings, POP servers, logins and all that info is stored in the registry.  Open the registry and export this key,


HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook


Import the key into the new computer.

Wednesday, November 4, 2015

Ubuntu, extend LVM

- add new disk to the VM and reboot
- fdisk -l , should see the new disk, make note of its device name, ex. /dev/sdb or /dev/sda
- create a partition on the new space,
cfdisk /dev/sdb
or
fdisk /dev/sdb
- create physical volume and reboot,
pvcreate /dev/sdb
reboot
- vgdisplay to get the name of your volume group
- extend the volume group onto the new physical volume
vgextend Ubuntu-vg /dev/sdb1
- lvdisplay to get the name of our main logical volume
- extend the logical volume
lvextend -L +XXG LogicalVolumeName  , where XX is the number of gigs to add
lvextend -l +100%FREE LogicalVolumeName   , extends using all free space
lvextend -l +100%FREE /dev/Ubuntu-vg/root
- extend the filesystem
resize2fs /dev/ubuntu-vg/root

Friday, October 30, 2015

Ubuntu 14 Updates

apt-get install cron-apt
apt-get install unattended-upgrades


Edit the /etc/apt/apt.conf.d/50unattended-upgrades file
Remove the // to uncomment a line


Uncomment some lines shown below,


// Automatically upgrade packages from these (origin:archive) pairs
Unattended-Upgrade::Allowed-Origins {
        "${distro_id}:${distro_codename}-security";
        "${distro_id}:${distro_codename}-updates";


// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
Unattended-Upgrade::Remove-Unused-Dependencies "true";


// Automatically reboot *WITHOUT CONFIRMATION*
//  if the file /var/run/reboot-required is found after the upgrade
Unattended-Upgrade::Automatic-Reboot "true";


// If automatic reboot is enabled and needed, reboot at the specific
// time instead of immediately
//  Default: "now"
Unattended-Upgrade::Automatic-Reboot-Time "05:20";




Edit the /etc/apt/apt.conf.d/10periodic file to look like this,
APT::Periodic::Enable "1";
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "1";
APT::Periodic::AutocleanInterval "7";
APT::Periodic::Unattended-Upgrade "1";


Verify that /etc/apt/apt.conf.d/20auto-upgrades is correct,
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";






Wednesday, August 26, 2015

Outlook only starts maximized

Outlook will only start maximized.  Disappears if you select to resize or normal window.


Delete the following reg key and restart Outlook: Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Office Explorer]
'Frame'=