Friday, 21 November 2025

Windows server 2019 command

 


How to use the keys
You can use the keys to activate Windows Server 2019 through the command prompt (as an administrator) or PowerShell. 
Using Command Prompt (slmgr.vbs) 
  1. Open Command Prompt as an administrator.
  2. Enter the following command to install the product key: 
cscript //nologo %windir%\system32\slmgr.vbs /ipk <Your-Product-Key> 
  1. To activate, use a KMS server address (if your organization has one) or a public one, then run:
cscript //nologo %windir%\system32\slmgr.vbs /skms kms.msgang.com cscript //nologo %windir%\system32\slmgr.vbs /ato 
Using DISM
  1. Open Command Prompt or PowerShell as an administrator. 
  2. Use the following command to convert an evaluation edition to a full edition: 
dism /online /set-edition:ServerStandard /productkey:N69G4-B89J2-4G8F4-WWYCC-J464C /accepteula 
Note: This method is primarily for activating with a KMS server. If you do not have a KMS server, you may need to use a different activation method or purchase a valid license. 









Monday, 27 October 2025

📸 LIFESTYLE & IT JOURNEY

 

📸 LIFESTYLE & IT JOURNEY
🐦 X (Twitter): x.com/Numair3

VLAN + IP addressing

 

VLAN + IP addressing ka practical combination hai, jo real network setup mein har Network Engineer use karta hai.
Main yahan simple aur clear steps mein samjhata hoon (Cisco Switch aur PC example ke sath).

🧱 Step 1: VLANs Create Karna (Switch par)

Switch> enable Switch# configure terminal Switch(config)# vlan 10 Switch(config-vlan)# name HR Switch(config-vlan)# exit Switch(config)# vlan 20 Switch(config-vlan)# name IT Switch(config-vlan)# exit Switch(config)# vlan 30 Switch(config-vlan)# name ACCOUNTS Switch(config-vlan)# exit

✅ Ab VLANs switch ke andar ban chuki hain.


🔌 Step 2: Ports Assign Karna VLANs ko

Har department ke PCs ko specific VLAN port pe connect karte ho.
Example:

PortVLANDepartment
FastEthernet 0/2-0/510HR
FastEthernet 0/6-0/920IT
FastEthernet 0/10-0/1330Accounts

Commands:

Switch(config)# interface range fa0/2 - 5 Switch(config-if-range)# switchport mode access Switch(config-if-range)# switchport access vlan 10 Switch(config-if-range)# exit Switch(config)# interface range fa0/6 - 9 Switch(config-if-range)# switchport mode access Switch(config-if-range)# switchport access vlan 20 Switch(config-if-range)# exit Switch(config)# interface range fa0/10 - 13 Switch(config-if-range)# switchport mode access Switch(config-if-range)# switchport access vlan 30 Switch(config-if-range)# exit

✅ Ab har department ke ports apni VLAN ke andar aa gaye.


🌐 Step 3: IP Assign Karna (Router ya Layer 3 Switch par)

Agar ye Layer 2 switch hai, to VLANs ek doosre se communicate nahi karenge (yehi segmentation ka purpose hai).

Lekin agar tum chahte ho ke VLANs ek doosre se controlled way mein baat karein, to Router-on-a-Stick ya Layer 3 Switch use hota hai.

Example: Layer 3 Switch pe SVI create karna

Switch(config)# interface vlan 10 Switch(config-if)# ip address 192.168.10.1 255.255.255.0 Switch(config-if)# no shutdown Switch(config-if)# exit Switch(config)# interface vlan 20 Switch(config-if)# ip address 192.168.20.1 255.255.255.0 Switch(config-if)# no shutdown Switch(config-if)# exit Switch(config)# interface vlan 30 Switch(config-if)# ip address 192.168.30.1 255.255.255.0 Switch(config-if)# no shutdown Switch(config-if)# exit

Enable Routing Between VLANs:

Switch(config)# ip routing

✅ Ab har VLAN ke devices apni gateway IP se connect ho kar routing kar sakte hain.


💻 Step 4: PCs ko IP Assign Karna

HR PC:
IP Address: 192.168.10.10
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.10.1

IT PC:
IP Address: 192.168.20.10
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.20.1

Accounts PC:
IP Address: 192.168.30.10
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.30.1


