Bashattack

Bashattack

Technology. Food. Gaming. Videos. Anything. What more could you want?!

Posts filed under Technology

Rollback Microsoft Office 2016 Versions

Let’s say Microsoft rolls out an update to Outlook that (speaking hypothetically, of course!) breaks the ability for your users that have cached email disabled to send email. What do you do, other than wait for an update? Just rollback your version of Office! It’s easy! Open up an elevated command prompt and run these two commands. (Easiest way to do this is to hit start, type cmd, right click Command Prompt, and choose Run as Administrator.)

cd %programfiles%\Common Files\Microsoft Shared\ClickToRun
officec2rclient.exe /update user updatetoversion=16.0.9029.2167

Office will rollback to the version given. Once the installation is done, go into any Office app. Hit File > Office Account > Update Options and choose “Disable Updates.”

Set a reminder for about a month later, and when Microsoft finally fixes the newest version turn updates back on in the same place.

Office 2016 Install Error 30175-4 (19)

While trying to install Office 2016 I was getting Error 30175-4 (19) on launch. Office 2010 had been installed on this computer but was uninstalled. After browsing for about 30 minutes I found this thread at the Microsoft Forums that basically said to delete this keys from the registry.

 

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{2112AB0A-C86A-4FFE-A368-0DE96E47012E}\

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{491E922F-5643-4AF4-A7EB-4E7A138D8174}\

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7B0DB17D-9CD2-4A93-9733-46CC89022E7C}\

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A302545D-DEFF-464B-ABE8-61C8648D939B}\

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{A990AE9F-A03B-4E80-94BC-9912D7504104}\

Delete those keys, reboot, and you should be back in business!

Playstation 3 Bluray Remote with Vizio 4K TV

It took a bit of searching to find this one, but here is how I got the Playstation 3 Bluray remote working with my 4K Vizio TV.

  1. On the remote hold the TV button and hit the clear button. The TV light should now be blinking.
  2. Type in 281 and hit Enter.
  3. Check that the volume is able to be controlled.

If it works, awesome! If it doesn’t, here are some other codes that are supposed to work with Vizio TVs. Your mileage may vary: 282, 502, 627, 004, 113, 505, 011.

Brother HL-2140 on Linux and Raspberry Pi Print Server

This blog in the past few days has been a collection of “I had this problem and couldn’t easily find an answer, so maybe I can repost it and have somebody find the help they need.” Today is no exception.

My Raspberry Pi project is underway, and last night’s adventure was getting the AirPrint to work with my Brother HL-2140. Yeah, it’s an older printer, but it sure beats the heck out of spending more money. Print quality is still decent. Besides, I bought the printer when I was in a dorm room in 2008, and 8 years later it’s still working through its first toner cartridge. You can’t beat that kind of lifespan!

Installing and configuring CUPS to share the printer was easy, but the problem was that the drivers for the printer didn’t actually work. To Google I went! The easiest answer looked like it was going to be simple! Download a package from Brother’s website, type in the model number, and it will automatically configure and install drivers. Nope! That didn’t work. Back to Google we go! The Open Printing website had a PPD file for the printer. Downloaded and configured it was time for a test print. I had blinking lights on the printer, but no actual printing action. So what actually clued me in? A page on the Ask Xmodulo website.

As it turns out the PPD file from Open Printing was the correct file, I just needed to pair it with another driver available from the apt-get repository. So, here’s what I did (without the failed steps!) from start to finish.

  1. Followed the instructions at Lynsay’s Little World. Her guide was phenomenal and made everything incredibly easy to setup.
  2. Logged into CUPS on the Raspberry Pi from a web browser at http://192.168.1.3:631 and added the printer. When it comes time to choose a driver, choose this PPD file from the Open Printing website.
  3. Back on the Raspberry Pi’s terminal install the package printer-driver-hpijs by running this command:

sudo apt-get install printer-driver-hpijs

  1. Restart the CUPS service.

sudo /etc/init.d/cups restart

At this point you should be able to do a test print out of CUPS and have it spit out some real printed materials!

I hope this guide helps you! If it does, let me know on Twitter!

No Network Connection on Raspbian Jessie with Static IP

