popunder new

https://www.blogger.com/blog/posts/1739890295310631346

Monday, August 22, 2011

Adding the admx files from Office 2010 admin templates into your GPMC

I had to add some Outlook 2010 specific GPO’s this week and found the instructions available on the net weren't quite adequate. So I thought I would explain the procedure I took to get it done.

First off, you will need to download the admin template files Get them here

The 32bit and 64bit admx files are identical.  You only need the different versions if you are using the Office Customization Tool (OCT)

The downloaded file is a self-extracting file. Just launch it and extract the file to a folder. Inside that folder will be an admx folder and the corresponding language files (in their own folders). There will also be an adm folder (these are the older style adm template files) and a admin folder (which you only need if your using OCT and don't have the enterprise office install)

Now go to the folder C:windowssyvoldomainpolicies

Create a folder inside of policies folder called policydefinitions  and copy all the files from the admx folder that was created  from the extraction  and any language file folders you may need. The complete folder path will be C:windowssyvoldomainpoliciespolicydefinitions 


In my case I added all the office admx files and only the corresponding English languages.


admx locations

Close your group policy console if open and re-open it. As shown below, all of the Office 2010 admx template files will now show up under Administrative templates since it is retrieving them automatically from the central store.

policy

In this particular case I was adding a GPO to automatically check user spelling before sending emails.

spelling rule

That’s It. Now that wasn’t too difficult after all

Wednesday, February 2, 2011

Installing Windows Media Player plugin for Firefox or Chrome on WindowsServer 2008 R2

When installing the Windows Media Player Firefox or Chrome Plugin on Windows Server 2008, you receive the following error:



Package does not support server operating systems

I extracted the np-mswmp.dll from the installer package you can download from the link below.

Download Button5

To get windows media player working on server 2008 just copy np-mswmp.dll to one of the locations below depending on the browser you are using.

For Chrome plugin folder it's in:
%USERPROFILE%\AppData\Local\Google\Chrome\Application\Plugins

For Firefox plugin folder is in
C:\Program Files (x86)\Mozilla Firefox\plugins

Tuesday, January 11, 2011

Enable or disable system restore on a remote computer

This script prompts for a remote pc name and then gives you the option to either enable or disable the system restore option.

Instructions:

1: Run the script

2: Enter the name or the ip address of the remote computer.

image

3: Select 1 to enable it or 2 to disable it.

image

I have tested the script on Windows 7 x86/x64. This must be run from an elevated command prompt. Domain Administrator permissions are required.

Download Button5

  'Enable or disable system restore on a remote system   
strComputer = InputBox("Enter the COMPUTER NAME or the IP address of the system you would like to enable or disable System Restore on. (use localhost for current system)","Remotely Enable or Disable System Restore","localhost")
If strComputer = "" Then
WScript.Quit
End If
strChoice = Inputbox ("System Restore:" & vbCrLf & vbCrLf & "1: Enable"& vbCrLf &"2: Disable" & vbCrLf& vbCrLf & vbCrLf & "Please enter 1 or 2 (leave blank to quit):","Enter 1 to Enable or 2 to Disable","")
If strChoice = "" Then
WScript.Quit
End If
if strChoice = 1 then
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\default")
Set objItem = objWMIService.Get("SystemRestore")
errResults = objItem.Enable("")
'Inform User that the task is done.
Mybox = MsgBox("System Restore is now enabled on "& strComputer &"" & vbCRLF ,vbOkOnly,"System Restore Enabled")
End If
if strChoice = 2 then
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\default")
Set objItem = objWMIService.Get("SystemRestore")
errResults = objItem.Disable("")
'Inform User that the task is done.
Mybox = MsgBox("System Restore is now disabled on "& strComputer &"" & vbCRLF ,vbOkOnly,"System Restore Disabled")
End If