Monday, October 7, 2024

Print server ports

 Print server (Windows server service) requires the following ports to access the network printer:

-TCP 9100

TCP 515

TCP 3910

SNMP (TCP 161)


you should allow the mentioned ports on your firewall to allow access from the server as a source to the network printers as a destination.


Configuration:

Source: Print server IP

Destination: Network printer (or network printers group)

Ports: 9100, 515, 3910 & 161

You can create a custom service including all the mentioned ports instead of creating a separate service for each port.

Friday, August 2, 2024

Saving and restoring existing Windows shares

 To save only the existing share names and their permissions on Windows follow these steps.

 Note

This procedure applies only to NetBIOS shares and not to Macintosh volumes.

On the existing Windows installation that contains the share names and permissions that you want to save, start Registry Editor (Regedt32.exe).

From the HKEY_LOCAL_MACHINE subtree, go to the following key:
SYSTEM\CurrentControlSet\Services\LanmanServer\Shares.

Save or export the registry key.

For Windows NT and Windows 2000, click Save Key on the Registry menu.
For Windows Server 2003, click Export on the File menu.
Type a new file name (a file extension is not necessary), and then save the file to a floppy disk.

Reinstall Windows.

Run Registry Editor (Regedt32.exe).

From the HKEY_LOCAL_MACHINE subtree, go to the following key:
SYSTEM\CurrentControlSet\Services\LanmanServer\Shares.

Restore or import the registry key.

For Windows NT and Windows 2000, click Restore on the Registry menu.
For Windows Server 2003, click Import on the File menu.
Type the path and file name of the file that you saved in steps 3 and 4.

 Caution

This step overrides the shares that already exist on the Windows computer with the share names and permissions that exist in the file you are restoring. You are warned about this before you restore the key.

Restart the server.

 Note

After you complete this procedure, if you decide that you should not have restored the Shares key, restart the computer and press the SPACEBAR to use the last known good configuration. After you restore the shares key, the shares can be used by network clients. If you run the net shares command on the server, the server displays the shares; however, File Manager does not display the shares. To make File Manager aware of the newly restored shares, create any new share on the server. File Manager displays all of the other shares after you restart the server or stop and restart the Server service.

In Windows NT 3.5, if you click Stop Sharing in File Manager, the restored shares are still displayed, but they are dimmed.

Only permissions for domain users are restored. If a local user was created in the previous Windows NT installation, that local user's unique security identifier (SID) is lost. NTFS permissions on folders and files are not affected when you save and restore the shares key.

 

Source:

Saving and restoring existing Windows shares - Windows Client | Microsoft Learn

Wednesday, July 24, 2024

Free public DNS servers

 Basic:
77.88.8.8
77.88.8.1 

Safe:
77.88.8.88
77.88.8.2

Protection from dangerous websites
Protection from fraudulent websites
Protection from botnets

Family:
77.88.8.7
77.88.8.3

Blocking websites with adult content
Blocking adult ads
Family search by Yandex  

Sunday, June 9, 2024

MS Activation

 

Run CMD as administrator 
 
cd "C:\Program Files\Microsoft Office\Office16"
cscript ospp.vbs /sethst:kms.digiboy.ir
cscript ospp.vbs /act
 
 
slmgr /skms kms.digiboy.ir
slmgr /ato 
 
Windows Server 2019 Datacenter:
slmgr /ipk WMDGN-G9PQG-XVVXX-R3X43-63DFG
slmgr /skms kms.digiboy.ir
slmgr /ato

Windows Server 2019 Standard:
slmgr /ipk N69G4-B89J2-4G8F4-WWYCC-J464C
slmgr /skms kms.digiboy.ir
slmgr /ato
 
-----------------
 
## Find Available Target Editions
DISM.exe /Online /Get-TargetEditions

## Convert Server Standard 2019 Evaluation to Server Standard 2019
DISM /online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula

## How To Activate
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /skms [server]:[port]
slmgr /ato
slmgr /dlv

