Add your feed to SetSticker.com! Promote your sites and attract more customers. It costs only 100 EUROS per YEAR.

Title


Description

TAG 15/20


Your domain [ rss | feed ]


Pleasant surprises on every page! Discover new articles, displayed randomly throughout the site. Interesting content, always a click away

AntonioBarrio.com

Random musings and tech related information.

Getting Xbox Live Service to work with AT&T Fiber 10 Aug 2022, 4:05 am

The first thing you have to do is log on to your AT&T device. In my case, it's a BGW320-500. The default address will be 192.168.1.254. Open a browser and navigate to that address, once the page opens, select the Firewall option.

Firewall

After clicking on Firewall, you will be presented with another set of options. From those, select NAT/Gaming. 

NAT/Gaming

After clicking on NAT/Gaming, you will be prompted to enter a Device Access Code. This can be found on the back of your device. 

Access Code Required

When you get to the NAT/Gaming section, you will see a button at the bottom called Custom Services under the Manage Custom Services section. It's here where you will have to enter some TCP and UDP ports required by Microsoft Xbox Live services.

Custom Services

Under the Service Entry section, you will fill out all the ports that you need to get the service working as intended. Under Service Name, you can put anything you want, I chose to type Xbox Live followed by the port number. Since there are no port ranges, only individual ports, you will enter the port number on all fields under Global Port Range and under Base Host Port. Under Protocol, select the indicated selection. It will look something like the following picture:

You will enter all the ports listed under Microsoft's Xbox Live documentation. The complete list of ports is listed below. Click here to see MS Xbox Live port documentation

  • Port 88 (UDP)
  • Port 3074 (UDP and TCP)
  • Port 53 (UDP and TCP)
  • Port 80 (TCP)
  • Port 500 (UDP)
  • Port 3544 (UDP)
  • Port 4500 (UDP)
When you enter all the ports, your list should look something like this:


After you're done entering the service list, click on the button at the bottom, Return to NAT/Gaming.

The next step will be to assign all those ports to your Xbox. Under Application Hosting Entry, select one of the ports/services that you configured from the drop down list under Service. The second selection will be under Needed by Device, this is where you will select your Xbox. This will give you all your connected devices, make sure you select the right one, then click the button right underneath that says Add. You will repeat this step for all the ports under Service that you previously configured.


When you are done adding all the services, your list should look something like this. Please note that all the ports/services were added to the same device, the Xbox.

Once all these steps have been completed, you can go ahead and power down the Xbox completely. Doing a restart of the device doesn't always work. In my case, I powered down the Xbox and unplugged it for a few seconds before plugging it back in and turning it back on. You should be able to connect to Xbox Live services and your NAT should be set to Open.

Please note that in my configuration I did not setup TCP/80 or TCP-UDP/53. These ports are used by web and DNS services and I don't want to take any chance in possibly affecting other devices in my network. I also did not need them to get the NAT status to Open under Xbox Networking.

Opening links with Microsoft Edge or Google Chrome 10 Nov 2021, 9:02 pm

I recently had a request to setup certain website links to open with a specific browser. In this case, it was with both Microsoft Edge and Google Chrome. For most people, creating links is as simple as right clicking the location where you want your link, then selecting New > Shortcut. Depending on what your default browser is, the link will be opened by that browser. In many corporate environments, however, Internet Explorer is still the default browser. In these cases, as long as you have a modern browser installed, you can create a shortcut to have a link open with a specific browser.

Google Chrome

In the case of Chrome, you will have to create a shortcut that points to the executable, followed by a URL switch and finally the URL you want the browser to open. It will look something like this:


       "C:\Program Files\Google\Chrome\Application\chrome.exe" -url https://www.google.com
 

This path code assumes that Google Chrome is installed in its default location, otherwise adjust that to reflect your installation location.

Microsoft Edge

In a system that has Edge installed, then the path code just needs the Edge URI followed by the URL. It will look something like this:


       microsoft-edge:https://www.google.com
 