This week I bought a Raspberry Pi 3 to function as an AirPlay streaming receiver, print server, and HomeKit hub for my Belkin WeMo devices. (I haven’t gotten to those projects yet, but I will post status updates as I go.) I sat down to start this project. Step 1: Set a static IP. Starting in Raspbian Jessie, which became available in September 2015, IP addresses are no longer set in /etc/network/interfaces, but rather in a different file, /etc/dhcpcd.conf. It has a slightly different format, so an example is provided below.

interface eth0

static ip_address=192.168.0.80

static routers=192.168.0.1

static domain_name_servers=8.8.8.8

In my case I replaced eth0 with wlan0, since I was setting this up over the Wi-Fi. After making these changes I was able to connect to the static IP from another computer via SSH, but unable to connect out to the internet. Running ifconfig yielded an empty gateway. You can also run this command to check your gateway settings:

sudo route -n

If you’re able to confirm the gateway is missing you can set one by running:

sudo route add default gw 192.168.x.x

After setting this outside internet access should start working.

Credit to this thread on StackExchange for being the page that led me to this solution.

UPDATE: It looks like this may need to be run on every boot. I will investigate further.

UPDATE 2: (12/10/2017) It turns out I’m just dumb. The above text originally read “static router” not “static routers.” The second route add command isn’t needed when you do this correctly.

Block Windows 10 Upgrade on Domains

Windows 10 Upgrade Icon

The “Get Windows 10” app sits patiently in the Windows 7 system tray, waiting patiently for it’s next victim.

Last week Microsoft started  pushing their Windows 10 upgrade on Corporate users whose computers are connected to domains. The easy upgrade path is nice, but there are a lot of reasons you wouldn’t want to upgrade. Fortunately, they made it pretty easy to block the upgrade on domains if you have a Group Policy setup.

  1. Go to Group Policy Management and find the domain policy that your users use.
  2. Right-click on the policy and choose “Edit”
  3. Group Policy Management Editor

    Group Policy Management Editor

    Navigate to Computer Configuration > Administrative Templates > Windows Components > Windows Update.
  4. Set “Turn off the upgrade to the latest version Windows through Windows Update” to “Enabled.”

When your computers reset or receive an updated Group Policy by running “gpupdate /force” the Upgrade to Windows 10 app should tell you that the administrator has blocked upgrades.

Blocked

I had some trouble getting this to work as a local policy on non-domain computers, so I took the alternate route of installing GWX Control Panel.

Veeam 9 Backup & Restore Console on Local Desktop

VeeamBackupConsoleOne of the best features with Veeam 9 is that you no longer need to RDP to the server that houses Veeam to restore files or change backup settings. It can now be done from a console installed on a local desktop. On the PC you want the console installed, just put the disc in or mount the ISO. Instead of choosing to install the full suite, choose “Veeam Backup & Replication Console.” The installer will check to make sure your computer has all the dependencies installed.

When it’s installed, point the Console to the Veeam Server’s IP Address or Host Name, and type in the required username and password. You’ll now be able to run Veeam without remotely connecting to a server! Enjoy!

Reset Samsung Galaxy S5

Quick tip for y’all today: To restart a Samsung Galaxy S5 phone hold the power button and the volume up button until the phone restarts. This is useful for people that have hard to remove cases on their Galaxy phones.

Microsoft Edge Crashing on Launch

EdgeI have no idea what I did, but this week Microsoft Edge started crashing on launch on my Windows 10 Desktop. It worked for other users, but not for me. Here’s what I did to fix it:

  1. Delete the contents of the folder C:\Users\jsmith\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe, where jsmith is replaced by your user name.
  2. Hit Ctrl+Shift+Esc to bring up Task Manager.
  3. In Task Manager choose File > Run new task.
  4. Type in Powershell and make sure the Create this task with administrative privileges option is checked.
  5. In the Powershell window enter this command.

Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdge | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml” -Verbose}

After running the command you should be able to launch Microsoft Edge again!

 

Move KiGB Saves to New Mac / KiGB Save File Location

Pokemon Red in KiGBDo you use KiGB? Did you get a new computer? Surprised to see that just copying your ROMs over wouldn’t suffice? I know, I was. It took some digging, but I eventually found where the ROM save files are stored.

/Users/[username]/Library/Application Support/Bannister/KiGB/Battery RAM

Quick note: Save files have to have the same name as their ROM file. Hope this helps!