Friday, August 21, 2015

Setting up Automator to back up Mac on startup to Google Drive

I've written about using Automator to back up a Mac here.  I've had trouble getting that to work, so I now do this.

Open Automator
Create a new Application

In your Google Drive, create a folder called Backup
In the Backup folder, create a folder Desktop, Documents, etc for each folder you want to back up.

Create these processes:

Get Specified Finder Items
(choose all the folders in the Backup folder - not the Backup folder itself)
Move Folder Items to Trash
Get Specified Finder Items
(choose Documents)
Get Folder Contents
Copy Finder Items
(copy to the Documents backup folder location and choose replace existing files)
Get Specified Finder Items
(choose Desktop and click options and choose Ignore this action's input)
Get Folder Contents
Copy Finder Items
(copy to the Desktop backup folder location and choose replace existing files)

Repeat these steps for each folder you want to back up

Get Specified Finder Items
(choose FolderToBackup and click options and choose Ignore this action's input)
Get Folder Contents
Copy Finder Items
(copy to the FolderToBackup backup folder location and choose replace existing files)

---

Save the Automator application to the Applications folder
Go to System Preferences -> Users & Groups
Click Login Items
Add the application you created in Login Items





Wednesday, August 19, 2015

removing Windows 10 notification

Option 1:
I created a file that will adjust four registry entries to disable the Windows 10 Upgrades here:
http://www.t-solve.com/software/Disable-Win10.reg

Save that file and run it.

Option 2:
Manually make the adjustments below (credit to the resources comes from here):

1. Type regedit in RUN or Start search box and press Enter. It'll open Registry Editor.

2. Now go to following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows

3. Create a new key under Windows key and set its name as GWX

So the final key path would be:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GWX

4. Now select GWX key and in right-side pane create a new DWORD DisableGWX and set its value to 1

---

1. Again in Registry Editor, go to following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows

2. Create a new key under Windows key and set its name as WindowsUpdate

So the final key path would be:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate

3. Now select WindowsUpdate key and in right-side pane create a new DWORD DisableOSUpgrade and set its value to 1

---

1. Again in Registry Editor, go to following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade

2. In right-side pane, look for two DWORDs AllowOSUpgrade and ReservationsAllowed and change their values to 0

Tuesday, August 4, 2015

Configuring Fortigate for VOIP phones behind it

These are the general steps for allowing VOIP phones behind a Fortigate to work properly.  Please also note these steps to put QoS on voice traffic for better performance.


  1. Open the Fortigate CLI from the dashboard.
  2. Enter the following commands in FortiGate’s CLI:
    1. config system settings
    2. set sip-helper disable
    3. set sip-nat-trace disable
    4. reboot the device
  3. Reopen CLI and enter the following commands – do not enter the text after //:
    1. config system session-helper
    2. show    //locate the SIP entry, usually 12, but can vary.
    3. delete 12     //or the number that you identified from the previous command.
  4. Disable RTP processing as follows:
    1. config voip profile
    2. edit default
    3. config sip
    4. set rtp disable
There might be other settings that you need to configure depending on the FortiOS version that you are using. If you continue encountering issues related to SIP ALG, please contact Fortinet Support.


Monday, August 3, 2015

Setup of Dell branded Aruba wireless access points

These are the basic steps for setting up Dell branded Ariba wireless access points:



  1. connect to WLAN named "instant"
  2. open non HTTPS page
  3. will be redirected to https://instant.dell-pcw.com:4343/#home
  4. log in as admin/admin
  5. in the top middle, click on edit next to the MAC address and give the WAP a new name
  6. in the top left under networks, click on New to create a new SSID
  7. Click on system in the upper right hand corner
    1. - change name to more descriptive name
    2. - Change time zone
    3. - Change preferred band to 5 Ghz
  8. Clicki on the admin tab and change the admin password
  9. Click on RF in the upper right hand corner
  10. - in band steering, change value to Force 5 Ghz
  11. in upper left hand corner under networks, delete the SSID of instant


Sunday, August 2, 2015

Hyper-V virtual machine at 100% CPU inexlicably

In some cases, I've seen Hyper-V virtual machines run at 100% CPU usage.  I can't explain it - but the cause is Windows Update on the VM itself.  The fix is to disable the Windows Update service from automatic startup and stop the service.  This fixes the problem.  You'd need to install updates manually going forward.