As you can see, the solution is a simpler one, as you do not have to worry about installation location. This is a system wide setting and you just have to add the URI as a prefix, followed by the address you want to point to.

The above screenshot shows an example of what a MS link configuration would look like.

Displaying serial number and model of Pure Storage array 30 Sep 2021, 8:51 pm


The command listed below will display the model, serial number and part number of controller 0. You can substitute CT0 for CT1 to get the information on controller 1. 

       
       purehw list CT0 --spec
 

Server 2019 - Windows 10 Start Menu & Display Settings Not Working *FIXED* 22 Jun 2021, 10:32 pm


Recently I was setting up a new Microsoft Windows 2019 Server image and as part of our onboarding process, we are required to patch and secure any new system. Seeing how Server 2019 is a new O/S in our environment, we didn't have any automation script to take care of all this. Part of the onboarding consists in either disabling services that are not needed or providing a justification for our baselines. As we were tackling this step, a user reported that the Start Menu wasn't working. I checked, under my profile I did not experience this issue. Another user who had logged in also did not have the same problem. 

I went ahead and started looking up and remembered that we had a similar issue with Windows 10, the fix was making sure a couple of services were running and then running the following command in Power Shell:

       
       Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
 

Unfortunately that did not resolve the issue for the user. It wasn't until I tested another server that I started experiencing the issue. The above fix did not work for our Server 2019 image. At this point I decided to get Microsoft involved. We tried different variations of the above fix, a lot of permissions and other things but one thing we noticed that was that the ShellExperienceHost service was not running under affected accounts. No rhyme or reason. We tried local users, other domain users and the issue was there with any new user. Some of the errors that were being logged were ID 69 with source AppModel-Runtime.

The errors would generate any time you left clicked the Start Menu or you attempted to launch Display Settings and they would mention ShellExperienceHost, Cortana or another app.

Below is an example of the error you would receive whenever you would try to launch the Display Settings.

After a lot of back and forth with Microsoft and doing my own testing, it turns out that I disabled a critical service that was the culprit for all these issues. Microsoft tech support did not have this documented anywhere according to the tech whom I worked with, thus me posting this in case someone else runs into a similar issue. The service in question is the Capability Access Manager Service (camsvc). The description for the service states that it handles Universal Windows Platform (UWP) application access and capability. Whatever the case, I'm glad this was resolved after all the troubleshooting we ended up doing. 

tl;dr - do not disable the camsvc (Capability Access Manager) service as it will break your start menu and other Windows 10/Server 2019 features. 

Pure Storage Testing SMTP & Settings 13 Oct 2020, 3:44 pm


Recently some changes within our network came about and had to make some changes to the SMTP alerts for our Pure Storage arrays. Since it's typically one of those things that you set and forget, I didn't pay much attention until now. If you're trying to test your changes/settings, the command changed in PurityOS 5.3.7 from the documentation that I found. Earlier versions you only had to run the following command from an SSH prompt:

       
       purealert test email@address.com
 

The above code was for the older OS version, on the newer 5.3.7 code (5.3.3 in this case) you need to run the following command:

       
       purealert watcher test email@address.com
 

The purealert command will utilize the settings entered on Settings - System - Alert Routing. Optionally, you can leave out the email address on the command, it will send it to whatever is configured under Settings - System - Alert Watchers. In my case, I don't want to send it to the distribution list so I was entering my email in the above command so only I received those emails.

If I can make a suggestion for the Pure Storage team, please add a test button within the GUI! It seems rather unnecessary to have to open up an SSH session for something this trivial (if this change has been implemented in newer code, thank you!).

Updating HPE Servers with SPP & iSUT 19 Sep 2020, 6:05 am


In my recent attempt to automate and get a better handle of some of the HPE servers in our fleet, I tried to use the HP SUM function of the SPP server remotely. If you're trying to patch a VMware host, especially a Gen10, you will need to make sure you download and configure the iSUT component on those servers from HP. I'll link to the two sites that I used to get a better handle of the steps necessary to proceed with the updates.

  1. The Sleepy Admins - HPE Gen10 SUM iSUT
  2. PLJDesigns - How to install iSUT on HPE Gen10 VMware Servers
