Skip to content

Latest commit

 

History

History
169 lines (123 loc) · 6.92 KB

windows.md

File metadata and controls

169 lines (123 loc) · 6.92 KB

Windows trick.

Windows 11

https://github.com/mikeroyal/Windows-11-Guide

basic tricks.

  • get the windows hardware info. wmic computersystem get model,name,manufacturer,systemtype
  • locate system service tag wmic bios get serialnumber
  • Windows key wmic path softwarelicensingservice get OA3xOriginalProductKey
  • Window key using Linux sudo cat /sys/firmware/acpi/tables/MSDM | tail -1
  • Windows god mode to access all command in one place. Create a folder with the following strings.
  • Windows 7 & 8: GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}
  • Windows 10: GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}

Check the network setup and view past entries.

  • netsh
  • wlan show profiles SSID
  • wlan show profiles SSID key=clear

windows image command

https://www.windowscentral.com/how-use-dism-command-line-utility-repair-windows-10-image

https://superuser.com/questions/1280141/switch-raid-to-ahci-without-reinstalling-windows-10

disable auto update

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoUpdate /t REG_DWORD /d 1 /f

specify start layout for windows 10 pc

reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v SpecialRoamingOverrideAllowed /t REG_DWORD /d 1 /f

check storage health

wmic diskdrive get status

backup windows partition as squashfs

mount -o ro /dev/sda5 /mnt/windows
mksquashfs /mnt/windows/ ~/windows7.backup.squashfs

extend trial period for windows server

slmgr -dlv
slmgr -rearm

Reference: https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/dn502540(v=ws.11)

redirect time zones

```reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v fEnableTimeZoneRedirection /t REG_DWORD /d 1 /f````

windows newsgroup achive

windows server core option

Using windows laptop as wifi sharing

laptop as wireless hotspot

Step 1. Run the follwoing command will lists the properties of the wireless driver. Look for a line called "Hosted Network support: Yes"

netsh wlan show drivers

Step 2. defines a new network The hosted network mode has been set to allow. The SSID of the hosted network has been successfully changed. The user key passphrase of the hosted network has been successfully changed.

C:\WINDOWS\system32>netsh wlan set hostednetwork mode=allow ssid=penpen key=123g

Step 3. start the new network

C:\WINDOWS\system32>netsh wlan start hostednetwork

Step 4. Go to Control Panel > Network and Internet > Network Connections There should be a new virtual network.

Step 5. Now go to the Local Area Connection. Click properties. IN the Networking tab. unclick Internet Protocol Version6. IN the Networking tab. check IPv4 is enabled. Click the Sharing tab. on the top. deselect Allow other network users to connect through this computer's intern There should be a drop down list. Select the new one you created. Local Area Network 11.

Step 6. Now go back to the Local Network Connection recently created. Check the general tab. check the IPv4 connectivity: Internet

Step 7. Now ping outside.

C:\WINDOWS\system32>netsh wlan stop hostednetwork The hosted network started.

Reference

Candidates for this exam should have advanced experience and knowledge of IT operations, including networking, virtualization, identity, security, business continuity, disaster recovery, data platforms, and governance. A professional in this role should manage how decisions in each area affect an overall solution. In addition, they should have experience in Azure administration, Azure development, and DevOps processes. Design identity, governance, and monitoring solutions (25-30%) Design data storage solutions (25-30%) Design business continuity solutions (10-15%) Design infrastructure solutions (25-30%)

wifi modem specific

com programmer's cookbook

https://learn.microsoft.com/en-us/previous-versions/ms809982(v=msdn.10)

syscalls