## Licence Key
Windows Server 2022 Standard VDYBN-27WPP-V4HQT-9VMD4-VMK7H
Windows Server 2022 Datacenter WX4NM-KYWYW-QJJR4-XV3QB-6VM33

Windows Server 2019 Standard N69G4-B89J2-4G8F4-WWYCC-J464C
Windows Server 2019 Datacenter WMDGN-G9PQG-XVVXX-R3X43-63DFG
Windows Server 2019 Essentials WVDHN-86M7X-466P6-VHXV7-YY726

Windows Server 2016 Standard WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY
Windows Server 2016 Datacenter CB7KF-BWN84-R7R2Y-793K2-8XDDG
Windows Server 2016 Essentials JCKRF-N37P4-C2D82-9YXRT-4M63B

Windows Server 2012 R2 Standard DBGBW-NPF86-BJVTX-K3WKJ-MTB6V
Windows Server 2012 R2 Standard D2N9P-3P6X9-2R39C-7RTCD-MDVJX

Windows Server 2012 R2 Datacenter Y4TGP-NPTV9-HTC2H-7MGQ3-DV4TW
Windows Server 2012 R2 Datacenter W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9

Windows Server 2012 R2 Essentials K2XGM-NMBT3-2R6Q8-WF2FK-P36R2
Windows Server 2012 R2 Essentials KNC87-3J2TX-XB4WP-VCPJV-M4FWM

Windows 10/11 Pro W269N-WFGWX-YVC9B-4J6C9-T83GX
Windows 10/11 Pro N MH37W-N47XK-V7XM9-C7227-GCQG9
Windows 10/11 Pro Education 6TP4R-GNPTD-KYYHQ-7B7DP-J447Y
Windows 10/11 Pro Education N YVWGF-BXNMC-HTQYQ-CPQ99-66QFC
Windows 10/11 Education NW6C2-QMPVW-D7KKK-3GKT6-VCFB2
Windows 10/11 Education 2WH4N-8QGBV-H22JP-CT43Q-MDWWJ
Windows 10/11 Enterprise NPPR9-FWDCX-D2C8J-H872K-2YT43
Windows 10/11 Enterprise N DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4

Windows 10 Enterprise LTSB 2016 DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ
Windows 10 Enterprise N LTSB 2016 QFFDN-GRT3P-VKWWX-X7T3R-8B639

Windows 10 Enterprise LTSC 2019/2021 M7XTQ-FN8P6-TTKYV-9D4CC-J462D
Windows 10 Enterprise N LTSC 2019/2021 92NFX-8DJQP-P6BBQ-THF9C-7CG2H

## Online KMS Server Host Address
* kms8.msguides.com
* kms.digiboy.ir
* kms.ddns.net
* kms.shuax.com
* kensol263.imwork.net:1688
* kms789.com
* dimanyakms.sytes.net:1688
* kms.03k.org:1688
* 54.223.212.31
* kms.cnlic.com
* hq1.chinancce.com
* kms.chinancce.com
* franklv.ddns.net
* k.zpale.com
* m.zpale.com
* mvg.zpale.com
* xykz.f3322.org
 
-------------------
 
DISM /Online /Get-TargetEditions
 
DISM /online /Set-Edition:ServerStandard /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula
 
-----------------------------------------------
 
cd /d %ProgramFiles%\Microsoft Office\Office16
cd /d %ProgramFiles(x86)%\Microsoft Office\Office16
 