From my research, it appears that the new VMware images from HPE already come with iSUT preloaded so if using a recent image, this might not be a requirements. If you're looking for the download links, you can find them for vSphere 6.5 and vSphere 6.7 here:
  1. VMware vSphere 6.5 - HPE Download Link
  2. VMware vSphere 6.7 - HPE Download Link
Nov 23, 2020 Edit - Found the github page from HPE for the iLO RESTful interface that contains a ton of good information. https://hewlettpackard.github.io/python-redfish-utility/


sut –set mode=AutoDeploy
 

Comprehensive Windows Services Examples and Tutorial 16 Sep 2020, 6:44 pm


It's not often that I have to script items due to the nature of our environment, but with an upcoming project, an opportunity (and some time) came up so I decided I would tackle one of the security aspects - disabling services. I'm a tad bit rusty and I need to research some of the newer services that didn't exist in the previous O/S versions, but what better way to automate some of these things, right? Without having to replicate any work or take unwarranted credit, I came accross this site that has plenty of examples of configuring manually, via command line and with PowerShell.

Windows 10 Forums: Start, Stop and Disable Services

Windows Services Features: Essential Tools For Windows Services

Windows Services Listings: Security Guidelines For System Services

VMworld 2020: Attend for free! 25 Aug 2020, 8:43 pm

Have you ever wanted to attend VMware's VMworld but were unable to for one reason or another? Here's your chance to do so this year, for free! Due to the pandemic, this year's conference has moved completely online and it's free to all attendees.

You will be able to choose from over 800 sessions, learning from extraordinary speakers across the globe. Discover what’s new with the latest product releases, get expert tips and tricks, and learn how other customers are transforming their business with VMware solutions.

VMworld 2020 Registration Link

Recycling Your Pedometer/Fitness Tracker 12 Aug 2020, 2:30 am

Recently I decided to replace my Fitbit with an Apple Watch so naturally I wondered what I should do with my old tracker and its accesories. After a few Google searches and a lot of dead ends, I found an organization that will donate them to underserved populations. If interested in donating your tracker, they will take the following items:

  • Used and fully working trackers
  • Used trackers, with broken or missing accessories
  • Accessories, such as chargers and bands
For more information and shipping address, please visit their site at: www.recyclehealth.com

VMUG Advantage Discount Code 3 Feb 2020, 3:59 pm

Enter the code ELPASO20 to get 10% off when purchasing a VMUG Advantage subscription. Some of the benefits of being an Advantage member:

  • 1-year VMware licenses
  • $100 off VMworld (Stackable!)
  • 20-35% off training discounts
  • Test Drive by VMware

VMware vSphere 6.7 U3 Bug 7 Oct 2019, 10:24 pm

The Errors

VMware vCenter 6.7 U3
We recently encountered an issue with our VCSA appliance. We first noticed it because the backups for the weekend failed and upon further inspection, it appeared that the appliance failed. The login screen had a cryptic error. A reboot of the appliance seemed to work initially, but once I logged into vCenter, no hosts were being displayed.

I then decided to SSH into the appliance and was able to check the services. What I noticed was that a number of them were in a downed state. The command to restart all of them did not work. If you would like to check the status of services, run the following command from your SSH prompt:

service-control --status

If you want to attempt to start all the downed services, run the following command from SSH:

service-control --start --all

In my case, that command was unable to get the other services to start. My solution was to start them individually and that seemed to do the trick. To start services individually, run the following command from the SSH prompt:

service-control --start servicename

Once I ran the command on multiple downed services, I got the appliance to work once again - or so I thought! The fix only lasted for a few minutes. After failing to run the failed backups, the login screen started displaying the same cryptic message as before. It was at this point that I started looking into the VCSA Appliance Management interface. It was here that I noticed that some services were down and that one of the partitions was almost full.

The Fix

