Search This Blog

Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Monday, April 19, 2021

Install Windows 2019 from USB

 https://www.thomasmaurer.ch/2018/07/create-a-usb-drive-for-windows-server-2019-installation/


# Define Path to the Windows Server 2019 ISO $ISOFile = "C:\Temp\WindowsServer2019.iso"   # Get the USB Drive you want to use, copy the friendly name Get-Disk | Where BusType -eq "USB"   # Get the right USB Drive (You will need to change the FriendlyName) $USBDrive = Get-Disk | Where FriendlyName -eq "Kingston DT Workspace"   # Replace the Friendly Name to clean the USB Drive (THIS WILL REMOVE EVERYTHING) $USBDrive | Clear-Disk -RemoveData -Confirm:$true -PassThru   # Convert Disk to GPT $USBDrive | Set-Disk -PartitionStyle GPT   # Create partition primary and format to FAT32 $Volume = $USBDrive | New-Partition -UseMaximumSize -AssignDriveLetter | Format-Volume -FileSystem FAT32 -NewFileSystemLabel WS2019   # Mount iso $ISOMounted = Mount-DiskImage -ImagePath $ISOFile -StorageType ISO -PassThru   # Driver letter $ISODriveLetter = ($ISOMounted | Get-Volume).DriveLetter   # Copy Files to USB Copy-Item -Path ($ISODriveLetter +":\*") -Destination ($Volume.DriveLetter + ":\") -Recurse   # Dismount ISO Dismount-DiskImage -ImagePath $ISOFile

Monday, January 18, 2021

How to change Windows password in RDP or Citrix remote session

 Start "osk"  - On Screen Keyboard - then press CTRL-ALT and with mouse DEL on the osk.

Thursday, January 16, 2020

Windows Hello on HP Probook 470 G0

If you are looking for fingerprint sensor drivers for Windows Hello, try to get it from here:



I have WH bio-metric sensor successfully running on this platform.


D.

Tuesday, October 29, 2019

Disk C space issue? use mklink /j

mkdir D:\ProgramData
robocopy /XJ /MIR "C:\ProgramData" "D:\ProgramData"
mklink /J "C:\ProgramData" "D:\ProgramData"

Wednesday, August 14, 2019

Windows 2019 server activation error

With a correct key, we can not activate Windows 2019 server:

"We can’t activate Windows on this device as we can’t connect to your organization’s activation server. Make sure that you’re connected to your organization’s network and try again."

The workaround is to do with command line - run as administrator:

slmgr.vbs /ipk   key-key-..



Monday, May 6, 2019

ICMP redirect

In the middle of migration from one firewall to another you may discover that you need to point a specific migrated IP to new firewall, while default gateway remains as old firewall.


Then in the old firewall you will specify a route to forward to new firewall.

When a user will ping that IP, the old firewall as default route will respond with ICMP redirect message.  This message will most problably be ingored by your user PC.

Check if the registry Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\EnableICMPRedirect   is 1

and that Firewall allows ICMP Redirect messages (the best is to enable a custom Windows firewall rules to let this to be accepted in trusted networks, but not in public as example.


Then when you ping you will see ICMP redirect message in Wireshark, then after a while that your PC starts sending it to new Firewall.


Note that "route print" will not show this new route.





Thursday, August 30, 2018

Select Windows 2016 with GUI right from the begining

Do not forget to select Windows 2016 with Desktop experience, unless you want to have server core flavour.  You can not convert from core to GUI. You have to reinstall.

Wednesday, March 14, 2018

Thursday, August 31, 2017

Powershell module for DNS of Windows 2008R2

Here is a module that you can use on legacy servers http://dnsshell.codeplex.com/, once instaled you can run as example get-dnsrecord

But if you have Windows 2012 R2 you do not need external module anymore, use build-in Get-DnsServerResourceRecord and enjoy.



Friday, May 26, 2017