<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Aman Kumar Happy</title>
    <description>The latest articles on DEV Community by Aman Kumar Happy (@amankumarhappy).</description>
    <link>https://dev.to/amankumarhappy</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2894333%2Fa54d9ed3-0f07-4b62-813e-8b82ff23d3ac.jpg</url>
      <title>DEV Community: Aman Kumar Happy</title>
      <link>https://dev.to/amankumarhappy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/amankumarhappy"/>
    <language>en</language>
    <item>
      <title>Resetting Your Laptop? How to Properly Clean-Install and Activate Microsoft Office 2021 (Step-by-Step)</title>
      <dc:creator>Aman Kumar Happy</dc:creator>
      <pubDate>Fri, 02 Oct 2026 16:45:48 +0000</pubDate>
      <link>https://dev.to/amankumarhappy/resetting-your-laptop-how-to-properly-clean-install-and-activate-microsoft-office-2021-2360</link>
      <guid>https://dev.to/amankumarhappy/resetting-your-laptop-how-to-properly-clean-install-and-activate-microsoft-office-2021-2360</guid>
      <description>&lt;p&gt;We’ve all been there: your system gets sluggish, or a bad configuration piles up, and you hit that "Reset this PC" button in Windows to get a fresh start. It feels amazing until you open your apps and realize your productivity setup is completely gone or screaming with "Activation Required" warnings.&lt;/p&gt;

&lt;p&gt;If you recently reset your laptop, you might have found yourself staring at an unactivated version of Microsoft Office or an accidental Microsoft 365 default trial bundle.&lt;/p&gt;