Result:

  • HR VLAN ke PCs → sirf HR ke andar baat karenge.

  • IT VLAN ke PCs → sirf IT ke andar.

  • Accounts VLAN ke PCs → sirf Accounts ke andar.

  • Agar routing enable hai → controlled communication VLANs ke beech possible hai.

Tuesday, 7 October 2025

میں مرزا نمیر احمد بیگ ہوں، ایک آئی ٹی پروفیشنل



 میں مرزا نمیر احمد بیگ ہوں، ایک آئی ٹی پروفیشنل جس نے گزشتہ پچیس سالوں میں نیٹ ورکنگ، سسٹم ایڈمنسٹریشن، اور آئی ٹی انفراسٹرکچر مینجمنٹ کے شعبے میں اپنا مقام بنایا ہے۔

میرا کام کا اصول ہمیشہ واضح رہا ہے: سسٹم مضبوط بناؤ، ٹیم کو بااختیار کرو، اور ہر چیز میں سیکیورٹی اور کارکردگی کو اولین ترجیح دو۔

میں دوسروں سے اس لیے مختلف ہوں کیونکہ یہ کام میرے لیے صرف ایک پیشہ نہیں، بلکہ شوق اور جذبہ ہے۔
مجھے اپنے سسٹمز کو بہتر بنانا، پیچیدہ مسائل کو حل کرنا، اور نئی ٹیکنالوجی کے ساتھ تجربہ کرنا واقعی پسند ہے۔

میری مہارت VMware ESXi، MikroTik، Cisco، Veeam Backup & Replication، اور Windows/Linux Server Environments میں ہے۔
میرا فوکس ہمیشہ مستحکم سسٹمز، محفوظ ڈیٹا، اور قابلِ اعتماد نیٹ ورکس پر رہتا ہے۔
میں نئے ٹیکنالوجی ٹرینڈز کے ساتھ خود کو مسلسل اپڈیٹ رکھنے پر یقین رکھتا ہوں، کیونکہ یہی عادت ایک پروفیشنل کو وقت سے آگے رکھتی ہے

Wednesday, 1 October 2025

websites

 


https://pcprogs.net/4242-desktop-central.html?utm_referrer=https%3A%2F%2Fwww.google.com%2F



https://abbasup.com/articles/52360


https://technet24.ir/tag/%DA%A9%D8%B1%DA%A9-manageengine-desktop-central

Thursday, 18 September 2025

To fix error 0x0000011b, go to the host computer sharing the printer




REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Print" /v RpcAuthnLevelPrivacyEnabled /t REG_DWORD /d 0 /f









To fix error 0x0000011b, go to the host computer sharing the printer, open the Registry Editor, and navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print. Create a new DWORD (32-bit) Value called RpcAuthnLevelPrivacyEnabled and set its value data to 0. Restart the Print Spooler service from the Services app (or restart the computer) and then try connecting from the client computer again. 
This video demonstrates how to access and modify the registry, including creating a new DWORD value:
Related video thumbnailFavicon
YouTube
• MDTechVideos
56s
Detailed Steps
On the Host Computer (the PC with the shared printer):
Open the Registry Editor:
Press the Windows key + R to open the Run dialog.
Type regedit and press Enter, or click OK.
Navigate to the correct key:
In the Registry Editor, go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print.
Create the new registry value:
In the right-hand pane, right-click in an empty space.
Select New > DWORD (32-bit) Value.
Rename the new value to RpcAuthnLevelPrivacyEnabled.
Set the value data:
Double-click the RpcAuthnLevelPrivacyEnabled value you just created.
In the "Value data" field, enter 0 and click OK.
Restart the Print Spooler Service:
Press the Windows key + R, type services.msc, and press Enter.
Find Print Spooler in the list.
Right-click on Print Spooler and select Restart.
Restart the computer: It is recommended to restart the host computer to ensure the changes take effect. 
On the Client Computer:
Attempt to connect to the printer:
Try to connect to the shared printer again through your network. 
If the error persists, try these additional steps:
Run the Printer Troubleshooter:
On the client computer, search for and run the built-in Windows Printer troubleshooter. 
Check Cables or Wireless Connection:
Ensure the printer's cables are secure or that its wireless connection is stable. 
Clear the Print Queue:
On the client PC, you can clear the print spooler by stopping and restarting the Print Spooler service and then deleting the contents of C:\Windows\System32\spool\PRINTERS\. 



Sunday, 7 September 2025

Proxy Squid For Browser automation

 


Sav as batch file