VCSA 6.7 Hard Disk 8 /seat
Once I realized the database partition was nearing capacity, I looked into expanding it just to see if that was the root cause and hoping it would fix the issue. In my case, Hard disk 8 (/seat partition) was at 90%+ and originally sized at 10GB. If you're in a bind, you can grow the VCSA disk by going to the host where the virtual server is running and adding space to that disk. Once the space has been added, you will need to run a command in VCSA via SSH. Log in to your appliance and run the following command to allocate the newly added space to the seat partition.

com.vmware.appliance.system.storage.list

This command will grow the partition with the newly allocated storage. If you check the Disks section under Monitoring in the Appliance Management, you might noticed that the new space is not being shown under Utilization. In my case, a reboot of the appliance resolved this graphical glitch. It was at this point that I was finally able to successfully run our backups and go back to normal - for about a week! As in the previous time, the VCSA appliance started displaying the same symptoms that did not allow us to log in and manage the hosts or back up any virtual machines. I added some additional space, but I knew I was on borrowed time and had to open a case with VMware support.

The Bug & Workaround

Once I opened a case and got a call back from support, it didn't take long to determine that the root cause of this issue is a bug in vSphere 6.7 Update 3 that is currently affecting Cisco, Dell, HP and possibly other platforms. The hosts WBEM starts to report tons of events, causing the database to fill and forcing the vpxd service to stop. If you look at the following graphic, you'll see how it correlates with the upgrade of our hosts. The initial hosts were upgraded to U3 on the 13th, with the rest being upgraded on the 19th. The dip displayed in the graphic was me adding additional space to the partition where the database resides.
Seat Partition Space Utilization Trend (Disk 8)
From reading comments online, it seems that if you upgrade your hosts to U3 but leave VCSA on U2, you will not experience this issue - but that's really going against recommended practices of updating your VCSA before your hosts. The work around is comprised of adding additional space to the disk and partition where the database resides, or truncating some of the tables on your DB and additionally stopping the WBEM services on the hosts. To stop the WBEM services, you'll need to SSH to every host connected to your VCSA and run the following command:

esxcli system wbem set --enable false

Support warns that you will need to run this command if you reboot your host, so keep that in mind. If you would like to shrink the database size, you will have to truncate some of the tables by running the following commands. Start by logging on to VCSA via SSH then connect to the database, You will first need to launch BASH by running the shell command.

shell

Once you're at the BASH prompt, run the following command to access the database prompt:

/opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres

Once you're at the Postgres command prompt, run the following command to determine which tables you will need to truncate to clear space:

SELECT nspname || '.' || relname AS "relation", pg_size_pretty(pg_total_relation_size(C.oid)) AS "total_size" FROM pg_class C LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace) WHERE nspname NOT IN ('pg_catalog', 'information_schema') AND C.relkind <> 'i' AND nspname !~ '^pg_toast' ORDER BY pg_total_relation_size(C.oid) DESC LIMIT 20;

The results from this command will look a little something like the screenshot displayed below.
VMware vSphere VPX Event Table
From the results select tables to truncate by running the following command:

TRUNCATE table VPX_EVENT_XX;
TRUNCATE table VPX_EVENT_ARG_XX;

Repeat the process until you're satisfied with the amount of space cleared on the affected drive and do not forget to disable the WBEM service on your connected hosts. For additional information on this bug, check out the documented KB 74607.

Home VPN Solution with Raspberry Pi 1 Oct 2019, 4:19 pm

I recently started looking into setting up a VPN to my home network without having to rely on a specific vendor's solution and I came across PiVPN. I've never played around with a Raspberry Pi of my own, but this looks like a good way to jump into it. Thankfully there seems to be plenty of information out there on setting this up, including this very good video tutorial that covers just about every aspect of it (DDNS, port forwarding, profiles, etc).

PiVPN: How to run a VPN server on a Raspberry Pi


Certificate and Key Management - PKI 30 Sep 2019, 3:22 pm

