Thursday, September 15, 2022

Installing VMWare Workstation Pro on Ubuntu

 Environment: Ubuntu 20

Software File: VMware-Workstation-Full-16.2.4-20089737.x86_64.bundle


Bundle files obviously don't do anything. To make the file executable, go to the terminal and type:

chmod u+x (filename)

then

sudo ./(filename)


In this case:

(Change to directory where the file is located)

chmod u+x VMware-Workstation-Full-16.2.4-20089737.x86_64.bundle

sudo ./VMware-Workstation-Full-16.2.4-20089737.x86_64.bundle


for VMWare,

sudo apt install gcc

sudo apt install make

sudo apt update

Monday, December 13, 2021

Updating DNS servers via command line

Problem: Updating DNS to a static address on a subset of users.
No VLANs
No network segmentation
Basically, can't be done via DHCP due to hardware and previous configuration limitations.

Using CMD, the DNS servers can be changed from DHCP to Static, if you have a remote tool (LogMeIn, Splashtop, etc) that can connect to the computers and run CMD line instructions, this could help. WMIC node: or powershell may allow you to run the same if your environment is compatible.

Find the name of the interface:

netsh interface ipv4 show config

Also, ipconfig/all will work

Update DNS to static:

netsh interface ipv4 set dns name="(InterfaceName)" static 1.1.1.1

Add second DNS server:

netsh interface ipv4 add dnsserver "(InterfaceName)" address=8.8.8.8

Sunday, August 16, 2020

Mac Tip: Full screen browser

 I accidentally found out that Control+Command+F makes the browser full screen. The same as F11 in Windows.


The more you know.

Tuesday, June 16, 2020

You no longer have access to Planner

I had a fun one recently, I was looking through the different things I could do to a Planner (Microsoft Tasks) and accidentally Left the plan. This resulted in me being kicked from the Team (one where I was the owner) and with me, came the files... All the files started to be deleted one by one, they went to the recycle bin so they were easy enough to be restored, but weird anyway.

So, you accidentally left a Plan and now that you're part of the Team again, you get the following message


Going through planner online gives you the option to request to join the Plan, but those requests go no where.
No one that is currently part of the plan can add you, and once leaving and rejoining the plan, it says you're part of the plan, even though you can access.

How I fixed it:

Go to the Sharepoint of the Team.
Go to Conversations, this will open the Outlook Web App for the Team.
Click the 3 dots and go to Planner


For me, this opened up Planner web and restored my access.
I was also able to access the Planner tab in the Team.

Thursday, May 21, 2020

You can't add planner to a private channel in teams! Or can you?

Spoiler alert: you can.

Once the planner/tasks group is created, get a link to the planner/tasks and make a website link in the private channel.

Elegant? no
Effective? yes?

Control Private Channel Creation in Microsoft Teams

Well, private channels can get out of hand.
I had some employees make private channels, leave them, and it resulted in orphaned channels that no one could access. Microsoft will probably come out with powershells to take ownership, but as of now, I can't find anything.
So...
Like all admin solutions, I want to take it away.
The hammer approach is to remove employees from team ownership.
But what if you (IT) don't want to manage every teams members? Which is a PITA.
Teams Policies!
In the MS Teams admin center
Teams>Teams Policies
There it is! Create Private channels. I'll just turn that off. I'm an admin, so I should still be able to make private channels.
Turned it off, tested making a private channel, good to go.

BUT WAIT... there's more.

Any O365 change takes 24hours to do anything. In 24 hours I couldn't make private channels either. DOH!

So I can create a new one, but then I'd have to add EVERY PERSON TO THE POLICY...
Or...

What worked for me:
I left the Global policy as follows
Custom policy:no
Discover private teams:Off
Create private channels:Off

Then I created a new policy
Custom:yes
Discover private teams:Off
Create private channels:On

Then I added myself and the other admins to the new policy, 24 long hours later everything is working well.
I can create private channels, and no one else can, unless I say they can. Because I am the admin, and that's how it works.

If you're reading this, I assume you have already completed this step, but if not, here is the document to restrict group creation:
https://docs.microsoft.com/en-us/microsoft-365/admin/create-groups/manage-creation-of-groups?view=o365-worldwide

Monday, March 16, 2020

Slow NAS with Ubuntu and mapping a sabma share to fix it

Installed TerraMaster F4-210 with Refurb Hitachi 7k4000 drives in Raid 0, so it should have been pretty fast.
When connecting to the drive and moving files, I was sitting at about 50MB/sec, a few spikes to 60, and some drops to 40. While disappointed, I saw people getting more like 30MB/sec, so I figured that's all I'd get.
Moving on, I knew that I needed to have the NAS mount on boot for my Plex server, so I looked into that. I used a Samba share, using this website's directions:
https://www.ghacks.net/2009/04/19/auto-mounting-a-samba-share-in-linux/
sudo mkdir /[name]
 

My fstab entry:

(remember, sudo gedit to get to the graphical text editor to edit this file)
//[SAMBA IP/FOLDER] /{DIRECTORY] cifs credentials=/[PATH TO CREDENTIAL FILE],uid=1000,gid=1000 0

for the credential file, create a doc with:
username=[USERNAME]
password=[PASSWORD]

Note:
Install cifs with sudo apt install cifs-utils

Cool, this works.

BUT...

When I went to transfer files to my NAS, I jumped to 75MB/sec steady. Some spikes to 88MB/sec as well.

Friday, January 24, 2020

Windows update on Windows Terminal server (Powershell)

This is done on a core server 2016
in powershell

Install print services:

install-windowsfeature print-services

enable the print spooler:

set-service spooler -startuptype automatic

start the print spooler:
net start spooler

if you can't pint the print server, you may have to tweak the domain firewall. Or turn it off with:

set-netfirewallprofile -profile domain -enabled false

Then manage the printers through another server that runs a GUI because you're not a complete masochist.

Monday, November 4, 2019

Microsoft Teams opening up a blank login page

Hello,
I have no screen shots of this, but this is what is happening:
Windows 10, 1903
User opens Teams, it asks them to login then directs to a blank white screen. If you close the screen it brings you to a teams error -4c7
To fix this:
Step 1
(This step is possibly unneeded)
Apps and Features, remove teams. This won't remove it and you will be able to uninstall it over and over without it removing.
Repair Office, a quick repair is all that's needed. Then Teams will be ghosted.
This will allow you to delete the teams folders in App Data

Step 2
App Data > Local > Microsoft > Teams/TeamsMeetingAddin/TeamsPresenceAddin

App Data > Roaming > Microsoft Teams

App Data > Roaming > Microsoft > Teams

After deleting those folders, log into portal.office365.com and download Teams again.

User will be presented with the same white screen.
Close it and they will get a web login page, after putting in the email address Teams will pop up with a User/Password screen. Then finally a password on the previous web login page.


Update:
This may be tied to SSO

Update:
You may be able to just delete the Teams folders from App Data

Wednesday, October 2, 2019

Google Bing and Duckduck go redirecting

Note: This was a very specific issue I ran across in my environment. It came down to my Meraki MX84. It was running firmware 14.39 at the time, but I don't think that had anything to do with the issue.

The issue:

Search engines www.google.com www.bing.com and www.duckduckgo.com are being redirected. Yahoo comes up, but the search doesn't work. On some computers there is a TLS error, implying I am not running the right TLS settings (I had all checked). Others are being redirected to com.com.
I am able to get to www.google.com using a proxy server (good old spys.ru, or spys.one as of 2019).  But it thinks I'm a bot and the search itself isn't working.

Running a traceroute, some went to google's IP 172.217.2.4, others went to a forcesafesearch.google.com...
I initially ignored that and kept troubleshooting, but that was key information.

On the MX84, there is content filtering. Under Search Filtering, I had Web search filtering as well as Restrict YouTube content enabled. These were forcing the safe search option in the three browsers, and breaking the connection to the websites. Disabling the search filtering fixed my problem. If you're experiencing the same, might want to check content filtering on the firewall.

Monday, May 27, 2019

Wacom Intuos CTH 480 not working in photoshop

Windows 10 build 1809, fully up to date as of 5/27/2019
Photoshop CS6

Situation:
The Wacom pen would work as a mouse, I could draw in paint, but I could not draw in Photoshop. As soon as PS was the focused window, the pen would not move the cursor at all. The strange part was, I was able to use my finger on the Wacom tablet and the cursor would move in PS, I could even draw if I clicked the mouse button on my laptop and scribbled on the tablet. Obviously no pen pressure. I was able to draw in Illustrator also, weird.

I tried the normal fixes, disabling Windows Ink in the Wacom settings, even disabling Windows Ink totally with registry edits, but non of this helped.

What ended up fixing this is uninstalling all Wacom and reinstalling. Now, I did this uninstall/reinstall dance multiple times. The time it ended up working I did this:
Went to Device Manager (right click This PC and go to manage) and uninstalled the Wacom Tablet, including drivers (located under Human Interface Devices).
Then I uninstalled all versions of Wacom in Apps & Settings.
I downloaded and installed 6.3.34-3
Link to driver homepage: https://www.wacom.com/en-es/support/product-support/drivers
Direct link to driver: http://cdn.wacom.com/u/productsupport/drivers/win/professional/WacomTablet_6.3.34-3.exe

If these don't work, find the most recent driver on the wacom website. And who knows, maybe microsoft will auto recognize these down the road, like they do with wireless mice and keyboards. Making this whole post irrelevant.)

Once that version is installed, and Adobe is all up to date, go into Photoshop and move the mouse, if it works and its still not writing, make sure to click the buttons at the top of Photoshop for Always Use Pressure for Size.

ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor'

 I tried a couple things, downgrading, reinstalling, followed some github links talking about /usr/local/lib/python3.10/dist-packages/basics...