Posts

Convert IMCEAX to X500 Address for NDRs

Paste this into Powershell ISE and modify accordingly. This script will replace all parts of a problematic X500 address into a readable format when an NDR is delivered. Example IMCEAEX value - IMCEAEX-_o=EXCH_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=d8d4ee95afb-Squirrel+20Success@blogger.com $x = Read-host 'Enter IMCEAEX full value' $x = $x -replace "IMCEAEX-_", "X500:/" -replace "\+20", " " -replace "\+28", "(" -replace "\+29", ")" -replace "_", "/" -replace "\+2E", "." -replace '@.*', '';cls;Write-output $x 

Understanding VLAN Access Filters

Image
Evening All I've spent a few days trying to get my head around VLAN Access-Maps and VLAN Access-Filters. I am sharing my configuration which works fine in my GNS3 lab. This is not been tested in a production environment so I would advise caution and some thorough testing before bringing into a live environment. So above is my test environment for VLAN Filters. Layer three is done on Router 1. I did actually try it on the L2 Switch however I couldnt get intervlan routing working so I had to use the Router. This is what is allowed  - Communication both ways between 10.0.20.4 and 10.0.20.3 Communication both ways from 10.0.20.0/24 to 10.0.10.5  I have provided a limited output of the switch. Basically, I am covering the access-lists, VLAN configuration and interface configuration for review. If you don't create the MAC access-list and apply it to the VLAN access-map, then the endpoints will not learn the IP address of the other end points. You can be restrictive an...

Windows 10 Wireless connection asking for proxy server credentials

Image
When using Windows 10 on a domain network, the wireless may show attention required and upon clicking the wireless connection name it disconnects and states "enter proxy server sign-in info". In the background, the client machine is making a connection to msftconnecttest.com/connecttest.txt. As the computer is not authorised to use the internet, but rather the user this was the cause of the popup. I whitelisted the domain msftconnecttest.com for computer authenication and now the wireless connects with no requests for further authentication.

Configuring Oracle 12c backups on Veritas Backup Exec 16.

Image
This is a short guide to configuring backups of Oracle 12c using Veritas Backup Exec 16. 1.        Establish trust with Oracle Database server within Backup Exec console and ensure agent is installed. 2.         Create a login to the database for backup purposes in Oracl e; Open up a command prompt and run the following command – Sqlplus / nolog Log in with your database admin account as sysdba Connect myusername / mypassword@databasename as sysdba CREATE USER BACKUP IDENTIFIED BY MYPASSWORD; GRANT UNLIMITED TABLESPACE TO BACKUP; GRANT AQ_ADMINISTRATOR_ROLE TO BACKUP; GRANT DBA TO BACKUP; GRANT CONNECT TO BACKUP; ALTER USER BACKUP DEFAULT ROLE ALL; ALTER USER BACKUP DEFAULT TABLESPACE SYSTEM; 3.        Within the Local Users and Groups section of Computer Management on the Oracle database server, add the backup servers windows domain adminis...

Running Office 2003 on Server 2008 R2

When trying to open documents using the file converter in Excel 2003 SP3 on Server 2008 R2, the following message is displayed "microsoft excel is waiting for another application to complete an ole action 2003" or "the converter failed to open the file". The following KB article allows this feature to work. https://support.microsoft.com/en-us/kb/980210  - KB Article http://download.microsoft.com/download/A/6/2/A624F8C9-B51E-4CC6-A0AC-ACB684E2E265/office-kb980210-fullfile-x86-glb.exe  - Direct Download

Microsoft NPS Console fails to launch

The Microsoft NPS console fails to launch. The error shown is - FX:{6630f2d7-bd52-4072-bfa7-863f3d0c5da0} NPS This was due to an issue with WMI. Running the following in Command Prompt as an Administrator resolved my issue. cd C:\Windows\System32\wbem\AutoRecover for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s

Excessive TAP-Windows Adapter V9 Cleanup

I had an issue recently where the client machine could not connect to any network resources. We noticed that the user had many TAP-Windows Adapters for VPN (OpenVPN). Some research suggests it occurs due to Microsoft products activating against a KMS server. Anyway, I have created a simple vbs (wsh) script which removes the excess devices in a safely manner. All you might need to change is the location of tapinstall.exe as it might be deployed with your VPN application. I have actually deployed the script by placing it in the netlogon share and using a GPO to create a scheduled task which executes the script on a weekly basis. I used a WMI filter and only targeted laptops.  Here is the script. Its not perfect, but I think it does a good job. Dim Shell,path,tempPath,tapInstPath32,tapInstPath64,objFSO Set Shell = CreateObject ("Wscript.Shell") Set objFSO = CreateObject("Scripting.FileSystemObject") strComputer = "." count = 0 tapInstPath32 = ...