Search This Blog

Wednesday, 26 March 2014

How to Add a User to the Local Administrators Group using Remote Background

Here is a simple way to add a domain user to the local administrators Group on a computer using the Remote Background feature in GFI RM

Select the Computer in the Portal

media_1395842034169.png

Select the Computer in the Portal and then click the Remote Background Button.

Remote Background

media_1395842061894.png

The first is to check if the user is a local administrator. Run the command

net localgroup administrators

This will return the Group Membership and you can look to see who is a member.

Add User to the Administrators Group

media_1395842099585.png

You can then add a user to the Group with the command

net localgroup administrators domain\userr /add

Tuesday, 18 March 2014

World Wide Web Publishing Service will not start. Windows Process Activation Service will not start.

How to resolve an issue when the WWW and the WPA Service will not start.

WWW Service will not start

media_1395172465222.png

When you try to start the WWW service a message is shown that a dependency service failed to start.

Event Log

media_1395172490309.png

In the event log the event 7001 is logged and the error shows thae the Windows Process Activation Service has not started.

Windows Process Activation Service

media_1395172508328.png

If you try to start the Windows Process Activation Service, the error 6801 Transacton support within the specified resource manager is not started or was shut down due to an error.

CMD

media_1395172614698.png

The solution to this error is to repair the File System usind the command

fsutil resource setautoreset true c:\

Event Log

media_1395172633821.png

When the command is completed, the Event Log will show Event ID 136. This logs that the NTFS Meta Data as been repaired.

Start Services

media_1395172655961.png

You can now start the WPA Service and then the WWW Service as the NTFS Meta Data has been rebuilt.

Wednesday, 12 March 2014

Internet Explorer - How to add a site to the Local Intranet Sites

Some websites will not always work unless the site is added to a certain site category in Internet Explorer, this is how to add a site to the Local Intranet sites, you would use this for Share Point for example.

Open the Website

media_1394620221427.png

Browse to the website you want to use.

Open Internet Options

media_1394620227341.png

Chose from the menu the File, Intenet Options.

Security Tab

media_1394620238137.png

Choose the Security Tab and then high light the Local Intranet, click the Sites Button.

Local Intranet Properties

media_1394620243953.png

Click the Advanced Button

Add Site to the List

media_1394620254139.png

Type the site into the Add this website to the zone and then click the Add Button. If the site is not a HTTPS site then uncheck the Require server verifications (https:) for all sites in this zone. Click Close all the way back to Internet Explorer.

Saturday, 8 March 2014

How to Configure Security Sites in Internet Explorer 10 & 11

In Internet Explorer 10 & 11 you can no longer use the Internet Explorer Maintenance setting in Group Policy to make changes to the Browser Security Sites. This has changed in IE 10 to use Group Policy Preferences and ADM Policy Settings.

Use a Windows 2012 Server

To access the new features of Group Policy you will need to connect to the Domain from a Windows 8.x or Windows 2012 Server. Enable the Group Policy Management features and then open Group Policy Management.

Edit a Policy

media_1394283538749.png

Create or Edit an existing Group Policy and then drill down to UserPolicy\AdministrativeTemplates\WindowsComponents\InternetExplorer\InternetControlPanel\SecurityPage

Locate the Setting Site to Zone Assignment List

Edit Setting

media_1394283392896.png

Check to Enable the Setting. Click the Show button to add the sites required.

Add Sites

media_1394283399860.png

Sites that are entered here will be shown in the users browser under the Security Tab and Sites

1. Intranet Sites
2. Trusted Zone
3. Internet
4. Restricted Sites

To add a site enter the site URL on the left value and the Site Number value to the right.

Update User Browser

media_1394283436841.png

On the Users Computer run the command

gpudate /force

This will update the Group Policy. Then you can check the Browser Internet Options, Security Tab, Local Intranet Sites and then in the list will be the site you added.

Monday, 10 February 2014

How to Export a Distribution Group to a CSV File in Exchange 2013

I wanted to export all the Distribution Groups in Exchange 2013 that were set to allow external users to send email to them.  The cmdlet below will do this and export to a CSV file.

get-distributiongroup | Sort -Property RequireSenderAuthenticatioNEnabled | Select Name, Requir
eSenderAuthenticationEnabled, PrimarySMTPAddress | Export-CSV "C:\IT Support\Dist.csv"