@echo off

echo Setting Proxy Server to 10.10.19.7:3128

REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f

REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d 10.10.19.7:3128 /f

echo Proxy Set Successfully

pause


ManageEngine Zoho ka IT management tools ka brand hai

ManageEngine Zoho ka IT management tools ka brand hai. Ye mainly companies ko IT infrastructure manage karne, monitor karne aur secure karne ke liye use hota hai.

Iske andar alag-alag products hote hain, jo different kaam karte hain. Main areas ye hain:

1. IT Service Management (ITSM)

  • ServiceDesk Plus → Helpdesk ticketing system, incident management, change management, asset management.

  • Employees ke issues track aur resolve karna.

2. IT Operations Management (ITOM)

  • OpManager → Network monitoring (switches, routers, servers, VMs).

  • Applications Manager → Application aur database performance monitoring.

  • NetFlow Analyzer → Bandwidth usage aur traffic analysis.

3. Endpoint Management & Security

  • Endpoint Central (old name Desktop Central) → Laptops, PCs, servers, mobile devices manage karna.

  • Software deploy, patch management, remote control, USB device control.

  • Patch Manager Plus → Windows, macOS, Linux ke liye patch updates manage karna.

4. Active Directory & Identity Management

  • ADManager Plus → Active Directory user, group, OU management.

  • ADSelfService Plus → Users ko apna password reset/self-service ka option.

  • M365 Manager Plus → Office 365 / Exchange Online ka reporting & management.

5. Security & Compliance

  • EventLog Analyzer → Logs collect aur analyze karna (SIEM tool).

  • ADAudit Plus → Active Directory aur file servers ke changes ka audit trail.

  • DataSecurity Plus → File access monitoring, data leak prevention.

6. Analytics

  • Analytics Plus → IT data visualization aur dashboards banata hai.


Simple shabdon me:
ManageEngine ek toolkit hai jo IT admins ke liye "Swiss Army Knife" jaisa kaam karta hai — network monitor karo, servers check karo, AD manage karo, patches install karo, helpdesk chalao, aur security logs dekh lo, sab ek hi ecosystem me.


Thursday, 12 June 2025

Cisco Catalyst 3650 Series Switches configuration not saved (Resolved Command)

flash_init

SWITCH_IGNORE_STARTUP_CFG=1

boot flash:packages.conf

 


enable

configure terminal

no enable secret

no enable password

exit

copy running-config startup-config


wr mem


#reboot with rommon mode


flash_init

SWITCH_IGNORE_STARTUP_CFG=0

boot flash:packages.conf

 

enable


configure terminal

hostname Numair

exit


copy running-config startup-config


Wr mem


Wednesday, 12 February 2025

Windows Server 2012 پر Import-Module ActiveDirectory

 اگر آپ Windows Server 2012 پر Import-Module ActiveDirectory کمانڈ چلا رہے ہیں اور کوئی مسئلہ آ رہا ہے، تو اس کا حل درج ذیل طریقوں سے کیا جا سکتا ہے۔


1: چیک کریں کہ Active Directory Module انسٹال ہے یا نہیں

PowerShell میں درج ذیل کمانڈ چلائیں:

powershell
Get-WindowsFeature -Name RSAT-AD-PowerShell
  • اگر Installed لکھا آئے تو اس کا مطلب ہے کہ یہ پہلے سے انسٹال ہے۔
  • اگر Installed نہیں ہے تو درج ذیل کمانڈ سے انسٹال کریں۔

2: Active Directory Module انسٹال کریں

اگر RSAT-AD-PowerShell انسٹال نہیں ہے، تو درج ذیل کمانڈ استعمال کریں:

powershell
Install-WindowsFeature -Name RSAT-AD-PowerShell -IncludeAllSubFeature

انسٹالیشن مکمل ہونے کے بعد سرور کو ریسٹارٹ کریں:

powershell
Restart-Computer

3: Module کو دستیاب ماڈیولز میں تلاش کریں

powershell
Get-Module -ListAvailable
  • اگر ActiveDirectory ماڈیول لسٹ میں نہیں ہے، تو چیک کریں کہ آپ Domain Controller پر کام کر رہے ہیں۔
  • اگر آپ Member Server یا Workstation پر ہیں، تو آپ کو RSAT (Remote Server Administration Tools) انسٹال کرنے کی ضرورت ہوگی۔

4: دستیاب ماڈیول کو لوڈ کریں

