Winget

Overview Windows Package Manager (winget) is a command-line tool designed by Microsoft for managing software packages on Windows 10 or 11 edition. It provides a convenient way for users to search, install, upgrade, and uninstall applications from the command line or scripts. Installation This winget package should have been installed on Windows 10 1709 (build 16299) or later or windows 11 version. But if you want to manually install this package, you can follow this method...

August 23, 2023 · 2 min · by Chisqi

Check Block Size / Allocation Unit on Windows

If you want to check the Block Size / Allocation Unit on Windows, you can use the following powershell command: Check volumes blocksize. Get-CimInstance -ClassName Win32_Volume | Select-Object Name,Filesystem,Label,Blocksize | Sort-Object Name | Format-Table -AutoSize Get-WmiObject -Class Win32_Volume -ComputerName $env:COMPUTERNAME | Select BlockSize,Name,FileSystem | Format-Table -AutoSize Check partitions blocksize and StartingOffset. Get-WmiObject -Class Win32_DiskPartition -ComputerName $env:COMPUTERNAME | select Name, NumberOfBlocks, Size, StartingOffset, Blocksize | Format-Table -AutoSize Check only the CSV (Cluster shared volume) on the Hyper-V Cluster Get-CimInstance -ClassName Win32_Volume | where {$_....

August 17, 2023 · 1 min · by Chisqi

SQL Always On Installation and Configuration

Network Design And IP Node Name Management IP Role DC01 10.10.101.5 AD/Dns Server SQL0A 10.10.101.12 SQL Server SQL0B 10.10.101.13 SQL Server SQLCL0A 10.10.101.10 Cluster Name Object (CNO) SQLAGL0A 10.10.101.11 SQL Availability Group Listener Requirement SQL Server requires a minimum of 20 GB of available hard drive space. Windows Server 2019 or greater Ensure that the system isn’t a domain controller. Ensure that each computer is running Windows Server 2019 or later versions with latest patches....

May 29, 2023 · 5 min · by Chisqi

Windows Symlink / Symbolic Link

Overview Symbolic links are commonly used in various operating systems, including Unix-like systems such as Linux and macOS, as well as Windows, to create flexible and dynamic file structures, facilitate file organization, and simplify administration tasks. They are frequently employed for creating shortcuts to files or directories, creating virtual copies of files, and providing access to files or directories located in different parts of the file system. In short, by using symbolic links, we can easily redirect one folder or files to another location....

May 19, 2023 · 4 min · by Chisqi

Implementing 802.1x Authentication for wired and Wireless connections

Introduction 802.1X is a network access control (NAC) standard that provides an authentication framework for controlling access to network resources. It is a part of the IEEE 802.1 group of protocols, which defines how devices in a Local Area Network (LAN) communicate with each other. The main purpose of 802.1X is to ensure that only authorized devices or users are allowed to connect to a network, thereby enhancing network security. It operates at the link layer of the OSI model and is primarily used for wired and wireless Ethernet networks....

April 3, 2023 · 7 min · by Chisqi

Provisioning Windows Hyper-V Cluster and SAN with LBFO

Network Design And IP Plan Management: 10.0.10.0/24 -> For comunication between Servers. Heartbeat: 10.0.11.0/24-> For comunication between cluster nodes. SAN: 10.0.8.0/27 or /24 -> For comunication to the SAN storage. Server Name Management IP SAN1 IP SAN2 IP HeartBeat IP SAN Storage 10.0.10.8 10.0.8.5 10.0.8.6 10.0.8.7 10.0.8.8 CA-HVC0 10.0.10.10 - - - CA-HVC01 10.0.10.11 10.0.8.11 10.0.8.21 10.0.11.11 CA-HVC02 10.0.10.12 10.0.8.12 10.0.8.22 10.0.11.12 CA-HVC03 10.0.10.13 10.0.8.14 10.0.8.23 10.0.11.13 Requirement You need at least 3 servers with the same hardware specification with 64 bit processors supports a virtualization Intel Virtualization Technology (Intel VT) or AMD Virtualization (AMD-V) technology....

March 12, 2023 · 8 min · by Chisqi

Removing Orphaned / No longer Existent Child Domain

Introduction If you want to completely remove a child domain and its domain controller that was no longer active or orphaned due to some reasons, you can follow the following steps. Be carefull and follow the steps, and remember that the child domain controller server which is already removed is probibited to be turn of until you remove the ADCS role or reinstall the server. Steps You will need to remove the child domain controllers first, and then proceed to remove the child domain from your forest....

March 6, 2023 · 3 min · by Chisqi

Active Directory - Cheatsheet

AD Functional level and DC list Functional Level Check Forest functional Level Get-ADForest | ft ForestMode Check Domain functional Level Get-ADDomain | ft DomainMode Upgrade / set Functional level Set-ADForestMode –ForestMode <desired forest level> Set-ADDomainMode –DomainMode <desired domain level> Show all DC servers netdom query dc DSQUERY Server -o rdn FSMO Get FSMO roles Get-ADDomain | select InfrastructureMaster, PDCEmulator, RIDMaster Get-ADForest | select DomainNamingMaster, SchemaMaster Transfer FSMO # Transfer PDCEmulator Move-ADDirectoryServerOperationMasterRole -Identity "DC01" PDCEmulator # Transfer RIDMaster Move-ADDirectoryServerOperationMasterRole -Identity "DC01" RIDMaster # Transfer InfrastrctureMaster Move-ADDirectoryServerOperationMasterRole -Identity "DC01" Infrastructuremaster # Transfer DomainNamingMaster Move-ADDirectoryServerOperationMasterRole -Identity "DC01" DomainNamingmaster # Transfer SchemaMaster Move-ADDirectoryServerOperationMasterRole -Identity "DC01" SchemaMaster Seize FSMO The different between transfering and seizeing the FSMO role is by adding -force argument at the end of command....

August 23, 2022 · 5 min · by Chisqi

Installing PHP on Windows server IIS to connect with SQL server

I assume you ahve already installed the SQL server and IIS (including CGI feature). PHP Installation. Download the latest PHP and WinCache extension to the following link. Php For Windows Extract .zip file, and rename it php. Move the folder to C:\. So the full path of the PHP folder will be C:\php Go to C:\php and copy the C:\php\php.ini-production to C:\php\php.ini Enable th following extension: extension=curl extension=gd extension=mbstring extension=pdo_mysql Windows Cache Extension for PHP installation....

August 2, 2022 · 3 min · by Chisqi

Flushd ARP on Windows and Linux

Introduction In the event of network modifications, it is possible for nodes within your network to encounter difficulties when attempting to establish connections with hosts outside of their respective subnets. This situation often arises when the IP address of the default gateway is reassigned to a new router, while the previous device remains operational for various reasons. Hosts that had previously communicated with the old router are familiar with its MAC address and associate the old IP with that particular MAC....

June 29, 2022 · 2 min · by Chisqi