Wednesday, 4 July 2018

Uncompress 7Zip RAR files using CLI on OSX

If you need a CLI version to uncompress 7Zip or RAR files try the following:

(Multi-format)
Move uncompressed files lsar and unar to /usr/local/bin
https://cdn.theunarchiver.com/downloads/unarMac.zip

(7Zip format)
After pkg installs files 7z 7za 7zr are located in /usr/local/bin
https://raw.githubusercontent.com/rudix-mac/pkg/master/p7zip-16.02.pkg

Thursday, 11 January 2018

macOS 10.13.X shows Disk Password Login at Boot Time

After a clean install of OSX 10.13.X using Encrypted ADFS, Disk Password login and User login are shown at boot time.  In the past I installed OSX without encrypting the drive and once done used FireVault to enable encryption and that avoided the extra login.  To remove the HDD logon or any other additional user here is the process:

Using FileVault CLI tool list the current users that can unlock the drive: 
sudo fdesetup list -extended

Sample Output:
ESCROW  UUID                                        TYPE USER
A1A1A11A-AAAB-11AA-BBBB-AABB11223344                Unknown User
1A1B1C00-BBBC-22BB-CCCC-AACC55667788                OS User theblogger

Remove the Unknown User:
sudo fdesetup remove -uuid A1A1A11A-AAAB-11AA-BBBB-AABB11223344


Office 2016 for MAC disable online Office365 Add-Ins and Online Popups

If you have Office for MAC 2016 Volume License or Perpetual License here is how to disable network connections to Office 365 Add-Ins.  Steps in this post will stop the login popups trying to connect to officeclient.microsoft.com when starting up Word, Excel or PowerPoint.


**ONLY PERFORM THESE STEP ONCE YOU HAVE ACTIVATED / REGISTERED THE PRODUCT.   DISABLING THE POP UP WILL STOP THE ACTIVATION PROCESS.  IF YOU FORGET JUST SET INTEGER VALUE BACK TO 2 FROM 0.** 

Disable Add-Ins:
defaults write com.microsoft.Word UseOnlineContent -integer 0
defaults write com.microsoft.Excel UseOnlineContent -integer 0
defaults write com.microsoft.Powerpoint UseOnlineContent -integer 0

Disable User Telemetry:
defaults write com.microsoft.Word SendAllTelemetryEnabled -bool FALSE
defaults write com.microsoft.Excel SendAllTelemetryEnabled -bool FALSE
defaults write com.microsoft.Powerpoint SendAllTelemetryEnabled -bool FALSE
defaults write com.microsoft.Outlook SendAllTelemetryEnabled -bool FALSE
defaults write com.microsoft.onenote.mac SendAllTelemetryEnabled -bool FALSE
defaults write com.microsoft.autoupdate2 SendAllTelemetryEnabled -bool FALSE
defaults write com.microsoft.Office365ServiceV2 SendAllTelemetryEnabled -bool FALSE

Disable Crash Reports:
defaults write com.microsoft.errorreporting IsAttachFilesEnabled -bool FALSE

Enable Crash Reports with Disabled User Telemetry (optional):
defaults write com.microsoft.errorreporting IsMerpEnabled -bool TRUE