&lt;p&gt;In this guide, I will take you through the exact journey of completely wiping the incorrect default software, downloading a clean Office 2021 Professional Plus build from the Internet Archive, installing it, and validating it using a clean, modern command-line method.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The Core Challenge: Version Mismatch After Reset&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;When Windows resets, it often pushes a standard, default installation of Microsoft 365 (formerly Office 365). If your hardware identity or original setup relies on a standalone volume version like Office 2021 Professional Plus, the mismatch causes immediate licensing errors.&lt;br&gt;
To fix this, we have to download the raw setup media, deploy it locally, and match it with its proper activation configuration. Let's get right into the steps.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Clean Up Existing Conflicts First&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Before installing a clean copy of Office 2021, you must completely remove any pre-existing or broken Office installations to avoid registry overlaps.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open the **Control Panel **on your Windows system.&lt;/li&gt;
&lt;li&gt;Navigate to &lt;strong&gt;Programs &amp;gt; Programs and Features&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Scan your list for existing entries such as Microsoft 365 - en-gb or Microsoft Office Professional Plus 2019.&lt;/li&gt;
&lt;li&gt;Right-click the conflicting software and select Uninstall.&lt;/li&gt;
&lt;li&gt;Crucial: Restart your machine immediately after uninstallation completes to flush out background services.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Download the Genuine Media Stack&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To obtain the safe deployment image containing the core 64-bit installer files, we use the verified public repository hosted on the Internet Archive.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Head over to the public repository entry:
👉 Internet Archive: &lt;a href="https://archive.org/details/msoffice-2021-v-64-16.0.14326.20238-x-64-en-us-pre-activated" rel="noopener noreferrer"&gt;https://archive.org/details/msoffice-2021-v-64-16.0.14326.20238-x-64-en-us-pre-activated&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;On the right-hand panel under Download Options, click on ISO IMAGE.&lt;/li&gt;
&lt;li&gt;Save the .iso or .img installation package (roughly 3.4GB) directly to your local storage.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Mount and Deploy the Installation Files&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Windows 10 and Windows 11 allow you to read disc images directly without extra extraction software.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Locate the downloaded file in your Downloads folder.&lt;/li&gt;
&lt;li&gt;Double-click the file to mount it as a virtual DVD Drive on your operating system.&lt;/li&gt;
&lt;li&gt;Once the folder opens, you will see a list of files including directories like Office and script components like Install.&lt;/li&gt;
&lt;li&gt;Locate the file named Install (classified under Windows Command Script).&lt;/li&gt;
&lt;li&gt;Right-click Install and select Run as administrator.&lt;/li&gt;
&lt;li&gt;A terminal window will initialize the background deployment. A Microsoft progress bar will appear. Let the installer run smoothly for 5–10 minutes until it automatically exits.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Step 4: The Core Fix — Activating the Suite via PowerShell (Ohook Method)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Since traditional legacy utilities like wmic are deprecated and completely removed from modern Windows environments, we utilize a clean, safe, open-source PowerShell automation string via Massgrave to hook the digital licensing system natively.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Right-click your Windows Start Menu button and choose Terminal (Admin) or PowerShell (Admin).&lt;/li&gt;
&lt;li&gt;In the elevated prompt window, paste the following exact secure command and press Enter:powershell
irm &lt;a href="https://get.activated.win" rel="noopener noreferrer"&gt;https://get.activated.win&lt;/a&gt; | iex
Use code with caution.
(Note: Ensure you include the get. subdomain so your shell executes the deployment script correctly rather than reading raw website HTML).&lt;/li&gt;
&lt;li&gt;Within a few seconds, the Microsoft Activation Scripts (MAS) menu interface will appear inside your console window.&lt;/li&gt;
&lt;li&gt;From your keyboard, press the 2 key to select [Ohook] - Office.&lt;/li&gt;
&lt;li&gt;On the subsequent confirmation layout screen, press the 1 key to select Start Activation.
The script will securely inject a local dynamic link library verification loop (sppc.dll), bypassing the authentication blocks. Within moments, the script status text will transition to a bright green [Office is permanently activated] notification.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Step 5: Verify the Deployment&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;With the activation finalized, close your terminal application and launch any Office suite app—such as Microsoft Word or PowerPoint.&lt;br&gt;
• Navigate directly to File &amp;gt; Account.&lt;br&gt;
• Under Product Information, you will observe your brand-new configuration successfully active: Product Activated. Microsoft Office Professional Plus 2021.&lt;br&gt;
• Your personal accounts can now sync up flawlessly with your local cloud storage partitions without any structural pop-ups blocking your viewport!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Wrapping Up&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;By shifting to the modern 2021 Professional Plus layout via the Ohook approach, you unlock extensive runtime speed enhancements, full layout optimization under Windows 11, and critical missing native workspace components like OneNote, Outlook, and advanced Excel data parameters (XLOOKUP).&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwtkos8nwbpwxomgg39gk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwtkos8nwbpwxomgg39gk.png" alt=" " width="800" height="437"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Kali Linux XFCE Panel Missing in VirtualBox — Complete Fix (2025)</title>
      <dc:creator>Aman Kumar Happy</dc:creator>
      <pubDate>Mon, 22 Dec 2025 13:52:16 +0000</pubDate>
      <link>https://dev.to/amankumarhappy/kali-linux-xfce-panel-missing-in-virtualbox-complete-fix-2025-526f</link>
      <guid>https://dev.to/amankumarhappy/kali-linux-xfce-panel-missing-in-virtualbox-complete-fix-2025-526f</guid>
      <description>&lt;p&gt;&lt;strong&gt;Problem&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;While using Kali Linux (XFCE) inside VirtualBox, I suddenly lost the entire desktop panel:&lt;/p&gt;

&lt;p&gt;No Applications menu&lt;/p&gt;

&lt;p&gt;No top bar / taskbar&lt;/p&gt;

&lt;p&gt;Only wallpaper visible&lt;/p&gt;

&lt;p&gt;Right-click menu shows basic options like Terminal Emulator, File Manager&lt;/p&gt;

&lt;p&gt;Small movable panel fragments appear on screen&lt;/p&gt;

&lt;p&gt;The system itself was not broken — only the XFCE panel configuration was corrupted.&lt;/p&gt;

&lt;p&gt;Root Cause&lt;/p&gt;

&lt;p&gt;XFCE stores panel configuration in user config files.&lt;br&gt;
A wrong click (like deleting a panel) or display glitch in VirtualBox can corrupt these files, causing XFCE to load without the panel.&lt;/p&gt;

&lt;p&gt;Solution (100% Working)&lt;/p&gt;

&lt;p&gt;Open Terminal Emulator and run the following commands in order.&lt;/p&gt;

&lt;p&gt;1️⃣ Stop XFCE panel services&lt;br&gt;
xfce4-panel --quit&lt;br&gt;
pkill xfconfd&lt;/p&gt;

&lt;p&gt;2️⃣ Remove corrupted panel configuration&lt;br&gt;
rm -rf ~/.config/xfce4/panel&lt;br&gt;
rm -rf ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml&lt;/p&gt;

