Saturday, May 27, 2023

Remote Desktop Connection Stuck In Please Wait State

Resolve the Please Wait state in RDP

I found this solution in the Q&A section of Microsoft Learn. Credit goes to the original author.

This process will involve creatating an .rdp file, and editing it in notepad and adding a flag which will prompt the user to enter their password.

  • Get the ipaddress of the machine that is stuck in the Please Wait state.
    ping [server] -4
    -4 flag ensures that IPv4 address is used.
  • Open Remote Desktop Connection application.
    Start -> Remote Desktop Connection or Start -> mstsc
  • Enter the IP address of the machine noted in the above step.
  • Click on the Show Options button.
  • Click on Save As and save the configuration to a file.
  • Navigate to the directory where the rdp configuration file is saved. Right click on the file, and open the configuration file with Notepad.
  • Add the following to the bottom of the file and save it. This option will turn off the Network Level Authentication therefore the user will be prompted to enter the password up on connecting to the server.
    enablecredsspsupport:i:0
  • Once the file is saved, double click on it, so launch Remote Desktop Connection and click on Connect. Click Yes on the next dialog box to connect despite certificate errors.
  • This should show a Windows login page, and up on logging in, will get past the Please Wait screen.

Reset Session

Another way to resolve this issue is resetting the session. It is important to note that doing this will log off the user, therefore any running processes will be terminated.

  1. Open Powershell in Administrator mode on another computer
  2. Run the following query -
  3. "query user /server:[server_name]"
  4. Take note of the sessionname
  5. Run the following query -
  6. "reset session [session_name] /server:[server_name]"

This should reset the session and allow logging into the server via remote desktop.

In addition to this, I was having an issue when using Remote Desktop Connection Manager the session would get stuck in a Please Wait state. I was not having this issue when using native Windows RDP.

I found a potential solution on this following page -
RDP to Windows 10 hangs at Please wait screen

Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Connections

At that level Enable the following setting
- Restrict Remote Desktop Services User to a Single Remote Desktop Services Session

Sunday, March 19, 2023

Private Internet Access - Request Timed Out Issue

Short Story

I had to update the firmware on my TP-Link 8 Port Gigabit Switch to resolve the connectivity issues when using a VPN client. I installed Build 20220930 (Published Date: 2022-10-12 ) and that took care of the problem.

Long Story

My plan was to self host my blog using PIA VPN's static IP feature. My website is currently on Blogger, and I get the feeling that Blogger has been abandoned by Google, and won't be around for much longer. Also, this will be some much needed experience with some basic frontend web development, and I could create my own CI/CD process etc.