While I was looking into managing internal certs, I came across this product and thought I'd share with others. I have yet to play around with this, but I plan on it. I figured instead of adding another bookmark to my browser and then forgetting about it, I might as well create a quick blog post and add the link here.

X - Certificate and Key Management (Info and Tutorial)

Microsoft SQL Memory Limit Recomendations 5 Sep 2019, 9:12 pm

In my quest to look for the best advice in setting limits as to how much RAM a Microsoft SQL server consumes, I came across a few recommendations and ended up settling on this rule of thumb.

Leave 4GB or 10% of total RAM - whichever is higher - for system use. It's a good starting point and you can adjust that figure from there.

For more information behind the methodology, you can go here for a better explanation: Brent Ozar - Memory Dangerously Low or Max Memory Too High.

Marinated Grilled Skirt Steak 10 Aug 2019, 11:32 pm

Ingredients

  • 1 orange, thinly sliced with peel
  • 1/2 onion, thinly sliced
  • 4 garlic cloves, halved and smashed
  • 2 1/4 lbs skirt steak
  • Salt
  • Pepper
  • 1 cup light-colored beer (e.g., lager style)
  • 1/2 cup soy sauce

Directions

In a wide, shallow glass baking dish, scatter half of the orange slices, half of the onion slices and half of the garlic pieces on the bottom of the dish. Sprinkle the steak all over with salt and pepper and put in the dish on top of the orange and onion slices. Scatter the remaining orange, onion and garlic over the steak and pour in the beer and soy sauce. Cover with plastic wrap and marinate for 1 hour at room temperature or up to overnight in the refrigerator.

Set grill to medium-high heat. Remove the meat from the marinade and discard the marinade. Grill the steak to desired state, about 4 minutes per side for medium-rare.

Introduction to MS SQL Backup and Restore 31 Dec 2018, 6:27 pm

In trying to find some explanation for some MS SQL 2012 settings, I came across this video that I found useful, maybe someone else will find some value as well.


Taking Apart HP 15-db0082nr Laptop 28 Dec 2018, 11:19 pm

I recently purchased an HP 15-db0082nr laptop from TigerDirect when I was looking for a low-priced unit. The most effective upgrade for any laptop with a traditional hard drive is to swap it for a solid state one. Unfortunately, my Google-Fu skills did not yield any results when attempting to find a video on YouTube or a repair manual anywhere else online to attempt the upgrade without breaking anything. 👀

I ended up attempting to disassemble it and figured I'd take a couple of pictures to show what you need to be on the lookout for. You'll need a small phillips screwdriver and either a plastic tool or credit card to separate the plastic cover without damaging it. I definitely do not recommend that you use a flat head screwdriver for this stepor you can risk damaging the cover. As you might be able to see, there are 10 screws total that you will need to remove. Unfortunately 7 of those are hidden under the rubber strips under the laptop. These are attached some double sided tape so be very careful when removing it.


Replacing the HDD with an SDD is pretty simple, just remove some screws to detach the mounting bracket and replace the drive. You'll also need to remove the optical drive before taking apart the cover. Another thing you will notice is that this laptop only has one DIMM so you simply cannot add another stick of RAM, but that's to be expected with a laptop in this price range.


While these are not step-by-step instructions, I hope they help someone that might be in the same situation I was in.

vSphere Update Manager: Status 401 OK 4 Dec 2018, 11:05 pm

I recently upgraded our vCenter environment to version 6.7 Update 1 and started noticing that Update Manager related tasks and windows were not displaying and instead a red banner with 401 response error kept coming up. Unfortunately I was unable to find any resolution when the issue first came up, but more recently I found that it only manifests itself if you use Firefox as your browser of choice, which is in fact the scenario I've been facing.

VMware suggested workarounds:
  1. clear your Firefox browser cache
  2. use a different browser.
A fix should be upcoming, until then, those are your possible solutions. Source: VMware KB59696

OS Optimization Tool 1 Nov 2018, 9:46 pm