for /f %x in ('dir /b ..\root\Licenses16\proplusvl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x"
 
cscript ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
cscript ospp.vbs /unpkey:BTDRB >nul
cscript ospp.vbs /unpkey:KHGM9 >nul
cscript ospp.vbs /unpkey:CPQVG >nul
cscript ospp.vbs /sethst:107.175.77.7
cscript ospp.vbs /setprt:1688
cscript ospp.vbs /act   
 
-------------------------
CCreate .cmd batch
 
@echo off
title Activate Office 365 ProPlus for FREE - MSGuides.com&cls&echo =====================================================================================&echo #Project: Activating Microsoft software products for FREE without additional software&echo =====================================================================================&echo.&echo #Supported products: Office 365 ProPlus (x86-x64)&echo.&echo.&(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")&(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")&(for /f %%x in ('dir /b ..\root\Licenses16\proplusvl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\Licenses16\proplusvl_mak*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&echo.&echo ============================================================================&echo Activating your Office...&cscript //nologo slmgr.vbs /ckms >nul&cscript //nologo ospp.vbs /setprt:1688 >nul&cscript //nologo ospp.vbs /unpkey:WFG99 >nul&cscript //nologo ospp.vbs /unpkey:DRTFM >nul&cscript //nologo ospp.vbs /unpkey:BTDRB >nul&set i=1&cscript //nologo ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99 >nul||cscript //nologo ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP >nul||goto notsupported
:skms
if %i% GTR 10 goto busy
if %i% EQU 1 set KMS=kms7.MSGuides.com
if %i% EQU 2 set KMS=107.175.77.7
if %i% GTR 2 goto ato
cscript //nologo ospp.vbs /sethst:%KMS% >nul
:ato
echo ============================================================================&echo.&echo.&cscript //nologo ospp.vbs /act | find /i "successful" && (echo.&echo ============================================================================&echo.&echo #My official blog: MSGuides.com&echo.&echo #How it works: bit.ly/kms-server&echo.&echo #Please feel free to contact me at msguides.com@gmail.com if you have any questions or concerns.&echo.&echo #Please consider supporting this project: donate.msguides.com&echo #Your support is helping me keep my servers running 24/7!&echo.&echo ============================================================================&choice /n /c YN /m "Would you like to visit my blog [Y,N]?" & if errorlevel 2 exit) || (echo The connection to my KMS server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto skms)
explorer "http://MSGuides.com"&goto halt
:notsupported
echo ============================================================================&echo.&echo Sorry, your version is not supported.&echo.&goto halt
:busy
echo ============================================================================&echo.&echo Sorry, the server is busy and can't respond to your request. Please try again.&echo.
:halt
pause >nul 
 
-- 
 
 
 
 

Monday, May 13, 2024

Laptop CPU types

The letters "U," "P," "H," and "G" in laptop processors are suffixes used by Intel to indicate different characteristics and performance levels of their processors. These suffixes provide information about power consumption, performance, and integrated graphics capabilities. Here's what each letter represents:

    U: The "U" stands for "Ultra Low Power." Processors with the "U" suffix are designed for mobile devices like tablets and laptops where heat, size, and power consumption are important factors. They are known for their low power consumption and are commonly used in thin and light laptops.

P: The "P" stands for "Performance." Processors with the "P" suffix are part of the performance CPU lineup for laptops and tablets. These processors offer higher performance compared to the "U" series and are suitable for tasks that require more processing power, such as gaming and content creation.

H: The "H" stands for "High Power/Performance." Processors with the "H" suffix are designed to be the highest performing chips for mobile systems like laptops and tablets. They offer even more power and performance compared to the "P" series processors and are often used in gaming laptops and high-end workstations.

G: The "G" stands for "Graphics." Processors with the "G" suffix have a powerful built-in graphics processor. These processors are capable of handling graphics-intensive tasks and can often play 3D games without the need for a separate dedicated graphics card. The "G" series ranges from G1 (oldest) to G7 (newest). However, it's worth noting that Intel has shifted to using the Intel Iris and Iris Xe graphics designation instead of the "G" series.

It's important to note that these suffixes are specific to Intel processors and may not apply to processors from other manufacturers like AMD or Apple.


Thursday, May 2, 2024

Disable automatic daylight time adjustment in the registry

 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation

 To disable automatic daylight time adjustment, Add Value name DisableAutoDaylightTimeSet, a type REG_DWORD value, and set the data value to 1. The default is 0 (or the absence of the Value Name), which enables automatic daylight time adjustment.

Whatsapp ports

  If you need WhatsApp Voice Calling to work behind a firewall you will need to open the following ports. TCP: 4244,5222,5223,5228,5242 TC...