powershell
Import-Module ActiveDirectory

اگر پھر بھی کام نہ کرے، تو درج ذیل کمانڈ آزمائیں:

powershell
$env:PSModulePath -split ';'
  • اگر C:\Windows\System32\WindowsPowerShell\v1.0\Modules\ شامل نہیں ہے، تو اسے ماڈیول پاتھ میں شامل کریں۔

5: Domain Controller سے کنیکٹ کریں

اگر آپ کا سرور Domain Controller نہیں ہے، تو آپ کو ایک Domain Controller سے Remote Session بنانا ہوگا:

powershell
Enter-PSSession -ComputerName Your-DC-Name Import-Module ActiveDirectory

Your-DC-Name کی جگہ اپنے ڈومین کنٹرولر کا نام لکھیں۔


6: چیک کریں کہ سرور پر Role انسٹال ہے

powershell
Get-WindowsFeature | Where-Object {$_.Name -like "*AD*"}

اگر AD DS یا AD LDS انسٹال نہیں ہے، تو پہلے Active Directory Domain Services رول انسٹال کریں:

powershell
Install-WindowsFeature -Name AD-Domain-Services -IncludeManagementTools

خلاصہ

Import-Module ActiveDirectory کام نہ کرنے کی عمومی وجوہات:

  1. AD Module انسٹال نہیں ہے → Install-WindowsFeature -Name RSAT-AD-PowerShell
  2. ماڈیول لوڈ نہیں ہو رہا → Get-Module -ListAvailable اور پھر Import-Module ActiveDirectory
  3. Member Server استعمال ہو رہا ہے → Domain Controller سے ریموٹ کنیکٹ کریں
  4. AD DS رول انسٹال نہیں → Install-WindowsFeature -Name AD-Domain-Services

آپ کو کہاں مسئلہ آ رہا ہے؟ کوئی اسپیشل ایرر میسج آرہا ہو تو بتائیں! 😊

Wednesday, 1 January 2025

The main types of IT support

The main types of IT support:
1. Help Desk Support
Definition: A centralized service for handling and resolving basic IT issues, such as password resets, software installation problems, or minor hardware issues.
Scope: Generally, first-level support, focusing on common technical problems.

2. On-Site IT Support
Definition: IT support provided in person at the physical location of the user or business.
Scope: Usually covers more complex issues that cannot be resolved remotely, such as hardware repairs, network configuration, or system installations.

3. Remote IT Support
Definition: Support provided remotely via internet-based tools, often using screen-sharing software or remote desktop tools.
Scope: Encompasses a wide range of issues that can be fixed without physical presence, such as troubleshooting software, performing updates, or fixing network problems.

4. Technical Support (Level 1, 2, and 3)
Level 1 (L1): Basic support focused on simple, repetitive tasks, like password resets, account management, and other common issues.
Level 2 (L2): More advanced support that requires deeper technical expertise, such as troubleshooting specific software or network problems.
Level 3 (L3): The highest level of technical support, often involving specialized knowledge for complex, high-level issues, including software development, system administration, or hardware failure.
Scope: Varies depending on the complexity of the problem.

5. Network Support
Definition: Focuses on ensuring the stability and performance of an organization's network infrastructure (routers, switches, firewalls, etc.).
Scope: Includes configuring networks, troubleshooting connectivity issues, managing firewalls, and monitoring network performance.

6. Cloud Support
Definition: IT support related to cloud-based services, infrastructure, and applications.
Scope: Support for issues with cloud computing platforms like AWS, Microsoft Azure, or Google Cloud, including cloud storage etc.

7. Cybersecurity Support
Definition: IT support focused on protecting systems and data from cyber threats such as viruses, malware, ransomware, and other malicious activities.
Scope: Includes threat detection, setting up firewalls, securing data encryption, implementing security patches.

8. Database Support
Definition: Specialized IT support focused on database management systems (DBMS), including setup, maintenance, troubleshooting, and optimization.
Scope: Includes tasks like database backup, recovery, optimization, and ensuring high availability and performance.

9. Software Support
Definition: Support focused on resolving issues related to specific software applications.
Scope: Includes troubleshooting, software installation, configuration, and updates.

10. End-User Support
Definition: Focused on assisting individuals with their daily IT needs, ensuring they have access to the necessary tools and systems to perform their job.
Scope: Common tasks include troubleshooting applications, hardware issues