I did not want to host the website on my main server, so I decided to provision a Windows 11 VM (my Linux skills are subpar, and also I get to play with Windows 11, which I haven't a chance yet) and create my first prototype website. I did the necessary networking in VMWare Player 17; I created a bridged connection so that I could RDP into the VM if I needed to.

Having installed the PIA VPN client, I noticed that my connection was extremely unstable. Running the following command would result in Request timed out.

ping cloudflare.com -t

At first I thought there was something wrong with the VPN service. I disabled the firewall, tried a combination of VPN related settings, and nothing seemed to help. I began searching for any reported outages etc., but there didn't seem to be any. NOTE: I have not yet purchased the static IP. I was only testing the viability of using a VPN to host a website and if I couldn't even get a stable connection, there is no point in self hosting.

After many hours of troubleshooting over a course of few weeks, I gave up on the idea until yesterday when I decided to give it another go. As a part of troubleshooting process, I installed PIA VPN (with default settings) on the main home server, and noticed the same issue. Whenever I am connected to VPN, I had a ton of packet loss. I realized that there was something else going on here, and its not just the VM or PIA service that was having issues.

I decided to connect to PIA VPN (with the settings shown) from my main gaming machine, and monitored ping to cloudflare.com at the same time from both the main server and gaming machine, and I noticed that the gaming machine had no packet loss whatsoever. This obviously rules out PIA VPN.


At this point, it dawned on me that the gaming machine is connected directly to the cable modem, whereas the main server is connected via the TP-LINK switch. I started exploring the settings of the switch itself through the web interface and changing them did not help. As a last ditch effort, I decided to upgrade the firmware. The existing firmware was from 2021 version. Unfortunately, I did not take a note of the exact firmware version. I attempted to update to TL-SG108E(UN)_V6_1.0.0 Build 20230218. This was unsuccessful. I downloaded the next latest version, which was from 2022, TL-SG108E(UN)_V6_1.0.0 Build 20220930.

Updating to this version was successful...sort of. Once I kicked off the upgrade process, the switch rebooted, but the Easy Smart Configuration Utility would show that the update was still at 84%, however, this might just be the UI not updating, because closing an reopening the utility showed that the upgrade was successful.

Following the upgrade to TL-SG108E(UN)_V6_1.0.0 Build 20220930, I am no longer getting the packet loss. Hopefully, this will help someone out there looking to resolve connectivity issues, especially when using a VPN service.

Monday, January 30, 2023

Fix Error When VT-x (Virtualization) is Enabled in VMWare Player

I was unable to enable virtualization on my Windows 10 VM on a Windows 10 host. I did have virtualization enabled in the BIOS, but that didn't seem to help. When I check the box to enable this feature, Virtualize Intel VT-x/EPT or AMD-V/RVI, I would get an error. 

 

I want this feature enabled to run Docker in my VM.

This is my system configuration:

  • Microsoft Windows 10 Pro
    • Version 10.0.19045 Build 19045
  • Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz, 4008 Mhz, 4 Core(s), 8 Logical Processor(s)
  • American Megatrends Inc. 1.I0, 6/26/2018
  • Installed Physical Memory (RAM) 32.0 GB
  • Realtek High Definition Audio
  • Killer E2400 Gigabit Ethernet Controller
  • Samsung SSD 850 EVO 500GB
  • Samsung SSD 850 EVO 500GB
  • WDC WD10EZEX-08WN4A0

I know my computer is more than capable of running a VM with virtulization. I found several powershell commands out there, and running them did not help. I did some digging and found that certain windows features need to be disabled for virtulization to work in a VM.

I resolved this problem by doing this:

  1. Open Turn Windows features on or off.
  2. Turn off the following features:
    • Hyper-V
    • Virtual Machine Platform
    • Windows Hypervisor Platform
    • Windows Sandbox
    • Windows Subsystem for Linux
  3. Save and restart the computer.
  4. Open VMWare Player
  5. Select the VM and edit the VM settings
  6. Enable Virtualize Intel VT-x/EPT or AMD-V/RVI

Once the virtual machine is up and running, install Docker. This will require installing WSL2 in the VM. If everything is done right, Docker should start successfully.

Monday, October 10, 2022

VSCode Does Not Recognize Local Git Repository

Opening a local folder that is a Git repository is not recognized as repository in VSCode. 

VSCode asks the user to initialize the folder as a repository even though the folder is already a Git repository. 

VSCode does not recognize the local folder as Git repository


















 
The workaround is to open VSCode as an Administrator. 

Run as administrator


This will recognize the folder as a Git repository. 

Sunday, May 29, 2022

Call of Duty Warzone - First Impressions

DICE released their latest Battlefield 2042 briefing. It was underwhelming and disappointing. They repeatedly insist that they are listening to feedback from the community, yet they continue to persist with the awful specialist system. To add insult to injury, there is only one map in the season 1 update. The only new content we are going to get until then are weapon skins (which are not that great to begin with).

Read more about it here - https://www.ea.com/games/battlefield/battlefield-2042/news/battlefield-briefing-development-update-may-2022

DICE, in their infinite wisdom, decided that the problem with the specialist system was that they were too clean looking, and proceeded to add some smudges to their face.

This is someone's idea of improving specialists in Battlefield 2042

I am at loss for words here. Its sad to see a beloved series, a truly one of a kind franchise suffer this way due to the incompetence of the studio. I decided that I am going to take a break from Battlefield 2042. So what are my options? I could play an older Battlefield game, but I spent approximately 4200 hours in Battlefield 3, Battlefield 4 and Battlefield 1 combined. I want something new.

I started scouring for a new shooter. I know that Call of Duty Warzone is very popular. I played the beta of Call of Duty Modern Warfare (2019), and to me it felt like a bad budget clone of Battlefield 4.

I remember thinking there was a decent game underneath the obnoxious interface, the constant radio chatter, the kill streaks and every other bad decision the designers made to break immersion.

This was 3 years ago. Call of Duty has come a long way since then with the release of Warzone, which is a free to play title. So I decided to give it a try. I was prepared to have to play Battle Royale, but I was pleasantly surprised to discover that there are other modes as well. I am playing the large scale TDM to get a feel for the game, and I will jump in Battle Royale at some point. Maybe.

Technical Details

After an 80GB+ download, I started the game, and it did not like my ultra wide monitor. It launched at a 16:9 resolution and after attempting to install shaders (which it does when you start the game for the first time), it crashed. After a few times of doing this, I started the game, and left it for a while, and it successfully finished installing shaders.

At this point, I was able to customize the graphics settings. When I set the resolution to the native value of 3440x1440, the game would around move all the windows that I have open on my secondary displays. This happens every time I started the game. It was quite annoying. Do developers not realize that most PC gamers have more than one monitor? Its the current year, and its disappointing to see modern games still struggle to work right with a multi monitor setup. In addition to this, any change to the graphics settings would make the game window flicker, and all the other windows I have open would go on a little adventure. Some would disappear entirely, and I would have to use the Move option in Windows to bring them back into view.

The fix was easy enough. Running the game in borderless window mode solved all the problems. I was hesitant to run the game in this mode because Battlefield 2042 had performance issues when running in anything but fullscreen mode. I was impressed with number of graphics options in this game. There are so many ways to tweak the game, and if I had to guess, it will run fine on mid to lower end machines. At the highest settings, the framerates are quite good. I was getting anywhere between 115 - 120 FPS. I did not notice any drops in performance even when there was a lot going on.

The Interface

This game has by far the most obnoxious UI ever. There are almost no options to customize it. I cannot disable any pop ups. There is so much information on the screen at one point, I have no idea how anyone can make any sense out of it. What actionable information is the UI presenting to me, when the screen so cluttered? I have trouble identifying enemies when there is so much on-screen litter.

I was complaining endlessly about how the UI in BF2042 was not good (and I standby that), but in comparison, even at its worst, its not as bad as Warzone.

The awful banner...I could not find a way to disable it.

Everything about the UI is garish. The ads when the game is started, the in game UI and prompts, the music cues, the player characters...it never ends. Its an all out assault on the senses. The developers seemed to have never heard of the concept of subtlety. All this would be alleviated if they simply gave players the options to customize their experience. Something as basic as disabling in game messages is not available.

Even the audio is annoying. The menu music, the screams of Godzill and King Kong in the background, the irritating in game voice over...it just never stops. Of course, its not as bad as Battlefield 2 can be at times.

If I paid full price for this game, I would be livid. I cannot play for more than a couple of rounds because of the overload. I have new found respect for those that I can play this game for hours on end. Maybe I am getting old? Sometimes, I get the feeling that I am in the minority when it comes to wanting a clean, minimalist UI. Often times, I see Battlefield videos where every single UI option is enabled with 100% opacity. I am so thankful that Battlefield allows UI customization.

What is the point of creating a beautiful game, if the UI is constantly distracting and breaking the immersion?

Closing Thoughts

Its not all terrible. Notwithstanding my objections with the game, there are certain things that Call of Duty is doing right. Weapon customization is fantastic. Battlefield can learn a thing or two from this.

There is definitely some fun to be had, but this is not a game that I can take seriously. While it is possible that I missing something here, and I am not getting how this game is supposed to be played. I will play this game until the Season 1 update for Battlefield 2042 is released. I will try to discover as much as I can, and see if there is something I am missing. That said, in an ideal world, I will never resort to installing a Call of Duty game, but the sheer incompetence of DICE made me have to look for another multiplayer shooter.

As much as I am disappointed with Battlefield 2042, I am glad it exists. I shudder to think of a world where Call of Duty is the only viable alternative for me.

Sunday, February 27, 2022

be quiet! Pure Base 500DX Black Review

I purchased this case on Amazon for $107.89 on February 9, 2022.

I was planning on buying NZXT H510 Flow, but I decided against it because I have an MSI GeForce RTX 3080 Ti 12 GB GAMING X TRIO. The length of the GPU is 324 mm (12.76"L x 5.51"H). I was unsure if the case would accommodate this GPU, therefore, I began searching for another case that wasn't too expensive.

This case was listed as being 450mm in length, and it was highly rated on Amazon, so I went for it.


For the most part, I agree that the case is excellent. The build quality is solid, the airflow is very good. It also accommodates a 280mm radiator quite easily. I did not have any issue mounting it on the front with fans pushing outside air onto the radiator (push config).



To get RGB lighting to work, there is a SATA connector that needs to be plugged in to a SATA power cable from the PSU. Provided the front panel is in place, this should make the base RGB effects to work without the need of any software. This is excellent because I do not want to install RGB software to control the case lighting. The out of the box effects are very nice.

However, I did have an issue getting all this to work. After I finished the assembly, RGB lighting wouldn't work. I checked the SATA power cable, and everything seemed fine. I thought something was wrong with the front panel (more on that in a bit). I contacted the support fully expecting them to give me some generic answer.

I was pleasantly surprised when they responded and were actually helpful. The issue was with the connector on the back of the front I/O; this was not fully plugged in. I had to push it into place and that did the trick.

As far as the performance goes, absolutely no complaints here. The fans are very quiet and even under heavy load, I wouldn't say the fans are loud. The case allows for excellent airflow, and the dust filters are much appreciated. Temperatures in idle can vary anywhere from 29C to 35C depending on the ambient temperature, and how long I have been gaming etc. I am quite happy with this.


I certainly do not regret buying this case, but I have two big issues, and I might have reconsidered this case had I known about these.

Removing the front panel is a pain. There are no screws holding it in place, instead its held in place by a notches on either side, and the panel needs to be yanked hard by pulling at the bottom. This is just not good design in my opinion. For a case that costs over $100, I would have expected a better way to hold the front panel.  

The second issue is the length of the case. While the case is barely spacious enough to accommodate as MSI GeForce RTX 3080 Ti 12 GB GAMING X TRIO. There is not enough clearance between the GPU and the radiator to mount a fan on the radiator. For this reason, I had to switch the position of the fans and mount them on the front frame of the case. Its not a big deal, but a full push pull configuration is not possible. There is only enough room for one fan in the pull config. 

The height of the case prevents me from mounting two exhaust fans on the top of the case; the tubing from the radiator uses all the room needed for one fan, therefore I only mount one top exhaust fan. So now, I am left with a spare 140mm fan, and I decided to mount it on the radiator to pull air out. So I now have a full push, and half pull config. Not ideal, but it works just fine.

In addition to this, there is not enough room to mount a mechanical hard drive in the case. This is because while there is a mounting tray in the bottom of the case that is specifically designed for mechanical hard drives, I had to disconnect that to route PSU cables. I tried my best with PSU cable management, but I failed. Therefore, if you intend to use a mechanical hard drive, this is something you will want to consider.

I am kicking myself for not having come across the be quiet! Pure Base 600, which seems perfect for my build. Its even more painful considering its $10 cheaper at the time of this writing.

Friday, February 18, 2022

ARCTIC Liquid Freezer II 280 Review (For LGA 1700)

NOTE for LGA 1700 Owners

Upgrade kits from Amazon are shipping with incorrect number of parts. I had to buy two upgrade kits to get all the parts I needed. The first kit I purchased only had three O-rings, while the second upgrade kit only had three LGA 1700 standoffs. My suggestion, buy two kits and RMA the other once you are done building. Someone at Arctic totally dropped the ball on this when packaging the kits.

Also read the manual very carefully

https://support.arctic.de/lf2-280r6#lf2280installation

And watch this video -


Note - The video shows ARCTIC Liquid Freezer II, but backplate installation, and mounting is the same for ARCTIC Liquid Freezer II 280.

Most importantly, use the right mounting standoffs. I made the mistake of getting the standoffs mixed during the build. This was totally my fault. 


I realized there was something wrong with the setup when I rendered a video, and the temperatures were hitting 100c. I would have expected synthetic benchmarks to do this, but not video rendering.

High temperature when video rendering

Here is an article on Arctic's website that mentions this fact.

https://support.arctic.de/lf2-lga1700

Hopefully all this will become obsolete soon as companies adopt to the new LGA 1700 standard.

Full Parts List


Here is the full parts list from my latest build. I will discuss more about the parts in a different post.

https://pcpartpicker.com/b/6k4nTW

Installation

Out of the box, the fans are mounted on the side with the tubes, with air pushing on to the radiator. I had to the change the position of the fans, and fit them to the back of the radiator. This was necessary to accommodate the cooler with my case. There was simply not enough clearance because of the GPU.


In addition to this, the size of the case restricted me from installing all three case fans. Therefore, I installed one of the spare case fans into the radiator. Refer to the picture for more information.

Front of the case
 

Third fan on the radiator

Performance

In a blended test in Prime95, the temperatures hover around 65 - 75c, and the torture test will hit 100c. This didn't matter with or without the wrong stand offs. Torture test will push all the cores to 100% utilization, and at this point, I expect the temperate to hit the thermal limit.

Real world tasks on the other hand, are far more forgiving. Playing Battlefield 2042 at ultra settings, the CPU temperature is around 65c, and video rendering has never crossed 70c.




Conclusion

I am quite pleased with the cooler. I truly wish Arctic had gotten its act together with the upgrade kits. I am going to rate this 4/5.