Friday, 30 January 2015

Enabling duplex (two sided printing) on HP Printers for Microsoft Word etc.

It appears some HP printers are provided with drivers which by default have the duplex functionality turned of at driver level, presumably because some other forms of the printer do not provide duplex functionality. Anyway in order to enable duplex functionality at driver level (which will allow programs such as Microsoft Word to perform duplex printing) just follow these steps: Firstly go to the "Printers and Devices" section from the Start Menu: Now...

Thursday, 29 January 2015

Windows cannot start this hardware device because its configuration information Code 19 Fix

After having to manually remove a bodged installation of a questionalable antimalware product called 360 Security by a chinese firm I noticed that there were specific devices that were not working correctly - after reviewing the device manager I noticed a yellow explanation mark over the hardware in question (a webcam) - and the error code: Windows cannot start this hardware device because its configuration information (in the registry) is incomplete...

Tuesday, 27 January 2015

How to delete a corrupted roaming profile on Windows 7 (You have been logged on with a temporary profile)

Firstly right hand click on your computer and go to Properties, we proceed by selecting the "Advanced System Settings" and then select the User Profiles "Settings" button in the popup screen as shown below: Now we select the desired profile and hit the delete button as below: ** Note: Always be sure to make sure you backup the roaming profile before deleting it! ** In the even you have just simply delete the profile path, you will also need...

Command line to remove or move user roaming profile with Server 2012

The following two commands let you firstly take ownership of all the files in the specified folder and then grant full access to the files to the administrators group. takeown /f /r /d y icacls /grant administrators:F /T You can also use the following script (credit to: http://WinHelpOnline.com ): Windows Registry Editor Version 5.00 ;Adds Take Ownership command to the context menu in Vista or Win 7 ;Also provides "Administrators" group with Full Control permissions. [-HKEY_CLASSES_ROOT\*\shell\runas] [HKEY_CLASSES_ROOT\*\shell\runas] @="Take...

Monday, 26 January 2015

Setup a test Exchange Server 2013 SP1 on lab environment

Pre-requisites: x1 Windows Server 2008 R2 Machine (4GB RAM, 50GB Disk) for the inner server roles. x1 Windows Server 2008 R2 Machine (4GB RAM, 50GB Disk) for the outer server roles (Edge) Domain name with DNS control >Firstly I created the new VM in the Developer Cloud section - a standard template of Windows 2008 R2 suffices for this need (along with >the default of 4GB of RAM) It is also important to make sure that we modify the firewall...

Sunday, 25 January 2015

EMS (Exchange Management Shell) Common and Useful Commands

I decided to compile a list of common and useful commands to set and get and assortment of information with Exchange 2013. Return health information related to Exchange services: Get-HealthReport -Identity <server-name> -RollupGroup Get transport service information: Get-TransportService | Format-List Set internal DNS server for transport service: Set-transportservice -InternalDNSServers "192.168.0.100" Get all of the send connectors: Get-SendConnector Get all of the recieve connectors: Get-ReceiveConnector View all queues on...

451 4.4.0 DNS query failed. The error was: DNS query failed with error ErrorRetry Solution

I encountered this issue when initially setting up an Exchange lab. I had attempted to send an email to the local domain on the inner network and the transport server was failing to forward this onto the inner server - returning the following error: 451 4.4.0 DNS query failed. The error was: DNS query failed with error ErrorRetry I checked my DNS settings and performed a quick nslookup to verify that the correct MX record was in place for the domain...

Check an MX record from command prompt

We firstly launch the command line utility 'nslookup': nslookup We then make sure the appropriate record type is selected - in this case MX: set type=MX And finally the domain we wish to lookup: live.com...

Tuesday, 20 January 2015

Allow the administrator to view all of the users emails in Office 365 via PowerShell

Firstly we must store your administrative Office 365 login details: $UserCredential = Get-Credential And then we create the powershell session to remotely access office 365 servers: $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection This will import all of the relevent modules so you can use them on your local shell: Import-PSSession $Session We can now run the following command in order to allow the...