I recently came across a tool to optimize your desktop OS as long as it is Windows 7 or newer. This tool does not support server OS, so take that into consideration. Also, this tool is built primarily to optimize virtual desktops, so double check any changes on a physical desktop if you decide to use it for that purpose.

Download Links:

VMware's OS Optimization Tool
VMware OS Optimization Tool Guide

Joining vCenter Server Appliance (VCSA) to Active Directory 1 Nov 2018, 9:21 pm

Joining Active Directory with vCenter Server Appliance (VCSA) has been simplified with every generation of VCSA, instructions to joining VCSA 6.7 to AD can be found at Elasticsky's site.

https://www.elasticsky.de/en/2018/10/joining-vcsa-to-active-directory/

Apple iPhone Music App Not Listing Artists 8 Apr 2018, 10:25 am

I recently replaced my iPhone 6 with an iPhone X and I finally decided to add some of my music collection over to it. Since I keep all my media on a NAS, I do not have any libraries listed under iTunes. I've always managed my music on the iPhone separately. I'm used to dragging and dropping albums onto my device.


For whatever reason when I did that earlier, it was not grouping songs as albums OR listing the artists. I had a hot mess with all the songs listed individually and not being able to sort by album or artists is definitely not ideal. My Music app looked something like this:


Those are all songs from the same album, which ideally should just show the album name, not every individual song. The other thing is if you looked under albums, each song was listed individually, all with the same album name. If you looked under artist, the artist name was NOT shown on the list. I found a workaround, and while not ideal or pretty, it seems to work every time. Instead of dragging and dropping the complete album, I copied over one song, then a second one, and that grouped them together. At that point, you could copy over the rest of the songs and they were listed under one album. It seems to be a hit-or-miss if you copy over the complete album so I have just gotten in the habit of copying over a pair of songs first.


As shown on the last picture, that was the expected behavior. All the songs are now under one album and the artist is also listed under the library. Hopefully not too many people are experiencing this issue, but just in case, I hope it can help someone out.

Using Verizon's Samsung S7 on T-Mobile Network 10 Oct 2017, 5:43 pm

I'm posting this mostly for my documentation purposes. I might add screenshots and more information as I go through this process. Currently trying to acquire a Samsung Galaxy S7 from Verizon to be used on the T-Mobile network.

Understanding RDS CAL Licensing Models (Device vs User) 21 Apr 2017, 1:59 pm

There's a lot of information regarding Windows RDS Device vs User licensing and the scenarios where you should use either model. On top of that, you also have Windows versions to muddy the waters a little more. Thankfully, there's a Technet article that explains all this with a couple of Matrix diagrams to make it easy to decipher and for future reference.

Licensing RDS with CALs - updated 11/21/2016

Disabling UAC via GPO 19 Jan 2017, 6:39 pm

There are four Group Policy settings that you need to configure to effectively disable UAC. They can all be found here:

Computer Configuration -> Policies -> Windows Settings -> Security Settings -> Local Policies -> Security Options

  • User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode (set to Elevate without prompting)
  • User Account Control: Detect application installations and prompt for elevation (set to Disabled)
  • User Account Control: Run all administrators in Admin Approval Mode (set to Disabled)
  • User Account Control: Only elevate UIAccess applications that are installed in secure locations (set to Disabled)
Source: Subclassed

Manually Updating VMware vSphere/ESXi (v5.5/6) 16 Jan 2017, 1:18 am

One of my recent projects consisted of updating all of our vSphere 5.5 clients, unfortunately, these hosts are not on an Internet accessible network, same with VMware Update Manager (VUM). The easy solution was to download the patches, import them into VUM and go at it. For the majority of hosts, this worked perfectly, for the ones that didn't, I really didn't feel like troubleshooting so I looked at updating them manually. The process is relatively simple, upload the same updates you placed onto VUM onto the local datastore and then run the CLI commands. Since someone already took the time to explain this with more detail, I'll go ahead and link them here:

http://www.vladan.fr/how-to-install-latest-esxi-vmware-patch/

Page processed in 0.514 seconds.

Loading Offers..
Home Privacy Policy