&lt;p&gt;3️⃣ Restart the XFCE panel&lt;br&gt;
xfce4-panel &amp;amp;&lt;/p&gt;

&lt;p&gt;Wait a few seconds.&lt;/p&gt;

&lt;p&gt;Expected Result&lt;/p&gt;

&lt;p&gt;Applications menu restored&lt;/p&gt;

&lt;p&gt;Top panel with clock, network, sound icons back&lt;/p&gt;

&lt;p&gt;Normal Kali XFCE desktop working again&lt;/p&gt;

&lt;p&gt;No reboot required.&lt;/p&gt;

&lt;p&gt;If It Still Doesn’t Work (Rare Case)&lt;/p&gt;

&lt;p&gt;Reinstall XFCE desktop components:&lt;/p&gt;

&lt;p&gt;sudo apt update&lt;br&gt;
sudo apt install --reinstall kali-desktop-xfce xfce4 xfce4-goodies -y&lt;br&gt;
reboot&lt;/p&gt;

&lt;p&gt;Prevention Tips&lt;/p&gt;

&lt;p&gt;Avoid deleting XFCE panels unless intentional&lt;/p&gt;

&lt;p&gt;Don’t overuse display scaling in VirtualBox&lt;/p&gt;

&lt;p&gt;Take VM snapshots before UI changes&lt;/p&gt;

&lt;p&gt;Conclusion&lt;/p&gt;

&lt;p&gt;This issue looks serious but is purely a configuration problem, not a broken Kali install.&lt;br&gt;
Resetting the XFCE panel fixes it instantly.&lt;/p&gt;

&lt;p&gt;Hope this saves someone hours of reinstalling Kali unnecessarily.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>tutorial</category>
      <category>ui</category>
    </item>
    <item>
      <title>Fixing Hugging Face Login Issue (504 Gateway Timeout &amp; Invalid Token Error)</title>
      <dc:creator>Aman Kumar Happy</dc:creator>
      <pubDate>Sat, 22 Feb 2025 11:04:06 +0000</pubDate>
      <link>https://dev.to/amankumarhappy/fixing-hugging-face-login-issue-504-gateway-timeout-invalid-token-error-34nn</link>
      <guid>https://dev.to/amankumarhappy/fixing-hugging-face-login-issue-504-gateway-timeout-invalid-token-error-34nn</guid>
      <description>&lt;p&gt;&lt;strong&gt;Issue&lt;/strong&gt;&lt;br&gt;
I was trying to log in to Hugging Face CLI, but I kept getting the following error:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;requests.exceptions.HTTPError: 504 Server Error: Gateway Time-out for url: &lt;a href="https://huggingface.co/api/whoami-v2" rel="noopener noreferrer"&gt;https://huggingface.co/api/whoami-v2&lt;/a&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Even after trying multiple fixes, the error persisted and eventually changed to:&lt;br&gt;
requests.exceptions.HTTPError: Invalid user token.&lt;/p&gt;

&lt;p&gt;What I Tried (But Didn’t Work)&lt;br&gt;
Logging in again using huggingface-cli login → Failed&lt;br&gt;
Upgrading Hugging Face Hub (pip install --upgrade huggingface_hub) → No effect&lt;br&gt;
Clearing cache &amp;amp; re-installing dependencies → Still the same error&lt;/p&gt;

&lt;p&gt;Final Solution That Worked &lt;/p&gt;

&lt;p&gt;After many attempts, the issue got fixed by setting up a virtual environment and reinstalling everything from scratch. Here’s what worked:&lt;/p&gt;

&lt;p&gt;python -m venv hf_env&lt;br&gt;
source hf_env/bin/activate  # (Windows users: &lt;code&gt;hf_env\Scripts\activate&lt;/code&gt;)&lt;br&gt;
pip install huggingface_hub&lt;br&gt;
huggingface-cli login&lt;/p&gt;

&lt;p&gt;Why This Works?&lt;br&gt;
A virtual environment creates an isolated Python environment, avoiding conflicts with existing dependencies.&lt;br&gt;
If there’s an issue with your global Python installation, this helps bypass it.&lt;br&gt;
It ensures a clean install of huggingface_hub without any corrupted files.&lt;/p&gt;

&lt;p&gt;If you’re facing similar issues, try this approach and let me know if it works for you!&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