Friday, 17 January 2014

Exchange 2013 Server emails not being delivered - 451. 5.7.3

I had a problem today with two Exchange 2013 Servers, one at a UK site and the other at our Data Centre connected by a IPSEC VPN.

We suddenly saw no email being delivered from the UK site to the Data Centre Mailbox Server, the emails were being queued with a 451 5.7.3 error in the Queue viewer.

The message describes that Exchange Authentication has failed.

I first checked my Receive Connectors thinking that they did not have Exchange Authentication enabled but they did, this was not the issue.  Never the less emails were building at my CAS Server and not delivering to my Mailbox Server.  This is on a system that had been working for weeks.

What was different I thought.  Well the Exchange Servers in the data centre were behind a Cisco ASA 5510 with a CSC module for scanning traffic for malware.  This was different, before this the Exchange Mailbox Servers were behind a Watch Guard Firewall.

So what had happened?  Well the CSC unit had failed and went this happens there is a default policy for what the traffic should do and in this case the traffic from my Exchange Server in the UK site to the Data Centre was not excluded and was dropped.

What I needed was to bypass the CSC Access Control List for this traffic so it was not dropped.  To do this I found the CSC Class map and then the Global Policy, this references an Access Control List.

In the ACL I then added a line to deny traffic from my Exchange Server and stop it being dropped by the CSC policy.   In this case the lines I added were

access-list global_mpc line 1 extended deny ip host 10.0.0.200 any

As soon as this was added the mail started to flow.  This was a case to always check your Firewalls even when passing all IP traffic across a VPN.

Monday, 21 October 2013

Group Policy - How to Add Internet Favorites via Group Policy with Internet Explorer 10

This is a guide on how to add Internet Explorer Favorites via Group Policy when you have clients with Internet Explorer 10.

Open Group Policy Management MMC

media_1382354847028.png

From a Windows 2008 and above server open the Group Policy Management MMC.

Create a Group Policy

media_1382354885757.png

From the left hand pane, right click on Group Policy Objects and choose New

Name the Policy

media_1382354949177.png

In this instance we will name the Policy Internet Favorites

Edit the Policy

media_1382354958090.png

The Policy will now appear in the left pane and we can right click on this and choose Edit.

Create a Folder for the Favorites

media_1382355257131.png

Expand the User Configuration, Preferences, Windows Settings down to Folders. On the Folders option right click and choose New, Folder.

Folder Configuration

media_1382355300844.png

In the Path field we can enter the location for the folder, this should be the variable %FavoritesDir%\OurFolderName. Click OK to create.

Create a Shortcut for a URL

media_1382355352879.png

Expand the User Configuration, Preferences, Windows Settings, Shortcuts and right click to choose New Shortcut. Next set the Action to Create, the Name of the Shortcut in the format of our Favorites folder name from the above step and the name of the Favorite, so OurFolderName\OurFavorite

In the Target Type choose URL and in the Location choose Explorer Favorites.

In the Target URL enter the URL for the Web Site you wish to publish.

How to set a Favorite to a specfic Organisation Unit in Active Directory

media_1382355379811.png

Often we will want to show one Favorite to one person in a OU and another to someone else in a different OU, this can be done in Group Policy with Item Level Targeting. To set these options choose the Common Tab in the object and then seletc Item-level targeting and choose the Targeting button.

Create a Targeting Rule

media_1382355388062.png

This Window allows you to create targeting rules based on multiple criteria, in this case we want to make a decision based on the users OU. Choose New Item, Organizational Unit.

Editing Target Rule

media_1382355408541.png

The rule now shows that if a user belongs to a OU then they will have this shortcut apply, to select the OU choose the button marked ...

Find OU

media_1382355418294.png

From the Active Directory lookup choose the OU for the users.

Updated Target Rule

media_1382355425274.png

The OU is now selected and the target rule is updated.

Shortcut

media_1382355435188.png

You can now see the Shortcut is created for the Google Home Page.

Assign Group Policy to Active Directory

media_1382355452083.png

In the Group Policy Tree we want this Group Policy to apply to the entire Domain so right click on the top of the tree and choose Link and Existing GPO

Choose the GPO

media_1382355460408.png

From the list choose your GPO

Policy is Assigned

media_1382355467347.png

You can now see the GPO is assigned to the Domain and will now take affect.