<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.luccapirovano.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=45.27.172.161</id>
	<title>Lucca&#039;s Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.luccapirovano.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=45.27.172.161"/>
	<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php/Special:Contributions/45.27.172.161"/>
	<updated>2026-09-25T05:29:56Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=End_of_Life&amp;diff=713</id>
		<title>End of Life</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=End_of_Life&amp;diff=713"/>
		<updated>2025-03-18T16:06:34Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Version | End of Support&lt;br /&gt;
&lt;br /&gt;
Windows 10 IoT Enterprise LTSC 2021	| Jan 13, 2032&lt;br /&gt;
&lt;br /&gt;
Windows Server 2022	| Oct 14, 2031&lt;br /&gt;
&lt;br /&gt;
Windows Server 2019 | Jan. 9, 2029&lt;br /&gt;
&lt;br /&gt;
Windows 10 Enterprise LTSC 2021 | Jan 12, 2027&lt;br /&gt;
&lt;br /&gt;
Windows Server 2016 |	Jan. 12, 2027&lt;br /&gt;
&lt;br /&gt;
Windows 10 Home and Pro	| Oct 14, 2025&lt;br /&gt;
&lt;br /&gt;
Windows Server 2012 R2 |	Oct 10, 2023&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Resources:&lt;br /&gt;
&lt;br /&gt;
https://support.microsoft.com/en-us/topic/january-9-2024-kb5034167-security-only-update-6597de47-c876-4f84-9293-8c4c4b603093&lt;br /&gt;
&lt;br /&gt;
https://endoflife.date/windows&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=End_of_Life&amp;diff=712</id>
		<title>End of Life</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=End_of_Life&amp;diff=712"/>
		<updated>2025-03-18T16:01:14Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Version | End of Support&lt;br /&gt;
&lt;br /&gt;
Windows 10 IoT Enterprise LTSC 2021	| Jan 13, 2032&lt;br /&gt;
&lt;br /&gt;
Windows Server 2022	| Oct 14, 2031&lt;br /&gt;
&lt;br /&gt;
Windows Server 2019 | Jan. 9, 2029&lt;br /&gt;
&lt;br /&gt;
Windows 10 Enterprise LTSC 2021 | Jan 12, 2027&lt;br /&gt;
&lt;br /&gt;
Windows Server 2016 |	Jan. 12, 2027&lt;br /&gt;
&lt;br /&gt;
Windows 10 Home and Pro	| Oct 14, 2025&lt;br /&gt;
&lt;br /&gt;
Windows Server 2012 R2 |	Oct 10, 2023&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Resources:&lt;br /&gt;
&lt;br /&gt;
https://support.microsoft.com/en-us/topic/january-9-2024-kb5034167-security-only-update-6597de47-c876-4f84-9293-8c4c4b603093&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=End_of_Life&amp;diff=711</id>
		<title>End of Life</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=End_of_Life&amp;diff=711"/>
		<updated>2025-03-18T16:00:25Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Version | End of Support&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Windows Server 2022	| Oct 14, 2031&lt;br /&gt;
&lt;br /&gt;
Windows Server 2019 | Jan. 9, 2029&lt;br /&gt;
&lt;br /&gt;
Windows Server 2016 |	Jan. 12, 2027&lt;br /&gt;
&lt;br /&gt;
Windows Server 2012 R2 |	Oct 10, 2023&lt;br /&gt;
&lt;br /&gt;
Windows 10 Enterprise LTSC 2021 | Jan 12, 2027&lt;br /&gt;
&lt;br /&gt;
Windows 10 IoT Enterprise LTSC 2021	| Jan 13, 2032&lt;br /&gt;
&lt;br /&gt;
Windows 10 Home and Pro	| Oct 14, 2025&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Resources:&lt;br /&gt;
&lt;br /&gt;
https://support.microsoft.com/en-us/topic/january-9-2024-kb5034167-security-only-update-6597de47-c876-4f84-9293-8c4c4b603093&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=End_of_Life&amp;diff=710</id>
		<title>End of Life</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=End_of_Life&amp;diff=710"/>
		<updated>2025-03-18T15:59:43Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Version | End of Support&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Windows Server 2022	| Oct 14, 2031&lt;br /&gt;
&lt;br /&gt;
Windows Server 2019 | Jan. 9, 2029&lt;br /&gt;
&lt;br /&gt;
Windows Server 2016 |	Jan. 12, 2027&lt;br /&gt;
&lt;br /&gt;
Windows Server 2012 R2 |	Oct 10, 2023&lt;br /&gt;
&lt;br /&gt;
Windows 10 Enterprise LTSC 2021 | Jan 12, 2027&lt;br /&gt;
&lt;br /&gt;
Windows 10 IoT Enterprise LTSC 2021	| Jan 13, 2032&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Resources:&lt;br /&gt;
&lt;br /&gt;
https://support.microsoft.com/en-us/topic/january-9-2024-kb5034167-security-only-update-6597de47-c876-4f84-9293-8c4c4b603093&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Win%2BR_Shortcuts&amp;diff=709</id>
		<title>Win+R Shortcuts</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Win%2BR_Shortcuts&amp;diff=709"/>
		<updated>2025-02-27T17:09:41Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Open AD Users and Computers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;dsa.msc&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Ctrl+Alt+Delete&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;shell:::{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open recycle bin&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;shell:RecycleBinFolder&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open legacy sound control panel&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mmsys.cpl&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open legacy volume mixer&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sndvol&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open legacy network &amp;amp; sharing center&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ncpa.cpl&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open legacy add or remove programs&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;appwiz.cpl&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open admin tools menu&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;control admintools&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open bluetooth devices menu&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;bthprops.cpl&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open tablet pc settings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tabletpc.cpl&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Personalization settings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;control desktop&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Legacy Device &amp;amp; Printer settings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;control /name Microsoft.Printers&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Add Printer Via IP Wizard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Rundll32.exe tcpmonui.dll,LocalAddPortUI&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Add Printer Wizard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;rundll32 printui.dll,PrintUIEntry /il&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Print Management&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;printmanagement.msc&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Screen Resolution Settings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;desk.cpl&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open taskbar settings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;control /name microsoft.taskbar&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open user accounts and passwords&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;control userpasswords&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open user accounts (netplwiz)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;netplwiz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open firewall&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;firewall.cpl&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open windows firewall with advanced security [admin prompt]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;wf.msc&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open windows security&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;wscui.cpl&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Device Manager [requires admin to make changes]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;devmgmt.msc&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Legacy Mouse Settings&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;main.cpl&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Legacy Keyboard Settings &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;control keyboard&amp;lt;/code&amp;gt; (set repeat delay to short &amp;amp; repeat rate to fast its very nice)&lt;br /&gt;
&lt;br /&gt;
Open Power Options&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;powercfg.cpl&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Language and Region Options&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;intl.cpl&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Scanners and Cameras&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;control sticpl.cpl&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open System / System Properties [admin prompt]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;control sysdm.cpl&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Windows Update [requires admin to make changes]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;control /name Microsoft.WindowsUpdate&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open all control panel items at once &amp;quot;god mode&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;shell:::{ED7BA470-8E54-465E-825C-99712043E01C}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Bitlocker Control Panel [requires admin to do make changes]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;control /name Microsoft.BitLockerDriveEncryption&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open File Explorer options&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;control folders&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Windows Firewall Allowed Apps&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;shell:::{4026492F-2F69-46B8-B9BF-5654FC07E423} - Microsoft.WindowsFirewall\pageConfigureApps&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Windows Optional Features [admin prompt]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;OptionalFeatures&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Services&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;services.msc&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open RDP Client&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mstsc&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Startup Apps Folder&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;shell:startup&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Home folder of current user&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open On-Screen Keyboard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;osk&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Detailed System Information&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;msinfo32&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Event Viewer&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;eventvwr.msc&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check Windows Version&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;winver&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Task Manager&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;taskmgr&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open CMD&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cmd&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open CMD faster on Windows 11&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;conhost&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Windows Powershell&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;powershell&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open New Powershell&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;pwsh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Magnifier&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;magnify&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take Screenshot&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ms-screenclip:&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lock Workstation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Rundll32.exe user32.dll,LockWorkStation&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Mail (Microsoft Outlook) Control Panel Applet&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;outlook.exe /manageprofiles&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Credential Manager [to clear cached credentials]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;rundll32.exe keymgr.dll,KRShowKeyMgr&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open a file explorer with all of the installed apps (for making shortcuts to uwp apps)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;shell:appsfolder&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Force RDP to enable multimonitor&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mstsc.exe /multimon&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
The Canonical names of all control panel applets:&lt;br /&gt;
&lt;br /&gt;
https://web.archive.org/web/20230209141449/https://learn.microsoft.com/en-us/windows/win32/shell/controlpanel-canonical-names&lt;br /&gt;
&lt;br /&gt;
MMC Admin Command Lines&lt;br /&gt;
&lt;br /&gt;
https://ss64.com/nt/syntax-mmc.html&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Violentmonkey_Script_Documentation_for_Whit&amp;diff=708</id>
		<title>Violentmonkey Script Documentation for Whit</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Violentmonkey_Script_Documentation_for_Whit&amp;diff=708"/>
		<updated>2025-02-26T14:16:35Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;hr&amp;gt;&lt;br /&gt;
Installation:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Edge: https://microsoftedge.microsoft.com/addons/detail/violentmonkey/eeagobfjdenkkddmbclomhiblgggliao&lt;br /&gt;
&lt;br /&gt;
Chrome/Chromium: https://chromewebstore.google.com/detail/violentmonkey/jinjaccalgkegednnccohejagnlnfdag&lt;br /&gt;
&lt;br /&gt;
Firefox: https://addons.mozilla.org/en-US/firefox/addon/violentmonkey/&lt;br /&gt;
&lt;br /&gt;
Import my scripts from this zip file using violentmonkey&#039;s &amp;quot;import from zip&amp;quot; option in settings: https://4cornerit-my.sharepoint.com/:u:/g/personal/gianlucca_pirovano_wheelhouseit_com/Ea-2dKkB5aVPpygS36ukGYcBTyqcFLjnUsmDCZmnKi1dOQ?e=jOiPHh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Open New Tabs:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Alt+T: New Ticket&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+T: Service Ticket Search&lt;br /&gt;
&lt;br /&gt;
Alt+B: Triage&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+B: Service Board --&amp;gt; Ctrl+Alt+4: Response SLA Monitoring&lt;br /&gt;
&lt;br /&gt;
Alt+C: Contacts&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+C: Configurations&lt;br /&gt;
&lt;br /&gt;
Alt+A: Automate&lt;br /&gt;
&lt;br /&gt;
Alt+Q: Quickpass [CyberQP]&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+Q: Quickpass Active Clients Hudu Article&lt;br /&gt;
&lt;br /&gt;
Ctrl+Shift+H: Hudu&lt;br /&gt;
&lt;br /&gt;
Ctrl+Shift+D: Duo&lt;br /&gt;
&lt;br /&gt;
Ctrl+M: My List [Tickets assigned to you]&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+P: Paste ticket number into a new tab [either the copied one or a manually entered one]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Tab Organization:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Alt+F2: Manually rename active tab&lt;br /&gt;
&lt;br /&gt;
Alt+Y: Copy ticket number to variable and change the tab&#039;s name to that ticket number and summary&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+Y: Force change tab name to last-copied ticket number and summary&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+P: Paste ticket number [either the copied one or a manually entered one] into a new tab&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+1: Set tab name to &amp;quot;My Tickets&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+2: Set tab name to &amp;quot;In Queue&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+3: Set tab name to &amp;quot;Triage&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+4: Set tab name to &amp;quot;SLA&amp;quot; --&amp;gt; [ Also selects the &amp;quot;Response SLA Monitoring&amp;quot; filter when on a service board ] &amp;lt;--&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+5: Set tab name to &amp;quot;Search&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Ticket Statuses:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Alt+1: Set ticket status to &amp;quot;In Progress&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+1: Set ticket status to &amp;quot;In Queue&amp;quot; | Ctrl+Shift+1: Set ticket status to &amp;quot;In Chat&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+2: Set ticket status to &amp;quot;New Via Phone&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+2: Set ticket status to &amp;quot;New Transfer From Triage&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+3: Set ticket status to &amp;quot;Pending Tech Assignment&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+3: Set ticket status to &amp;quot;Agent Responded&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+4: Set ticket status to &amp;quot;Completed (Closed)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+4: Set ticket status to &amp;quot;Enter Time&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Pod Post Auto-Creation:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
F10: Copy pod post with initial description&lt;br /&gt;
&lt;br /&gt;
Ctrl+F10: Copy pod post without initial description&lt;br /&gt;
&lt;br /&gt;
Alt+F10: Copy pod post with initial description and first internal note&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+F10: Copy pod post with a Teams ping to the assigned technician&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
General Navigation:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
F3: Open new ticket note&lt;br /&gt;
&lt;br /&gt;
Alt+Delete: Close ticket popup&lt;br /&gt;
&lt;br /&gt;
Win+-: Close ticket popup&lt;br /&gt;
&lt;br /&gt;
Alt+Backspace: Exit current ticket&lt;br /&gt;
&lt;br /&gt;
Alt+-: Exit current ticket&lt;br /&gt;
&lt;br /&gt;
F6: Refresh service board and clear any fields&lt;br /&gt;
&lt;br /&gt;
F7: Refresh current ticket&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+S: Save current ticket / note popup&lt;br /&gt;
&lt;br /&gt;
Alt+S: Save and exit current ticket / note popup&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Teams [teams.microsoft.com] navigation&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alt+9: Alpha Pod / Chat 1&lt;br /&gt;
&lt;br /&gt;
Alt+0: Charlie Pod / Chat 2&lt;br /&gt;
&lt;br /&gt;
Alt+-: Gamma Pod / Chat 3&lt;br /&gt;
&lt;br /&gt;
Alt+=: Toggle between &amp;quot;Teams&amp;quot; / &amp;quot;Chat&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ctrl+I: Click &amp;quot;new post&amp;quot; button and go to message body&lt;br /&gt;
&lt;br /&gt;
Ctrl+R: Focus message field&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+E: Focus search&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Remote_Desktop_Setup&amp;diff=707</id>
		<title>Remote Desktop Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Remote_Desktop_Setup&amp;diff=707"/>
		<updated>2025-02-14T19:19:15Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This App can be deployed through winget using the command below:&lt;br /&gt;
&lt;br /&gt;
 winget install --id=Microsoft.RemoteDesktopClient --accept-package-agreements --accept-source-agreements -h&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the page that hosts the download links for the Microsoft Remote Desktop App commonly used for Azure Virtual Desktop.&lt;br /&gt;
&lt;br /&gt;
https://learn.microsoft.com/en-us/azure/virtual-desktop/users/connect-windows?pivots=remote-desktop-msi&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
If you get prompted for a workspace url, you can use this if it is AVD: https://rdweb.wvd.microsoft.com&lt;br /&gt;
&lt;br /&gt;
*Connecting to Azure Virtual Desktop with Remote Desktop Client for Windows**&lt;br /&gt;
&lt;br /&gt;
*Overview:&lt;br /&gt;
Learn how to connect to Azure Virtual Desktop using the Remote Desktop client for Windows. This guide outlines the process and prerequisites required for seamless access to desktops and applications.&lt;br /&gt;
&lt;br /&gt;
*Prerequisites:&lt;br /&gt;
Before proceeding, ensure you meet the following requirements:&lt;br /&gt;
&lt;br /&gt;
- Internet access.&lt;br /&gt;
- Device running one of the supported Windows versions: Windows 11, Windows 10, Windows Server 2022, Windows Server 2019, or Windows Server 2016.&lt;br /&gt;
- .NET Framework 4.6.2 or later.&lt;br /&gt;
&lt;br /&gt;
*Download and Install Remote Desktop Client (MSI):&lt;br /&gt;
Follow these steps to install the Remote Desktop client using the MSI installer:&lt;br /&gt;
&lt;br /&gt;
1. Download the appropriate installer for your device (64-bit, 32-bit, or ARM64).&lt;br /&gt;
2. Run the installer and follow on-screen prompts.&lt;br /&gt;
3. Choose installation scope based on user or machine preference.&lt;br /&gt;
4. Complete the installation process.&lt;br /&gt;
&lt;br /&gt;
*Note: Avoid installing both the Remote Desktop client (MSI) and the Azure Virtual Desktop app from the Microsoft Store on the same device to prevent confusion.&lt;br /&gt;
&lt;br /&gt;
*Subscribe to a Workspace:&lt;br /&gt;
To access desktops and applications, subscribe to a workspace as follows:&lt;br /&gt;
&lt;br /&gt;
1. Open the Remote Desktop app.&lt;br /&gt;
2. Select &amp;quot;Subscribe&amp;quot; or &amp;quot;Subscribe with URL&amp;quot; from the initial screen.&lt;br /&gt;
3. Sign in with your user account.&lt;br /&gt;
4. Enter the Workspace URL or use the provided URL based on your Azure environment.&lt;br /&gt;
5. Sign in again if prompted.&lt;br /&gt;
&lt;br /&gt;
*Note: Workspaces update automatically, reflecting changes made by your admin.&lt;br /&gt;
&lt;br /&gt;
Connect to Desktops and Applications:&lt;br /&gt;
Once subscribed, connecting is straightforward:&lt;br /&gt;
&lt;br /&gt;
1. Open the Remote Desktop client.&lt;br /&gt;
2. Launch a session by double-clicking the desired icon.&lt;br /&gt;
3. Enter your user account password if prompted.&lt;br /&gt;
&lt;br /&gt;
By following these steps, you can seamlessly connect to Azure Virtual Desktop and access your resources with ease.&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Remote_Desktop_Setup&amp;diff=706</id>
		<title>Remote Desktop Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Remote_Desktop_Setup&amp;diff=706"/>
		<updated>2025-02-14T18:04:03Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This App can be deployed through winget using the command below:&lt;br /&gt;
&lt;br /&gt;
 winget install --id=Microsoft.RemoteDesktopClient -e&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the page that hosts the download links for the Microsoft Remote Desktop App commonly used for Azure Virtual Desktop.&lt;br /&gt;
&lt;br /&gt;
https://learn.microsoft.com/en-us/azure/virtual-desktop/users/connect-windows?pivots=remote-desktop-msi&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
If you get prompted for a workspace url, you can use this if it is AVD: https://rdweb.wvd.microsoft.com&lt;br /&gt;
&lt;br /&gt;
*Connecting to Azure Virtual Desktop with Remote Desktop Client for Windows**&lt;br /&gt;
&lt;br /&gt;
*Overview:&lt;br /&gt;
Learn how to connect to Azure Virtual Desktop using the Remote Desktop client for Windows. This guide outlines the process and prerequisites required for seamless access to desktops and applications.&lt;br /&gt;
&lt;br /&gt;
*Prerequisites:&lt;br /&gt;
Before proceeding, ensure you meet the following requirements:&lt;br /&gt;
&lt;br /&gt;
- Internet access.&lt;br /&gt;
- Device running one of the supported Windows versions: Windows 11, Windows 10, Windows Server 2022, Windows Server 2019, or Windows Server 2016.&lt;br /&gt;
- .NET Framework 4.6.2 or later.&lt;br /&gt;
&lt;br /&gt;
*Download and Install Remote Desktop Client (MSI):&lt;br /&gt;
Follow these steps to install the Remote Desktop client using the MSI installer:&lt;br /&gt;
&lt;br /&gt;
1. Download the appropriate installer for your device (64-bit, 32-bit, or ARM64).&lt;br /&gt;
2. Run the installer and follow on-screen prompts.&lt;br /&gt;
3. Choose installation scope based on user or machine preference.&lt;br /&gt;
4. Complete the installation process.&lt;br /&gt;
&lt;br /&gt;
*Note: Avoid installing both the Remote Desktop client (MSI) and the Azure Virtual Desktop app from the Microsoft Store on the same device to prevent confusion.&lt;br /&gt;
&lt;br /&gt;
*Subscribe to a Workspace:&lt;br /&gt;
To access desktops and applications, subscribe to a workspace as follows:&lt;br /&gt;
&lt;br /&gt;
1. Open the Remote Desktop app.&lt;br /&gt;
2. Select &amp;quot;Subscribe&amp;quot; or &amp;quot;Subscribe with URL&amp;quot; from the initial screen.&lt;br /&gt;
3. Sign in with your user account.&lt;br /&gt;
4. Enter the Workspace URL or use the provided URL based on your Azure environment.&lt;br /&gt;
5. Sign in again if prompted.&lt;br /&gt;
&lt;br /&gt;
*Note: Workspaces update automatically, reflecting changes made by your admin.&lt;br /&gt;
&lt;br /&gt;
Connect to Desktops and Applications:&lt;br /&gt;
Once subscribed, connecting is straightforward:&lt;br /&gt;
&lt;br /&gt;
1. Open the Remote Desktop client.&lt;br /&gt;
2. Launch a session by double-clicking the desired icon.&lt;br /&gt;
3. Enter your user account password if prompted.&lt;br /&gt;
&lt;br /&gt;
By following these steps, you can seamlessly connect to Azure Virtual Desktop and access your resources with ease.&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Remote_Desktop_Setup&amp;diff=705</id>
		<title>Remote Desktop Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Remote_Desktop_Setup&amp;diff=705"/>
		<updated>2025-02-14T18:03:50Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This App can be deployed through winget using the command below:&lt;br /&gt;
&lt;br /&gt;
 winget install --id=Microsoft.RemoteDesktopClient -e&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the page that hosts the download links for the Microsoft Remote Desktop App commonly used for Azure Virtual Desktop.&lt;br /&gt;
&lt;br /&gt;
https://learn.microsoft.com/en-us/azure/virtual-desktop/users/connect-windows?pivots=remote-desktop-msi&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
If you get prompted for a workspace url, you can use this if it is AVD: https://rdweb.wvd.microsoft.com&lt;br /&gt;
&lt;br /&gt;
*Connecting to Azure Virtual Desktop with Remote Desktop Client for Windows**&lt;br /&gt;
&lt;br /&gt;
*Overview:&lt;br /&gt;
Learn how to connect to Azure Virtual Desktop using the Remote Desktop client for Windows. This guide outlines the process and prerequisites required for seamless access to desktops and applications.&lt;br /&gt;
&lt;br /&gt;
*Prerequisites:&lt;br /&gt;
Before proceeding, ensure you meet the following requirements:&lt;br /&gt;
&lt;br /&gt;
- Internet access.&lt;br /&gt;
- Device running one of the supported Windows versions: Windows 11, Windows 10, Windows Server 2022, Windows Server 2019, or Windows Server 2016.&lt;br /&gt;
- .NET Framework 4.6.2 or later.&lt;br /&gt;
&lt;br /&gt;
*Download and Install Remote Desktop Client (MSI):&lt;br /&gt;
Follow these steps to install the Remote Desktop client using the MSI installer:&lt;br /&gt;
&lt;br /&gt;
1. Download the appropriate installer for your device (64-bit, 32-bit, or ARM64).&lt;br /&gt;
2. Run the installer and follow on-screen prompts.&lt;br /&gt;
3. Choose installation scope based on user or machine preference.&lt;br /&gt;
4. Complete the installation process.&lt;br /&gt;
&lt;br /&gt;
*Note: Avoid installing both the Remote Desktop client (MSI) and the Azure Virtual Desktop app from the Microsoft Store on the same device to prevent confusion.&lt;br /&gt;
&lt;br /&gt;
*Subscribe to a Workspace:&lt;br /&gt;
To access desktops and applications, subscribe to a workspace as follows:&lt;br /&gt;
&lt;br /&gt;
1. Open the Remote Desktop app.&lt;br /&gt;
2. Select &amp;quot;Subscribe&amp;quot; or &amp;quot;Subscribe with URL&amp;quot; from the initial screen.&lt;br /&gt;
3. Sign in with your user account.&lt;br /&gt;
4. Enter the Workspace URL or use the provided URL based on your Azure environment.&lt;br /&gt;
5. Sign in again if prompted.&lt;br /&gt;
&lt;br /&gt;
*Note: Workspaces update automatically, reflecting changes made by your admin.&lt;br /&gt;
&lt;br /&gt;
Connect to Desktops and Applications:&lt;br /&gt;
Once subscribed, connecting is straightforward:&lt;br /&gt;
&lt;br /&gt;
1. Open the Remote Desktop client.&lt;br /&gt;
2. Launch a session by double-clicking the desired icon.&lt;br /&gt;
3. Enter your user account password if prompted.&lt;br /&gt;
&lt;br /&gt;
By following these steps, you can seamlessly connect to Azure Virtual Desktop and access your resources with ease.&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Remote_Desktop_Setup&amp;diff=704</id>
		<title>Remote Desktop Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Remote_Desktop_Setup&amp;diff=704"/>
		<updated>2025-02-14T18:03:42Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This App can be deployed through winget using the command below:&lt;br /&gt;
&lt;br /&gt;
 winget install --id=Microsoft.RemoteDesktopClient -e&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the page that hosts the download links for the Microsoft Remote Desktop App commonly used for Azure Virtual Desktop.&lt;br /&gt;
&lt;br /&gt;
https://learn.microsoft.com/en-us/azure/virtual-desktop/users/connect-windows?pivots=remote-desktop-msi&lt;br /&gt;
	&lt;br /&gt;
If you get prompted for a workspace url, you can use this if it is AVD: https://rdweb.wvd.microsoft.com&lt;br /&gt;
&lt;br /&gt;
*Connecting to Azure Virtual Desktop with Remote Desktop Client for Windows**&lt;br /&gt;
&lt;br /&gt;
*Overview:&lt;br /&gt;
Learn how to connect to Azure Virtual Desktop using the Remote Desktop client for Windows. This guide outlines the process and prerequisites required for seamless access to desktops and applications.&lt;br /&gt;
&lt;br /&gt;
*Prerequisites:&lt;br /&gt;
Before proceeding, ensure you meet the following requirements:&lt;br /&gt;
&lt;br /&gt;
- Internet access.&lt;br /&gt;
- Device running one of the supported Windows versions: Windows 11, Windows 10, Windows Server 2022, Windows Server 2019, or Windows Server 2016.&lt;br /&gt;
- .NET Framework 4.6.2 or later.&lt;br /&gt;
&lt;br /&gt;
*Download and Install Remote Desktop Client (MSI):&lt;br /&gt;
Follow these steps to install the Remote Desktop client using the MSI installer:&lt;br /&gt;
&lt;br /&gt;
1. Download the appropriate installer for your device (64-bit, 32-bit, or ARM64).&lt;br /&gt;
2. Run the installer and follow on-screen prompts.&lt;br /&gt;
3. Choose installation scope based on user or machine preference.&lt;br /&gt;
4. Complete the installation process.&lt;br /&gt;
&lt;br /&gt;
*Note: Avoid installing both the Remote Desktop client (MSI) and the Azure Virtual Desktop app from the Microsoft Store on the same device to prevent confusion.&lt;br /&gt;
&lt;br /&gt;
*Subscribe to a Workspace:&lt;br /&gt;
To access desktops and applications, subscribe to a workspace as follows:&lt;br /&gt;
&lt;br /&gt;
1. Open the Remote Desktop app.&lt;br /&gt;
2. Select &amp;quot;Subscribe&amp;quot; or &amp;quot;Subscribe with URL&amp;quot; from the initial screen.&lt;br /&gt;
3. Sign in with your user account.&lt;br /&gt;
4. Enter the Workspace URL or use the provided URL based on your Azure environment.&lt;br /&gt;
5. Sign in again if prompted.&lt;br /&gt;
&lt;br /&gt;
*Note: Workspaces update automatically, reflecting changes made by your admin.&lt;br /&gt;
&lt;br /&gt;
Connect to Desktops and Applications:&lt;br /&gt;
Once subscribed, connecting is straightforward:&lt;br /&gt;
&lt;br /&gt;
1. Open the Remote Desktop client.&lt;br /&gt;
2. Launch a session by double-clicking the desired icon.&lt;br /&gt;
3. Enter your user account password if prompted.&lt;br /&gt;
&lt;br /&gt;
By following these steps, you can seamlessly connect to Azure Virtual Desktop and access your resources with ease.&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Violentmonkey_Script_Documentation_for_Whit&amp;diff=702</id>
		<title>Violentmonkey Script Documentation for Whit</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Violentmonkey_Script_Documentation_for_Whit&amp;diff=702"/>
		<updated>2025-01-14T20:04:45Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;hr&amp;gt;&lt;br /&gt;
Installation:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Edge: https://microsoftedge.microsoft.com/addons/detail/violentmonkey/eeagobfjdenkkddmbclomhiblgggliao&lt;br /&gt;
&lt;br /&gt;
Chrome/Chromium: https://chromewebstore.google.com/detail/violentmonkey/jinjaccalgkegednnccohejagnlnfdag&lt;br /&gt;
&lt;br /&gt;
Firefox: https://addons.mozilla.org/en-US/firefox/addon/violentmonkey/&lt;br /&gt;
&lt;br /&gt;
Import my scripts from this zip file using violentmonkey&#039;s &amp;quot;import from zip&amp;quot; option in settings: https://4cornerit-my.sharepoint.com/:u:/g/personal/gianlucca_pirovano_wheelhouseit_com/Eaz4NaujePhBuAW5b8KOf64BCJ_3KE_Ttlbrg16tvcjAug?e=cMe4Hw&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Open New Tabs:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Alt+T: New Ticket&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+T: Service Ticket Search&lt;br /&gt;
&lt;br /&gt;
Alt+B: Triage&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+B: Service Board --&amp;gt; Ctrl+Alt+4: Response SLA Monitoring&lt;br /&gt;
&lt;br /&gt;
Alt+C: Contacts&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+C: Configurations&lt;br /&gt;
&lt;br /&gt;
Alt+A: Automate&lt;br /&gt;
&lt;br /&gt;
Alt+Q: Quickpass [CyberQP]&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+Q: Quickpass Active Clients Hudu Article&lt;br /&gt;
&lt;br /&gt;
Ctrl+Shift+H: Hudu&lt;br /&gt;
&lt;br /&gt;
Ctrl+Shift+D: Duo&lt;br /&gt;
&lt;br /&gt;
Ctrl+M: My List [Tickets assigned to you]&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+P: Paste ticket number into a new tab [either the copied one or a manually entered one]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Tab Organization:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Alt+F2: Manually rename active tab&lt;br /&gt;
&lt;br /&gt;
Alt+Y: Copy ticket number to variable and change the tab&#039;s name to that ticket number and summary&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+Y: Force change tab name to last-copied ticket number and summary&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+P: Paste ticket number [either the copied one or a manually entered one] into a new tab&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+1: Set tab name to &amp;quot;My Tickets&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+2: Set tab name to &amp;quot;In Queue&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+3: Set tab name to &amp;quot;Triage&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+4: Set tab name to &amp;quot;SLA&amp;quot; --&amp;gt; [ Also selects the &amp;quot;Response SLA Monitoring&amp;quot; filter when on a service board ] &amp;lt;--&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+5: Set tab name to &amp;quot;Search&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Ticket Statuses:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Alt+1: Set ticket status to &amp;quot;In Progress&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+1: Set ticket status to &amp;quot;In Queue&amp;quot; | Ctrl+Shift+1: Set ticket status to &amp;quot;In Chat&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+2: Set ticket status to &amp;quot;New Via Phone&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+2: Set ticket status to &amp;quot;New Transfer From Triage&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+3: Set ticket status to &amp;quot;Pending Tech Assignment&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+3: Set ticket status to &amp;quot;Agent Responded&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+4: Set ticket status to &amp;quot;Completed (Closed)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+4: Set ticket status to &amp;quot;Enter Time&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Pod Post Auto-Creation:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
F10: Copy pod post with initial description&lt;br /&gt;
&lt;br /&gt;
Ctrl+F10: Copy pod post without initial description&lt;br /&gt;
&lt;br /&gt;
Alt+F10: Copy pod post with initial description and first internal note&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+F10: Copy pod post with a Teams ping to the assigned technician&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
General Navigation:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
F3: Open new ticket note&lt;br /&gt;
&lt;br /&gt;
Alt+Delete: Close ticket popup&lt;br /&gt;
&lt;br /&gt;
Win+-: Close ticket popup&lt;br /&gt;
&lt;br /&gt;
Alt+Backspace: Exit current ticket&lt;br /&gt;
&lt;br /&gt;
Alt+-: Exit current ticket&lt;br /&gt;
&lt;br /&gt;
F6: Refresh service board and clear any fields&lt;br /&gt;
&lt;br /&gt;
F7: Refresh current ticket&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+S: Save current ticket / note popup&lt;br /&gt;
&lt;br /&gt;
Alt+S: Save and exit current ticket / note popup&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Teams [teams.microsoft.com] navigation&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alt+9: Alpha Pod / Chat 1&lt;br /&gt;
&lt;br /&gt;
Alt+0: Charlie Pod / Chat 2&lt;br /&gt;
&lt;br /&gt;
Alt+-: Gamma Pod / Chat 3&lt;br /&gt;
&lt;br /&gt;
Alt+=: Toggle between &amp;quot;Teams&amp;quot; / &amp;quot;Chat&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ctrl+I: Click &amp;quot;new post&amp;quot; button and go to message body&lt;br /&gt;
&lt;br /&gt;
Ctrl+R: Focus message field&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+E: Focus search&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Violentmonkey_Script_Documentation_for_Whit&amp;diff=701</id>
		<title>Violentmonkey Script Documentation for Whit</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Violentmonkey_Script_Documentation_for_Whit&amp;diff=701"/>
		<updated>2025-01-14T20:04:32Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;hr&amp;gt;&lt;br /&gt;
Installation:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Edge: https://microsoftedge.microsoft.com/addons/detail/violentmonkey/eeagobfjdenkkddmbclomhiblgggliao&lt;br /&gt;
&lt;br /&gt;
Chrome/Chromium: https://chromewebstore.google.com/detail/violentmonkey/jinjaccalgkegednnccohejagnlnfdag&lt;br /&gt;
&lt;br /&gt;
Firefox: https://addons.mozilla.org/en-US/firefox/addon/violentmonkey/&lt;br /&gt;
&lt;br /&gt;
Import my scripts from this zip file using violentmonkey&#039;s &amp;quot;import from zip&amp;quot; option: https://4cornerit-my.sharepoint.com/:u:/g/personal/gianlucca_pirovano_wheelhouseit_com/Eaz4NaujePhBuAW5b8KOf64BCJ_3KE_Ttlbrg16tvcjAug?e=cMe4Hw&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Open New Tabs:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Alt+T: New Ticket&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+T: Service Ticket Search&lt;br /&gt;
&lt;br /&gt;
Alt+B: Triage&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+B: Service Board --&amp;gt; Ctrl+Alt+4: Response SLA Monitoring&lt;br /&gt;
&lt;br /&gt;
Alt+C: Contacts&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+C: Configurations&lt;br /&gt;
&lt;br /&gt;
Alt+A: Automate&lt;br /&gt;
&lt;br /&gt;
Alt+Q: Quickpass [CyberQP]&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+Q: Quickpass Active Clients Hudu Article&lt;br /&gt;
&lt;br /&gt;
Ctrl+Shift+H: Hudu&lt;br /&gt;
&lt;br /&gt;
Ctrl+Shift+D: Duo&lt;br /&gt;
&lt;br /&gt;
Ctrl+M: My List [Tickets assigned to you]&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+P: Paste ticket number into a new tab [either the copied one or a manually entered one]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Tab Organization:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Alt+F2: Manually rename active tab&lt;br /&gt;
&lt;br /&gt;
Alt+Y: Copy ticket number to variable and change the tab&#039;s name to that ticket number and summary&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+Y: Force change tab name to last-copied ticket number and summary&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+P: Paste ticket number [either the copied one or a manually entered one] into a new tab&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+1: Set tab name to &amp;quot;My Tickets&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+2: Set tab name to &amp;quot;In Queue&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+3: Set tab name to &amp;quot;Triage&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+4: Set tab name to &amp;quot;SLA&amp;quot; --&amp;gt; [ Also selects the &amp;quot;Response SLA Monitoring&amp;quot; filter when on a service board ] &amp;lt;--&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+5: Set tab name to &amp;quot;Search&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Ticket Statuses:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Alt+1: Set ticket status to &amp;quot;In Progress&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+1: Set ticket status to &amp;quot;In Queue&amp;quot; | Ctrl+Shift+1: Set ticket status to &amp;quot;In Chat&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+2: Set ticket status to &amp;quot;New Via Phone&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+2: Set ticket status to &amp;quot;New Transfer From Triage&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+3: Set ticket status to &amp;quot;Pending Tech Assignment&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+3: Set ticket status to &amp;quot;Agent Responded&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+4: Set ticket status to &amp;quot;Completed (Closed)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+4: Set ticket status to &amp;quot;Enter Time&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Pod Post Auto-Creation:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
F10: Copy pod post with initial description&lt;br /&gt;
&lt;br /&gt;
Ctrl+F10: Copy pod post without initial description&lt;br /&gt;
&lt;br /&gt;
Alt+F10: Copy pod post with initial description and first internal note&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+F10: Copy pod post with a Teams ping to the assigned technician&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
General Navigation:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
F3: Open new ticket note&lt;br /&gt;
&lt;br /&gt;
Alt+Delete: Close ticket popup&lt;br /&gt;
&lt;br /&gt;
Win+-: Close ticket popup&lt;br /&gt;
&lt;br /&gt;
Alt+Backspace: Exit current ticket&lt;br /&gt;
&lt;br /&gt;
Alt+-: Exit current ticket&lt;br /&gt;
&lt;br /&gt;
F6: Refresh service board and clear any fields&lt;br /&gt;
&lt;br /&gt;
F7: Refresh current ticket&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+S: Save current ticket / note popup&lt;br /&gt;
&lt;br /&gt;
Alt+S: Save and exit current ticket / note popup&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Teams [teams.microsoft.com] navigation&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alt+9: Alpha Pod / Chat 1&lt;br /&gt;
&lt;br /&gt;
Alt+0: Charlie Pod / Chat 2&lt;br /&gt;
&lt;br /&gt;
Alt+-: Gamma Pod / Chat 3&lt;br /&gt;
&lt;br /&gt;
Alt+=: Toggle between &amp;quot;Teams&amp;quot; / &amp;quot;Chat&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ctrl+I: Click &amp;quot;new post&amp;quot; button and go to message body&lt;br /&gt;
&lt;br /&gt;
Ctrl+R: Focus message field&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+E: Focus search&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Violentmonkey_Script_Documentation_for_Whit&amp;diff=700</id>
		<title>Violentmonkey Script Documentation for Whit</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Violentmonkey_Script_Documentation_for_Whit&amp;diff=700"/>
		<updated>2025-01-14T16:29:42Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;hr&amp;gt;&lt;br /&gt;
Installation:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Edge: https://microsoftedge.microsoft.com/addons/detail/violentmonkey/eeagobfjdenkkddmbclomhiblgggliao&lt;br /&gt;
&lt;br /&gt;
Chrome/Chromium: https://chromewebstore.google.com/detail/violentmonkey/jinjaccalgkegednnccohejagnlnfdag&lt;br /&gt;
&lt;br /&gt;
Firefox: https://addons.mozilla.org/en-US/firefox/addon/violentmonkey/&lt;br /&gt;
&lt;br /&gt;
Import my scripts from this zip file: https://4cornerit-my.sharepoint.com/:u:/g/personal/gianlucca_pirovano_wheelhouseit_com/Eaz4NaujePhBuAW5b8KOf64BCJ_3KE_Ttlbrg16tvcjAug?e=cMe4Hw&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Open New Tabs:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Alt+T: New Ticket&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+T: Service Ticket Search&lt;br /&gt;
&lt;br /&gt;
Alt+B: Triage&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+B: Service Board --&amp;gt; Ctrl+Alt+4: Response SLA Monitoring&lt;br /&gt;
&lt;br /&gt;
Alt+C: Contacts&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+C: Configurations&lt;br /&gt;
&lt;br /&gt;
Alt+A: Automate&lt;br /&gt;
&lt;br /&gt;
Alt+Q: Quickpass [CyberQP]&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+Q: Quickpass Active Clients Hudu Article&lt;br /&gt;
&lt;br /&gt;
Ctrl+Shift+H: Hudu&lt;br /&gt;
&lt;br /&gt;
Ctrl+Shift+D: Duo&lt;br /&gt;
&lt;br /&gt;
Ctrl+M: My List [Tickets assigned to you]&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+P: Paste ticket number into a new tab [either the copied one or a manually entered one]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Tab Organization:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Alt+F2: Manually rename active tab&lt;br /&gt;
&lt;br /&gt;
Alt+Y: Copy ticket number to variable and change the tab&#039;s name to that ticket number and summary&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+Y: Force change tab name to last-copied ticket number and summary&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+P: Paste ticket number [either the copied one or a manually entered one] into a new tab&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+1: Set tab name to &amp;quot;My Tickets&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+2: Set tab name to &amp;quot;In Queue&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+3: Set tab name to &amp;quot;Triage&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+4: Set tab name to &amp;quot;SLA&amp;quot; --&amp;gt; [ Also selects the &amp;quot;Response SLA Monitoring&amp;quot; filter when on a service board ] &amp;lt;--&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+5: Set tab name to &amp;quot;Search&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Ticket Statuses:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Alt+1: Set ticket status to &amp;quot;In Progress&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+1: Set ticket status to &amp;quot;In Queue&amp;quot; | Ctrl+Shift+1: Set ticket status to &amp;quot;In Chat&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+2: Set ticket status to &amp;quot;New Via Phone&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+2: Set ticket status to &amp;quot;New Transfer From Triage&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+3: Set ticket status to &amp;quot;Pending Tech Assignment&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+3: Set ticket status to &amp;quot;Agent Responded&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+4: Set ticket status to &amp;quot;Completed (Closed)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+4: Set ticket status to &amp;quot;Enter Time&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Pod Post Auto-Creation:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
F10: Copy pod post with initial description&lt;br /&gt;
&lt;br /&gt;
Ctrl+F10: Copy pod post without initial description&lt;br /&gt;
&lt;br /&gt;
Alt+F10: Copy pod post with initial description and first internal note&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+F10: Copy pod post with a Teams ping to the assigned technician&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
General Navigation:&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
F3: Open new ticket note&lt;br /&gt;
&lt;br /&gt;
Alt+Delete: Close ticket popup&lt;br /&gt;
&lt;br /&gt;
Win+-: Close ticket popup&lt;br /&gt;
&lt;br /&gt;
Alt+Backspace: Exit current ticket&lt;br /&gt;
&lt;br /&gt;
Alt+-: Exit current ticket&lt;br /&gt;
&lt;br /&gt;
F6: Refresh service board and clear any fields&lt;br /&gt;
&lt;br /&gt;
F7: Refresh current ticket&lt;br /&gt;
&lt;br /&gt;
Alt+Shift+S: Save current ticket / note popup&lt;br /&gt;
&lt;br /&gt;
Alt+S: Save and exit current ticket / note popup&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Teams [teams.microsoft.com] navigation&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alt+9: Alpha Pod / Chat 1&lt;br /&gt;
&lt;br /&gt;
Alt+0: Charlie Pod / Chat 2&lt;br /&gt;
&lt;br /&gt;
Alt+-: Gamma Pod / Chat 3&lt;br /&gt;
&lt;br /&gt;
Alt+=: Toggle between &amp;quot;Teams&amp;quot; / &amp;quot;Chat&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ctrl+I: Click &amp;quot;new post&amp;quot; button and go to message body&lt;br /&gt;
&lt;br /&gt;
Ctrl+R: Focus message field&lt;br /&gt;
&lt;br /&gt;
Ctrl+Alt+E: Focus search&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Commands&amp;diff=699</id>
		<title>Commands</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Commands&amp;diff=699"/>
		<updated>2025-01-13T19:12:34Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;hr&amp;gt;This page includes both cmd and powershell commands, realistically, all of them should run from powershell anyway.&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;ipconfig&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ipconfig command is a command-line utility used to display and manage the IP address assigned to a machine. It provides information about the current TCP/IP network configuration, including the IP address, subnet mask, and default gateway for all adapters . In Windows, typing ipconfig without any parameters displays the computer&#039;s currently assigned IP, subnet mask, and default gateway addresses. Additional parameters can be used to perform various actions, such as releasing and renewing IP addresses, flushing the DNS cache, and displaying DNS information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the basic TCP/IP configuration for all adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /all&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the full TCP/IP configuration for all adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /release&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Releases the IP address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /renew&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Renews the IP address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /flushdns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Purges the DNS resolver cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /registerdns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Refreshes all DHCP leases and re-registers DNS names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /displaydns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the contents of the DNS cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /showclassid&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /setclassid&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sets the DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /allcompartments&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the full TCP/IP configuration for all adapters, including all compartments.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /release6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Releases the IPv6 address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /renew6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Renews the IPv6 address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /showclassid6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the IPv6 DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /setclassid6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sets the IPv6 DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /flushdns6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Purges the IPv6 DNS resolver cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
USE THIS IF WINDOWS IS ACTING UP HELLA WEIRD&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt; command is used to scan for corruption in the Windows image and repair any issues found. DISM stands for Deployment Image Servicing and Management, and it is a command-line tool used to service and prepare Windows images for deployment, recovery, and setup.&lt;br /&gt;
&lt;br /&gt;
When you run the &amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt; command, it performs the following tasks:&lt;br /&gt;
&lt;br /&gt;
Scans the Windows image for corruption and identifies any issues.&lt;br /&gt;
Verifies the integrity of the system file backups in the Component Store by comparing them against known good copies from the Windows Update servers.&lt;br /&gt;
Attempts to repair any corruption found in the Windows image by replacing the corrupted files with the known good copies.&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to note that running this command requires administrative privileges, and it may take some time to complete, depending on the system and the extent of the corruption.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-open cmd in admin&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-after running DISM, run this right after, if errors are found, it will fix it, reboot pc&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SFC /scannow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-after reboot, run CMD as admin and run again&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SFC /scannow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-Let&#039;s not forget the G.O.A.T., Use in Run to reset internet settings especially if you are having connecting MS app online or if Sonicwall Netextender breaks the connection&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;RunDll32.exe InetCpl.cpl,ResetIEtoDefaults&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
How to find mapped drives on cmd:&lt;br /&gt;
&lt;br /&gt;
Open the Run dialog box by pressing the Windows &amp;lt;code&amp;gt;key + R.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type &amp;quot;cmd&amp;quot; and press Enter to open the Command Prompt.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use&amp;lt;/code&amp;gt; and press Enter to see a list of all mapped network drives.&lt;br /&gt;
&lt;br /&gt;
Find the drive you want to reconnect and take note of its name.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use &amp;lt;drive letter&amp;gt;: /delete&amp;lt;/code&amp;gt; and press Enter to delete the mapping.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use &amp;lt;drive letter&amp;gt;: \server\share /persistent:yes&amp;lt;/code&amp;gt; and press Enter to&lt;br /&gt;
recreate the mapping with the &amp;quot;persistent&amp;quot; option, which should keep the mapping&lt;br /&gt;
alive even after a disconnect.&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create a Local user with CMD and make it into Admin, IF The username has a period in between please use the quotations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;user.name&amp;quot; password /add&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net localgroup administrators &amp;quot;user.name&amp;quot; /add&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to remove Admin creds&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net localgroup administrators &amp;quot;user.name&amp;quot; /delete&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you need to delete the local account&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;user.name&amp;quot; /delete&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Disable builtin Administrator and Guest accounts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;Administrator&amp;quot; /active:no&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;Guest&amp;quot; /active:no&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Disable hibernation file to resolve issues with shutdown and free up some disk space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;powercfg.exe /Hibernate off&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Log off someone from a desktop session&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
List all sessions: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;query session&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Logoff the corresponding session:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;logoff {number}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix right click on Windows 11, doesn&#039;t need admin:&lt;br /&gt;
&lt;br /&gt;
 reg.exe add &amp;quot;HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32&amp;quot; /f /ve&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix alt key opening hamburger menu on ms edge [needs admin]:&lt;br /&gt;
&lt;br /&gt;
 reg add HKLM\SOFTWARE\Policies\Microsoft\Edge /v ConfigureKeyboardShortcuts /d {\&amp;quot;disabled\&amp;quot;:[\&amp;quot;focus_settings_and_more\&amp;quot;]}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Check if the Password is Expired&lt;br /&gt;
&lt;br /&gt;
 Get-ADUser -identity INSERTclientUSERNAMEHERE -properties PasswordLastSet, PasswordExpired, PasswordNeverExpires | ft Name, PasswordLastSet, PasswordExpired, PasswordNeverExpires&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Force the DC to sync the password&lt;br /&gt;
&lt;br /&gt;
 start-adsyncsynccycle -policytype delta&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Join a domain&lt;br /&gt;
&lt;br /&gt;
 add-computer -domainname &amp;quot;YourDomainName&amp;quot;  -restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Getting New Teams to install when it refuses to [Needs Admin]&lt;br /&gt;
&lt;br /&gt;
 Add-ProvisionedAppPackage -Online -PackagePath &amp;quot;MSTeams-x64.msix&amp;quot; -SkipLicense&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
List Services and their running status&lt;br /&gt;
&lt;br /&gt;
 Get-Service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Set a service to autostart&lt;br /&gt;
&lt;br /&gt;
 Set-Service -Name {servicename} -StartupType &#039;Automatic&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Start/Stop a service&lt;br /&gt;
&lt;br /&gt;
 Start-Service {servicename}&lt;br /&gt;
 Stop-Service {servicename}&lt;br /&gt;
 Restart-Service {servicename}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Install OpenSSH-Server&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Remove all default gateways from a network adapter&lt;br /&gt;
&lt;br /&gt;
 Remove-NetRoute -InterfaceAlias &amp;quot;{get this name from Get-NetAdapter}&amp;quot; -DestinationPrefix 0.0.0.0/0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Set an IP Address&lt;br /&gt;
&lt;br /&gt;
 Get-NetAdapter -Name &#039;{get this name from Get-NetAdapter}&#039; | New-NetIPAddress -IPAddress {newIP} -PrefixLength {subnet mask [cidr]}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Allow inbound Ipv4 Pings&lt;br /&gt;
 netsh advfirewall firewall add rule name=&amp;quot;ICMP Allow incoming V4 echo request&amp;quot; protocol=icmpv4:8,any dir=in action=allow&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Show all WiFi Passwords [CMD Only]&lt;br /&gt;
 for /f &amp;quot;skip=9 tokens=1,2 delims=:&amp;quot; %i in (&#039;netsh wlan show profiles&#039;) do @if &amp;quot;%j&amp;quot; NEQ &amp;quot;&amp;quot; (echo SSID: %j &amp;amp; netsh wlan show profiles %j key=clear | findstr &amp;quot;Key Content&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Install server manager on a Non-Windows-Server OS&lt;br /&gt;
 Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Force update Group Policy (apply group policy changes)&lt;br /&gt;
 gpupdate.exe /force&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Resize a VHD [Virtual Hard Disk]&lt;br /&gt;
 resize-vhd -path &amp;quot;f:\Shares\profiledisks&amp;quot; -Sizebytes 30GB&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Persistently map a drive&lt;br /&gt;
 net use /persistent:yes h: \\VBoxSvr\Win11\Documents &lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Switch to compact os mode to save space&lt;br /&gt;
 Compact.exe /CompactOS:always&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Migrate a folder from one drive to the other preserving permissions and logging everything to the D:\ drive&lt;br /&gt;
 robocopy &amp;quot;C:\users\awesome.guy&amp;quot; &amp;quot;D:\users\awesome.guy&amp;quot; /E /COPYALL /zb /r:10 /w:10 /tee /unilog+:&amp;quot;D:\robocopylog.txt&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Add a domain to the global dns search list&lt;br /&gt;
 Set-DnsClientGlobalSetting -SuffixSearchList @(&amp;quot;corp.mariocorp.com&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix windows update not showing in the settings page (some RMM&#039;s do this by design to handle patching themselves)&lt;br /&gt;
 reg delete &amp;quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer&amp;quot; /v SettingsPageVisibility /f&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Clipboardbuffers.py&amp;diff=692</id>
		<title>Clipboardbuffers.py</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Clipboardbuffers.py&amp;diff=692"/>
		<updated>2024-12-11T20:34:27Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;import sys&lt;br /&gt;
import time&lt;br /&gt;
import pyperclip&lt;br /&gt;
import pyautogui&lt;br /&gt;
import pickle&lt;br /&gt;
from tkinter import *&lt;br /&gt;
&lt;br /&gt;
def dumpClipboardBufferToFile():&lt;br /&gt;
    global clipboardBuffer&lt;br /&gt;
    with open(&amp;quot;clipboardBufferData.pk&amp;quot;, &#039;wb&#039;) as fi:&lt;br /&gt;
        pickle.dump(clipboardBuffer, fi)&lt;br /&gt;
&lt;br /&gt;
def getClipboardBufferFromFile():&lt;br /&gt;
    global clipboardBuffer&lt;br /&gt;
    with open(&amp;quot;clipboardBufferData.pk&amp;quot;, &#039;rb&#039;) as fi:&lt;br /&gt;
        clipboardBuffer = pickle.load(fi)&lt;br /&gt;
&lt;br /&gt;
#scriptFolder = (os.path.dirname(__file__))&lt;br /&gt;
clipboardBuffer = []&lt;br /&gt;
clipboardBuffer = [&amp;quot;No value in this clipboard buffer&amp;quot; for i in range(10)]&lt;br /&gt;
getClipboardBufferFromFile()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
def inputbox(inputBuffer):&lt;br /&gt;
    inputText = &amp;quot;No Input Given Yet&amp;quot;&lt;br /&gt;
    master = Tk()&lt;br /&gt;
    textbox = Entry(master)&lt;br /&gt;
    textbox.pack()&lt;br /&gt;
    textbox.insert(0, clipboardBuffer[inputBuffer])&lt;br /&gt;
    textbox.focus_set()&lt;br /&gt;
    def onclick(pos):&lt;br /&gt;
        nonlocal inputText&lt;br /&gt;
        inputText = textbox.get()&lt;br /&gt;
        global clipboardBuffer&lt;br /&gt;
        clipboardBuffer[inputBuffer] = inputText&lt;br /&gt;
        print(f&amp;quot;Clipboard buffer {inputBuffer} was set to: {inputText}&amp;quot;)&lt;br /&gt;
        master.destroy()&lt;br /&gt;
    b = Button(master, text=&amp;quot;OK&amp;quot;, width=10, command=onclick)&lt;br /&gt;
    b.pack()&lt;br /&gt;
    textbox.bind(&#039;&amp;lt;Return&amp;gt;&#039;, onclick)&lt;br /&gt;
    mainloop()&lt;br /&gt;
    print(clipboardBuffer)&lt;br /&gt;
    dumpClipboardBufferToFile()&lt;br /&gt;
    return (inputText)&lt;br /&gt;
    &lt;br /&gt;
def typeBuffer(inputBuffer):&lt;br /&gt;
    global clipboardBuffer&lt;br /&gt;
    pyautogui.write(clipboardBuffer[inputBuffer])&lt;br /&gt;
def copyToBuffer(inputBuffer):&lt;br /&gt;
    global clipboardBuffer&lt;br /&gt;
    pyautogui.hotkey(&#039;ctrl&#039;, &#039;c&#039;)&lt;br /&gt;
    time.sleep(1)&lt;br /&gt;
    clipboardBuffer[inputBuffer] = pyperclip.paste()&lt;br /&gt;
    dumpClipboardBufferToFile()&lt;br /&gt;
    &lt;br /&gt;
    &lt;br /&gt;
if sys.argv[1] == &amp;quot;paste&amp;quot;:&lt;br /&gt;
    typeBuffer(int(sys.argv[2]))&lt;br /&gt;
if sys.argv[1] == &amp;quot;copy&amp;quot;:&lt;br /&gt;
    copyToBuffer(int(sys.argv[2]))&lt;br /&gt;
if sys.argv[1] == &amp;quot;edit&amp;quot;:&lt;br /&gt;
    inputbox(int(sys.argv[2]))&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Clipboardbuffers.py&amp;diff=676</id>
		<title>Clipboardbuffers.py</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Clipboardbuffers.py&amp;diff=676"/>
		<updated>2024-12-10T22:57:23Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; import os&lt;br /&gt;
 import sys&lt;br /&gt;
 from PyHotKey import Key, keyboard&lt;br /&gt;
 from tkinter import *&lt;br /&gt;
 scriptFolder = (os.path.dirname(__file__))&lt;br /&gt;
&lt;br /&gt;
 def inputbox(inputBuffer):&lt;br /&gt;
  inputText = &amp;quot;No Input Given Yet&amp;quot;    &lt;br /&gt;
  master = Tk()&lt;br /&gt;
  textbox = Entry(master)&lt;br /&gt;
  textbox.pack()&lt;br /&gt;
  textbox.focus_set()&lt;br /&gt;
  def onclick(pos):&lt;br /&gt;
   nonlocal inputText&lt;br /&gt;
   inputText = textbox.get()&lt;br /&gt;
   print(f&amp;quot;Clipboard buffer {inputBuffer} was set to: {inputText}&amp;quot;)&lt;br /&gt;
   master.destroy()&lt;br /&gt;
  b = Button(master, text = &amp;quot;OK&amp;quot;, width = 10, command = onclick)&lt;br /&gt;
  b.pack()&lt;br /&gt;
  textbox.bind(&#039;&amp;lt;Return&amp;gt;&#039;, onclick)&lt;br /&gt;
  mainloop()&lt;br /&gt;
  return(inputText)&lt;br /&gt;
&lt;br /&gt;
 id2 = keyboard.register_hotkey([Key.ctrl, Key.shift, &#039;z&#039;], None, inputbox, 1)&lt;br /&gt;
 print(keyboard.hotkeys)&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Clipboardbuffers.py&amp;diff=675</id>
		<title>Clipboardbuffers.py</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Clipboardbuffers.py&amp;diff=675"/>
		<updated>2024-12-10T22:56:54Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: Created page with &amp;quot;import os import sys from PyHotKey import Key, keyboard from tkinter import * scriptFolder = (os.path.dirname(__file__))  def inputbox(inputBuffer):     inputText = &amp;quot;No Input Given Yet&amp;quot;         master = Tk()     textbox = Entry(master)     textbox.pack()     textbox.focus_set()     def onclick(pos):         nonlocal inputText         inputText = textbox.get()         print(f&amp;quot;Clipboard buffer {inputBuffer} was set to: {inputText}&amp;quot;)         master.destroy()     b = Button(...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;import os&lt;br /&gt;
import sys&lt;br /&gt;
from PyHotKey import Key, keyboard&lt;br /&gt;
from tkinter import *&lt;br /&gt;
scriptFolder = (os.path.dirname(__file__))&lt;br /&gt;
&lt;br /&gt;
def inputbox(inputBuffer):&lt;br /&gt;
    inputText = &amp;quot;No Input Given Yet&amp;quot;    &lt;br /&gt;
    master = Tk()&lt;br /&gt;
    textbox = Entry(master)&lt;br /&gt;
    textbox.pack()&lt;br /&gt;
    textbox.focus_set()&lt;br /&gt;
    def onclick(pos):&lt;br /&gt;
        nonlocal inputText&lt;br /&gt;
        inputText = textbox.get()&lt;br /&gt;
        print(f&amp;quot;Clipboard buffer {inputBuffer} was set to: {inputText}&amp;quot;)&lt;br /&gt;
        master.destroy()&lt;br /&gt;
    b = Button(master, text = &amp;quot;OK&amp;quot;, width = 10, command = onclick)&lt;br /&gt;
    b.pack()&lt;br /&gt;
    textbox.bind(&#039;&amp;lt;Return&amp;gt;&#039;, onclick)&lt;br /&gt;
    mainloop()&lt;br /&gt;
    return(inputText)&lt;br /&gt;
&lt;br /&gt;
id2 = keyboard.register_hotkey([Key.ctrl, Key.shift, &#039;z&#039;], None, inputbox, 1)&lt;br /&gt;
print(keyboard.hotkeys)&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Numpad_hotkeys_on_linux&amp;diff=674</id>
		<title>Numpad hotkeys on linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Numpad_hotkeys_on_linux&amp;diff=674"/>
		<updated>2024-12-10T22:56:49Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Making numpad hotkeys on linux is a bit more tricky than it is on windows due to the critical lack of autohotkey&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You&#039;ll need xmodmap, you can use it like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;xmodmap -e &#039;keycode 90 = Hyper_R&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can use XCape to allow the modifier keys to send actions on their own.&lt;br /&gt;
 sudo apt install xcape&lt;br /&gt;
 xcape -e &#039;Hyper_R=0&#039;&lt;br /&gt;
&lt;br /&gt;
keyd is an excellent way to make hotkeys as well.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&#039;ve started work on porting my numpad hotkey script to python so it can work on linux: [[clipboardbuffers.py]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Resources&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
https://wiki.archlinux.org/title/Xmodmap#Installation&lt;br /&gt;
https://github.com/alols/xcape&lt;br /&gt;
https://github.com/rvaiya/keyd&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Numpad_hotkeys_on_linux&amp;diff=673</id>
		<title>Numpad hotkeys on linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Numpad_hotkeys_on_linux&amp;diff=673"/>
		<updated>2024-12-10T22:56:04Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Making numpad hotkeys on linux is a bit more tricky than it is on windows due to the critical lack of autohotkey&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You&#039;ll need xmodmap, you can use it like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;xmodmap -e &#039;keycode 90 = Hyper_R&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can use XCape to allow the modifier keys to send actions on their own.&lt;br /&gt;
 sudo apt install xcape&lt;br /&gt;
 xcape -e &#039;Hyper_R=0&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Resources&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
https://wiki.archlinux.org/title/Xmodmap#Installation&lt;br /&gt;
https://github.com/alols/xcape&lt;br /&gt;
https://github.com/rvaiya/keyd&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Exit_Audit_Mode&amp;diff=672</id>
		<title>Exit Audit Mode</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Exit_Audit_Mode&amp;diff=672"/>
		<updated>2024-12-10T22:10:04Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Source: https://answers.microsoft.com/en-us/windows/forum/all/how-to-exit-audit-mode/34adf896-a0fb-4972-9d23-e37682029a28&lt;br /&gt;
&lt;br /&gt;
How to Exit Audit Mode&lt;br /&gt;
&lt;br /&gt;
If you are having unsuccessful attempts at exiting audit mode and getting &amp;quot;fatal error messages&amp;quot;, the following is what I did that worked:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type regedit in the windows search bar and press enter.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Navigate to HKEY_LOCAL_MACHINE&amp;gt;SYSTEM&amp;gt;Setup&amp;gt;Status.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By clicking on the &amp;quot;Status&amp;quot;, you will see a registry key item called &amp;quot;AuditBoot.&amp;quot; This value should be changed to 0. For my system I had the value at 1 when I couldn&#039;t get it out of Audit mode. I looked at the value differences of this item between my other computer and the one I had the issue with and this was the value that needed to change. By changing this value, the sub keys of Status will (should) automatically change. Hope this helps anyone struggling with this issue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Below is a picture of the navigation and the corrected value from a working system&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Exit_Audit_Mode&amp;diff=671</id>
		<title>Exit Audit Mode</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Exit_Audit_Mode&amp;diff=671"/>
		<updated>2024-12-10T22:09:58Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: Created page with &amp;quot;Source: https://answers.microsoft.com/en-us/windows/forum/all/how-to-exit-audit-mode/34adf896-a0fb-4972-9d23-e37682029a28  How to Exit Audit Mode If you are having unsuccessful attempts at exiting audit mode and getting &amp;quot;fatal error messages&amp;quot;, the following is what I did that worked:   Type regedit in the windows search bar and press enter.   Navigate to HKEY_LOCAL_MACHINE&amp;gt;SYSTEM&amp;gt;Setup&amp;gt;Status.   By clicking on the &amp;quot;Status&amp;quot;, you will see a registry key item called &amp;quot;AuditB...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Source: https://answers.microsoft.com/en-us/windows/forum/all/how-to-exit-audit-mode/34adf896-a0fb-4972-9d23-e37682029a28&lt;br /&gt;
&lt;br /&gt;
How to Exit Audit Mode&lt;br /&gt;
If you are having unsuccessful attempts at exiting audit mode and getting &amp;quot;fatal error messages&amp;quot;, the following is what I did that worked:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type regedit in the windows search bar and press enter.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Navigate to HKEY_LOCAL_MACHINE&amp;gt;SYSTEM&amp;gt;Setup&amp;gt;Status.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By clicking on the &amp;quot;Status&amp;quot;, you will see a registry key item called &amp;quot;AuditBoot.&amp;quot; This value should be changed to 0. For my system I had the value at 1 when I couldn&#039;t get it out of Audit mode. I looked at the value differences of this item between my other computer and the one I had the issue with and this was the value that needed to change. By changing this value, the sub keys of Status will (should) automatically change. Hope this helps anyone struggling with this issue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Below is a picture of the navigation and the corrected value from a working system&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Registry_Tweaks/Fixes&amp;diff=670</id>
		<title>Registry Tweaks/Fixes</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Registry_Tweaks/Fixes&amp;diff=670"/>
		<updated>2024-12-10T22:09:39Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: Created page with &amp;quot;Exit Audit Mode&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Exit Audit Mode]]&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Main_Page&amp;diff=669</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Main_Page&amp;diff=669"/>
		<updated>2024-12-10T22:09:21Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Welcome to Lucca&#039;s Knowledgebase&amp;lt;/strong&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Windows: |&lt;br /&gt;
[[Commands]] | [[Win+R Shortcuts]] | [[Windows Keyboard Shortcuts]] | [[Remote Desktop Setup]] | [[End of Life]] | [[Make CMD Open Faster on Windows 11]] | [[Hyper-V on Windows Home]] | [[Domain Setup from Scratch on Server Core]] | [[Example User onboarding &amp;amp; offboarding Scripts]] for 365 | [[Keyboard Navigation Scripts]] | [[Registry Tweaks/Fixes]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linux: | [[Distro Download Links]] | [[Useful Commands]] | [https://arachnoid.com/SecureShell/index.html Arachnoid.com: How to use SSH] | [[Libvirt Setup]] | [[VFIO GPU Passthrough Setup]] | [[VFIO Anti-Cheat Bypass Tools]] | [[Xubuntu Mac Conversion Guide]] | [[Ungoogled Chromium Debian]] | [[Docker Installation on Debian]] | [[Infared Reciever w/ Alpine on the Bulldozer Datto]] | [[Numpad hotkeys on linux]] | [[Split a monitor in two]] | [[Make a udev rule]] | [[Type Unicode Characters]] | [[Screen Recording Options]] | [[Record Audio Files in the Command Line]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
MacOS: | [[OSX Commands]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Retro Tech: |&lt;br /&gt;
[[Analog Video Articles]] | [[Modeline Generators]] | [https://github.com/antonioginer/ATOM-15 ATOM-15: AMD/ATI Card 15khz bios]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Digital Archives: |&lt;br /&gt;
[https://archive.org archive.org] | [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes kirb.feels archive] [https://libgen.is Library Genesis]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Work Resources: |&lt;br /&gt;
[[Violentmonkey Script Documentation for Whit]] | [https://mxtoolbox.com/EmailHeaders.aspx MxToolbox Email Header Analyzer] | [https://www.sonicwall.com/products/remote-access/vpn-clients/ SonicWall NetExtender Downloads] | [https://www.sonicwall.com/support/knowledge-base/how-can-i-setup-ssl-vpn/170505609285133/ SonicWall SSLVPN Setup KB] | [https://obsidian.md/canvas interesting mind map tool]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
[https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/YdGUYXws5mD2fxFKxg.webp ☕Happy Monday =D] [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/giphy.webp ☕Bom Dia =D] [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/tenor.gif ☕??????]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Main_Page&amp;diff=659</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Main_Page&amp;diff=659"/>
		<updated>2024-12-10T17:24:55Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Welcome to Lucca&#039;s Knowledgebase&amp;lt;/strong&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Windows: |&lt;br /&gt;
[[Commands]] | [[Win+R Shortcuts]] | [[Windows Keyboard Shortcuts]] | [[Remote Desktop Setup]] | [[End of Life]] | [[Make CMD Open Faster on Windows 11]] | [[Hyper-V on Windows Home]] | [[Domain Setup from Scratch on Server Core]] | [[Example User onboarding &amp;amp; offboarding Scripts]] for 365 | [[Keyboard Navigation Scripts]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linux: | [[Distro Download Links]] | [[Useful Commands]] | [https://arachnoid.com/SecureShell/index.html Arachnoid.com: How to use SSH] | [[Libvirt Setup]] | [[VFIO GPU Passthrough Setup]] | [[VFIO Anti-Cheat Bypass Tools]] | [[Xubuntu Mac Conversion Guide]] | [[Ungoogled Chromium Debian]] | [[Docker Installation on Debian]] | [[Infared Reciever w/ Alpine on the Bulldozer Datto]] | [[Numpad hotkeys on linux]] | [[Split a monitor in two]] | [[Make a udev rule]] | [[Type Unicode Characters]] | [[Screen Recording Options]] | [[Record Audio Files in the Command Line]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
MacOS: | [[OSX Commands]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Retro Tech: |&lt;br /&gt;
[[Analog Video Articles]] | [[Modeline Generators]] | [https://github.com/antonioginer/ATOM-15 ATOM-15: AMD/ATI Card 15khz bios]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Digital Archives: |&lt;br /&gt;
[https://archive.org archive.org] | [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes kirb.feels archive] [https://libgen.is Library Genesis]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Work Resources: |&lt;br /&gt;
[[Violentmonkey Script Documentation for Whit]] | [https://mxtoolbox.com/EmailHeaders.aspx MxToolbox Email Header Analyzer] | [https://www.sonicwall.com/products/remote-access/vpn-clients/ SonicWall NetExtender Downloads] | [https://www.sonicwall.com/support/knowledge-base/how-can-i-setup-ssl-vpn/170505609285133/ SonicWall SSLVPN Setup KB] | [https://obsidian.md/canvas interesting mind map tool]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
[https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/YdGUYXws5mD2fxFKxg.webp ☕Happy Monday =D] [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/giphy.webp ☕Bom Dia =D] [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/tenor.gif ☕??????]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=OSX_Commands&amp;diff=658</id>
		<title>OSX Commands</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=OSX_Commands&amp;diff=658"/>
		<updated>2024-12-06T19:03:55Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;hr&amp;gt;&lt;br /&gt;
Disable Mac Address Randomization Globally&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
 sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist PrivateMACAddressModeSystemSetting -int 1&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=OSX_Commands&amp;diff=657</id>
		<title>OSX Commands</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=OSX_Commands&amp;diff=657"/>
		<updated>2024-12-06T19:03:48Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;hr&amp;gt;&lt;br /&gt;
Disable Mac Address Randomization Globally&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
 sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist PrivateMACAddressModeSystemSetting -int 1&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=OSX_Commands&amp;diff=656</id>
		<title>OSX Commands</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=OSX_Commands&amp;diff=656"/>
		<updated>2024-12-06T19:03:41Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;hr&amp;gt;&lt;br /&gt;
Disable Mac Address Randomization Globally&lt;br /&gt;
 sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist PrivateMACAddressModeSystemSetting -int 1&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=OSX_Commands&amp;diff=655</id>
		<title>OSX Commands</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=OSX_Commands&amp;diff=655"/>
		<updated>2024-12-06T19:03:35Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: Created page with &amp;quot;Disable Mac Address Randomization Globally  sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist PrivateMACAddressModeSystemSetting -int 1&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disable Mac Address Randomization Globally&lt;br /&gt;
 sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist PrivateMACAddressModeSystemSetting -int 1&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Main_Page&amp;diff=654</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Main_Page&amp;diff=654"/>
		<updated>2024-12-06T19:03:18Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Welcome to Lucca&#039;s Knowledgebase&amp;lt;/strong&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Windows: |&lt;br /&gt;
[[Commands]] | [[Win+R Shortcuts]] | [[Windows Keyboard Shortcuts]] | [[Remote Desktop Setup]] | [[End of Life]] | [[Make CMD Open Faster on Windows 11]] | [[Hyper-V on Windows Home]] | [[Domain Setup from Scratch on Server Core]] | [[Example User onboarding &amp;amp; offboarding Scripts]] for 365&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linux: | [[Distro Download Links]] | [[Useful Commands]] | [https://arachnoid.com/SecureShell/index.html Arachnoid.com: How to use SSH] | [[Libvirt Setup]] | [[VFIO GPU Passthrough Setup]] | [[VFIO Anti-Cheat Bypass Tools]] | [[Xubuntu Mac Conversion Guide]] | [[Ungoogled Chromium Debian]] | [[Docker Installation on Debian]] | [[Infared Reciever w/ Alpine on the Bulldozer Datto]] | [[Numpad hotkeys on linux]] | [[Split a monitor in two]] | [[Make a udev rule]] | [[Type Unicode Characters]] | [[Screen Recording Options]] | [[Record Audio Files in the Command Line]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
MacOS: | [[OSX Commands]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Retro Tech: |&lt;br /&gt;
[[Analog Video Articles]] | [[Modeline Generators]] | [https://github.com/antonioginer/ATOM-15 ATOM-15: AMD/ATI Card 15khz bios]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Digital Archives: |&lt;br /&gt;
[https://archive.org archive.org] | [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes kirb.feels archive] [https://libgen.is Library Genesis]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Work Resources: |&lt;br /&gt;
[[Violentmonkey Script Documentation for Whit]] | [https://mxtoolbox.com/EmailHeaders.aspx MxToolbox Email Header Analyzer] | [https://www.sonicwall.com/products/remote-access/vpn-clients/ SonicWall NetExtender Downloads] | [https://www.sonicwall.com/support/knowledge-base/how-can-i-setup-ssl-vpn/170505609285133/ SonicWall SSLVPN Setup KB] | [https://obsidian.md/canvas interesting mind map tool]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
[https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/YdGUYXws5mD2fxFKxg.webp ☕Happy Monday =D] [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/giphy.webp ☕Bom Dia =D] [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/tenor.gif ☕??????]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Main_Page&amp;diff=653</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Main_Page&amp;diff=653"/>
		<updated>2024-12-06T19:03:05Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Welcome to Lucca&#039;s Knowledgebase&amp;lt;/strong&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Windows: |&lt;br /&gt;
[[Commands]] | [[Win+R Shortcuts]] | [[Windows Keyboard Shortcuts]] | [[Remote Desktop Setup]] | [[End of Life]] | [[Make CMD Open Faster on Windows 11]] | [[Hyper-V on Windows Home]] | [[Domain Setup from Scratch on Server Core]] | [[Example User onboarding &amp;amp; offboarding Scripts]] for 365&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linux: | [[Distro Download Links]] | [[Useful Commands]] | [https://arachnoid.com/SecureShell/index.html Arachnoid.com: How to use SSH] | [[Libvirt Setup]] | [[VFIO GPU Passthrough Setup]] | [[VFIO Anti-Cheat Bypass Tools]] | [[Xubuntu Mac Conversion Guide]] | [[Ungoogled Chromium Debian]] | [[Docker Installation on Debian]] | [[Infared Reciever w/ Alpine on the Bulldozer Datto]] | [[Numpad hotkeys on linux]] | [[Split a monitor in two]] | [[Make a udev rule]] | [[Type Unicode Characters]] | [[Screen Recording Options]] | [[Record Audio Files in the Command Line]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
MacOS: | [[MacOS Commands]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Retro Tech: |&lt;br /&gt;
[[Analog Video Articles]] | [[Modeline Generators]] | [https://github.com/antonioginer/ATOM-15 ATOM-15: AMD/ATI Card 15khz bios]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Digital Archives: |&lt;br /&gt;
[https://archive.org archive.org] | [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes kirb.feels archive] [https://libgen.is Library Genesis]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Work Resources: |&lt;br /&gt;
[[Violentmonkey Script Documentation for Whit]] | [https://mxtoolbox.com/EmailHeaders.aspx MxToolbox Email Header Analyzer] | [https://www.sonicwall.com/products/remote-access/vpn-clients/ SonicWall NetExtender Downloads] | [https://www.sonicwall.com/support/knowledge-base/how-can-i-setup-ssl-vpn/170505609285133/ SonicWall SSLVPN Setup KB] | [https://obsidian.md/canvas interesting mind map tool]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
[https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/YdGUYXws5mD2fxFKxg.webp ☕Happy Monday =D] [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/giphy.webp ☕Bom Dia =D] [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/tenor.gif ☕??????]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Main_Page&amp;diff=652</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Main_Page&amp;diff=652"/>
		<updated>2024-12-06T19:02:48Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Welcome to Lucca&#039;s Knowledgebase&amp;lt;/strong&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Windows: |&lt;br /&gt;
[[Commands]] | [[Win+R Shortcuts]] | [[Windows Keyboard Shortcuts]] | [[Remote Desktop Setup]] | [[End of Life]] | [[Make CMD Open Faster on Windows 11]] | [[Hyper-V on Windows Home]] | [[Domain Setup from Scratch on Server Core]] | [[Example User onboarding &amp;amp; offboarding Scripts]] for 365&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linux: | [[Distro Download Links]] | [[Useful Commands]] | [https://arachnoid.com/SecureShell/index.html Arachnoid.com: How to use SSH] | [[Libvirt Setup]] | [[VFIO GPU Passthrough Setup]] | [[VFIO Anti-Cheat Bypass Tools]] | [[Xubuntu Mac Conversion Guide]] | [[Ungoogled Chromium Debian]] | [[Docker Installation on Debian]] | [[Infared Reciever w/ Alpine on the Bulldozer Datto]] | [[Numpad hotkeys on linux]] | [[Split a monitor in two]] | [[Make a udev rule]] | [[Type Unicode Characters]] | [[Screen Recording Options]] | [[Record Audio Files in the Command Line]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
MacOS: | [[Commands]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Retro Tech: |&lt;br /&gt;
[[Analog Video Articles]] | [[Modeline Generators]] | [https://github.com/antonioginer/ATOM-15 ATOM-15: AMD/ATI Card 15khz bios]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Digital Archives: |&lt;br /&gt;
[https://archive.org archive.org] | [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes kirb.feels archive] [https://libgen.is Library Genesis]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Work Resources: |&lt;br /&gt;
[[Violentmonkey Script Documentation for Whit]] | [https://mxtoolbox.com/EmailHeaders.aspx MxToolbox Email Header Analyzer] | [https://www.sonicwall.com/products/remote-access/vpn-clients/ SonicWall NetExtender Downloads] | [https://www.sonicwall.com/support/knowledge-base/how-can-i-setup-ssl-vpn/170505609285133/ SonicWall SSLVPN Setup KB] | [https://obsidian.md/canvas interesting mind map tool]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
[https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/YdGUYXws5mD2fxFKxg.webp ☕Happy Monday =D] [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/giphy.webp ☕Bom Dia =D] [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/tenor.gif ☕??????]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Commands&amp;diff=651</id>
		<title>Commands</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Commands&amp;diff=651"/>
		<updated>2024-11-11T19:53:48Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;hr&amp;gt;This page includes both cmd and powershell commands, realistically, all of them should run from powershell anyway.&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;ipconfig&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ipconfig command is a command-line utility used to display and manage the IP address assigned to a machine. It provides information about the current TCP/IP network configuration, including the IP address, subnet mask, and default gateway for all adapters . In Windows, typing ipconfig without any parameters displays the computer&#039;s currently assigned IP, subnet mask, and default gateway addresses. Additional parameters can be used to perform various actions, such as releasing and renewing IP addresses, flushing the DNS cache, and displaying DNS information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the basic TCP/IP configuration for all adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /all&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the full TCP/IP configuration for all adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /release&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Releases the IP address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /renew&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Renews the IP address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /flushdns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Purges the DNS resolver cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /registerdns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Refreshes all DHCP leases and re-registers DNS names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /displaydns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the contents of the DNS cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /showclassid&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /setclassid&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sets the DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /allcompartments&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the full TCP/IP configuration for all adapters, including all compartments.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /release6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Releases the IPv6 address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /renew6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Renews the IPv6 address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /showclassid6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the IPv6 DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /setclassid6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sets the IPv6 DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /flushdns6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Purges the IPv6 DNS resolver cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
USE THIS IF WINDOWS IS ACTING UP HELLA WEIRD&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt; command is used to scan for corruption in the Windows image and repair any issues found. DISM stands for Deployment Image Servicing and Management, and it is a command-line tool used to service and prepare Windows images for deployment, recovery, and setup.&lt;br /&gt;
&lt;br /&gt;
When you run the &amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt; command, it performs the following tasks:&lt;br /&gt;
&lt;br /&gt;
Scans the Windows image for corruption and identifies any issues.&lt;br /&gt;
Verifies the integrity of the system file backups in the Component Store by comparing them against known good copies from the Windows Update servers.&lt;br /&gt;
Attempts to repair any corruption found in the Windows image by replacing the corrupted files with the known good copies.&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to note that running this command requires administrative privileges, and it may take some time to complete, depending on the system and the extent of the corruption.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-open cmd in admin&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-after running DISM, run this right after, if errors are found, it will fix it, reboot pc&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SFC /scannow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-after reboot, run CMD as admin and run again&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SFC /scannow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-Let&#039;s not forget the G.O.A.T., Use in Run to reset internet settings especially if you are having connecting MS app online or if Sonicwall Netextender breaks the connection&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;RunDll32.exe InetCpl.cpl,ResetIEtoDefaults&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
How to find mapped drives on cmd:&lt;br /&gt;
&lt;br /&gt;
Open the Run dialog box by pressing the Windows &amp;lt;code&amp;gt;key + R.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type &amp;quot;cmd&amp;quot; and press Enter to open the Command Prompt.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use&amp;lt;/code&amp;gt; and press Enter to see a list of all mapped network drives.&lt;br /&gt;
&lt;br /&gt;
Find the drive you want to reconnect and take note of its name.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use &amp;lt;drive letter&amp;gt;: /delete&amp;lt;/code&amp;gt; and press Enter to delete the mapping.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use &amp;lt;drive letter&amp;gt;: \server\share /persistent:yes&amp;lt;/code&amp;gt; and press Enter to&lt;br /&gt;
recreate the mapping with the &amp;quot;persistent&amp;quot; option, which should keep the mapping&lt;br /&gt;
alive even after a disconnect.&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create a Local user with CMD and make it into Admin, IF The username has a period in between please use the quotations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;user.name&amp;quot; password /add&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net localgroup administrators &amp;quot;user.name&amp;quot; /add&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to remove Admin creds&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net localgroup administrators &amp;quot;user.name&amp;quot; /delete&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you need to delete the local account&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;user.name&amp;quot; /delete&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Disable builtin Administrator and Guest accounts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;Administrator&amp;quot; /active:no&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;Guest&amp;quot; /active:no&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Disable hibernation file to resolve issues with shutdown and free up some disk space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;powercfg.exe /Hibernate off&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Log off someone from a desktop session&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
List all sessions: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;query session&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Logoff the corresponding session:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;logoff {number}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix right click on Windows 11, doesn&#039;t need admin:&lt;br /&gt;
&lt;br /&gt;
 reg.exe add &amp;quot;HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32&amp;quot; /f /ve&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix alt key opening hamburger menu on ms edge [needs admin]:&lt;br /&gt;
&lt;br /&gt;
 reg add HKLM\SOFTWARE\Policies\Microsoft\Edge /v ConfigureKeyboardShortcuts /d {\&amp;quot;disabled\&amp;quot;:[\&amp;quot;focus_settings_and_more\&amp;quot;]}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Check if the Password is Expired&lt;br /&gt;
&lt;br /&gt;
 Get-ADUser -identity INSERTclientUSERNAMEHERE -properties PasswordLastSet, PasswordExpired, PasswordNeverExpires | ft Name, PasswordLastSet, PasswordExpired, PasswordNeverExpires&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Force the DC to sync the password&lt;br /&gt;
&lt;br /&gt;
 start-adsyncsynccycle -policytype delta&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Join a domain&lt;br /&gt;
&lt;br /&gt;
 add-computer -domainname &amp;quot;YourDomainName&amp;quot;  -restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Getting New Teams to install when it refuses to [Needs Admin]&lt;br /&gt;
&lt;br /&gt;
 Add-ProvisionedAppPackage -Online -PackagePath &amp;quot;MSTeams-x64.msix&amp;quot; -SkipLicense&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
List Services and their running status&lt;br /&gt;
&lt;br /&gt;
 Get-Service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Set a service to autostart&lt;br /&gt;
&lt;br /&gt;
 Set-Service -Name {servicename} -StartupType &#039;Automatic&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Start/Stop a service&lt;br /&gt;
&lt;br /&gt;
 Start-Service {servicename}&lt;br /&gt;
 Stop-Service {servicename}&lt;br /&gt;
 Restart-Service {servicename}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Install OpenSSH-Server&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Remove all default gateways from a network adapter&lt;br /&gt;
&lt;br /&gt;
 Remove-NetRoute -InterfaceAlias &amp;quot;{get this name from Get-NetAdapter}&amp;quot; -DestinationPrefix 0.0.0.0/0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Set an IP Address&lt;br /&gt;
&lt;br /&gt;
 Get-NetAdapter -Name &#039;{get this name from Get-NetAdapter}&#039; | New-NetIPAddress -IPAddress {newIP} -PrefixLength {subnet mask [cidr]}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Allow inbound Ipv4 Pings&lt;br /&gt;
 netsh advfirewall firewall add rule name=&amp;quot;ICMP Allow incoming V4 echo request&amp;quot; protocol=icmpv4:8,any dir=in action=allow&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Show all WiFi Passwords [CMD Only]&lt;br /&gt;
 for /f &amp;quot;skip=9 tokens=1,2 delims=:&amp;quot; %i in (&#039;netsh wlan show profiles&#039;) do @if &amp;quot;%j&amp;quot; NEQ &amp;quot;&amp;quot; (echo SSID: %j &amp;amp; netsh wlan show profiles %j key=clear | findstr &amp;quot;Key Content&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Install server manager on a Non-Windows-Server OS&lt;br /&gt;
 Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Force update Group Policy (apply group policy changes)&lt;br /&gt;
 gpupdate.exe /force&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Resize a VHD [Virtual Hard Disk]&lt;br /&gt;
 resize-vhd -path &amp;quot;f:\Shares\profiledisks&amp;quot; -Sizebytes 30GB&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Persistently map a drive&lt;br /&gt;
 Net use /persistent:yes h: \\VBoxSvr\Win11\Documents &lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Switch to compact os mode to save space&lt;br /&gt;
 Compact.exe /CompactOS:always&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Migrate a folder from one drive to the other preserving permissions and logging everything to the D:\ drive&lt;br /&gt;
 robocopy &amp;quot;C:\users\awesome.guy&amp;quot; &amp;quot;D:\users\awesome.guy&amp;quot; /E /COPYALL /zb /r:10 /w:10 /tee /unilog+:&amp;quot;D:\robocopylog.txt&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Add a domain to the global dns search list&lt;br /&gt;
 Set-DnsClientGlobalSetting -SuffixSearchList @(&amp;quot;corp.mariocorp.com&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix windows update not showing in the settings page (some RMM&#039;s do this by design to handle patching themselves)&lt;br /&gt;
 reg delete &amp;quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer&amp;quot; /v SettingsPageVisibility /f&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Commands&amp;diff=650</id>
		<title>Commands</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Commands&amp;diff=650"/>
		<updated>2024-11-11T19:53:03Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;hr&amp;gt;This page includes both cmd and powershell commands, realistically, all of them should run from powershell anyway.&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;ipconfig&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ipconfig command is a command-line utility used to display and manage the IP address assigned to a machine. It provides information about the current TCP/IP network configuration, including the IP address, subnet mask, and default gateway for all adapters . In Windows, typing ipconfig without any parameters displays the computer&#039;s currently assigned IP, subnet mask, and default gateway addresses. Additional parameters can be used to perform various actions, such as releasing and renewing IP addresses, flushing the DNS cache, and displaying DNS information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the basic TCP/IP configuration for all adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /all&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the full TCP/IP configuration for all adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /release&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Releases the IP address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /renew&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Renews the IP address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /flushdns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Purges the DNS resolver cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /registerdns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Refreshes all DHCP leases and re-registers DNS names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /displaydns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the contents of the DNS cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /showclassid&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /setclassid&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sets the DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /allcompartments&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the full TCP/IP configuration for all adapters, including all compartments.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /release6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Releases the IPv6 address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /renew6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Renews the IPv6 address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /showclassid6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the IPv6 DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /setclassid6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sets the IPv6 DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /flushdns6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Purges the IPv6 DNS resolver cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
USE THIS IF WINDOWS IS ACTING UP HELLA WEIRD&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt; command is used to scan for corruption in the Windows image and repair any issues found. DISM stands for Deployment Image Servicing and Management, and it is a command-line tool used to service and prepare Windows images for deployment, recovery, and setup.&lt;br /&gt;
&lt;br /&gt;
When you run the &amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt; command, it performs the following tasks:&lt;br /&gt;
&lt;br /&gt;
Scans the Windows image for corruption and identifies any issues.&lt;br /&gt;
Verifies the integrity of the system file backups in the Component Store by comparing them against known good copies from the Windows Update servers.&lt;br /&gt;
Attempts to repair any corruption found in the Windows image by replacing the corrupted files with the known good copies.&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to note that running this command requires administrative privileges, and it may take some time to complete, depending on the system and the extent of the corruption.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-open cmd in admin&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-after running DISM, run this right after, if errors are found, it will fix it, reboot pc&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SFC /scannow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-after reboot, run CMD as admin and run again&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SFC /scannow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-Let&#039;s not forget the G.O.A.T., Use in Run to reset internet settings especially if you are having connecting MS app online or if Sonicwall Netextender breaks the connection&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;RunDll32.exe InetCpl.cpl,ResetIEtoDefaults&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
How to find mapped drives on cmd:&lt;br /&gt;
&lt;br /&gt;
Open the Run dialog box by pressing the Windows &amp;lt;code&amp;gt;key + R.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type &amp;quot;cmd&amp;quot; and press Enter to open the Command Prompt.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use&amp;lt;/code&amp;gt; and press Enter to see a list of all mapped network drives.&lt;br /&gt;
&lt;br /&gt;
Find the drive you want to reconnect and take note of its name.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use &amp;lt;drive letter&amp;gt;: /delete&amp;lt;/code&amp;gt; and press Enter to delete the mapping.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use &amp;lt;drive letter&amp;gt;: \server\share /persistent:yes&amp;lt;/code&amp;gt; and press Enter to&lt;br /&gt;
recreate the mapping with the &amp;quot;persistent&amp;quot; option, which should keep the mapping&lt;br /&gt;
alive even after a disconnect.&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create a Local user with CMD and make it into Admin, IF The username has a period in between please use the quotations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;user.name&amp;quot; password /add&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net localgroup administrators &amp;quot;user.name&amp;quot; /add&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to remove Admin creds&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net localgroup administrators &amp;quot;user.name&amp;quot; /delete&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you need to delete the local account&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;user.name&amp;quot; /delete&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Disable builtin Administrator and Guest accounts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;Administrator&amp;quot; /active:no&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;Guest&amp;quot; /active:no&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Disable hibernation file to resolve issues with shutdown and free up some disk space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;powercfg.exe /Hibernate off&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Log off someone from a desktop session&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
List all sessions: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;query session&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Logoff the corresponding session:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;logoff {number}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix right click on Windows 11, doesn&#039;t need admin:&lt;br /&gt;
&lt;br /&gt;
 reg.exe add &amp;quot;HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32&amp;quot; /f /ve&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix alt key opening hamburger menu on ms edge [needs admin]:&lt;br /&gt;
&lt;br /&gt;
 reg add HKLM\SOFTWARE\Policies\Microsoft\Edge /v ConfigureKeyboardShortcuts /d {\&amp;quot;disabled\&amp;quot;:[\&amp;quot;focus_settings_and_more\&amp;quot;]}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Check if the Password is Expired&lt;br /&gt;
&lt;br /&gt;
 Get-ADUser -identity INSERTclientUSERNAMEHERE -properties PasswordLastSet, PasswordExpired, PasswordNeverExpires | ft Name, PasswordLastSet, PasswordExpired, PasswordNeverExpires&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Force the DC to sync the password&lt;br /&gt;
&lt;br /&gt;
 start-adsyncsynccycle -policytype delta&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Join a domain&lt;br /&gt;
&lt;br /&gt;
 add-computer -domainname &amp;quot;YourDomainName&amp;quot;  -restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Getting New Teams to install when it refuses to [Needs Admin]&lt;br /&gt;
&lt;br /&gt;
 Add-ProvisionedAppPackage -Online -PackagePath &amp;quot;MSTeams-x64.msix&amp;quot; -SkipLicense&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
List Services and their running status&lt;br /&gt;
&lt;br /&gt;
 Get-Service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Set a service to autostart&lt;br /&gt;
&lt;br /&gt;
 Set-Service -Name {servicename} -StartupType &#039;Automatic&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Start/Stop a service&lt;br /&gt;
&lt;br /&gt;
 Start-Service {servicename}&lt;br /&gt;
 Stop-Service {servicename}&lt;br /&gt;
 Restart-Service {servicename}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Install OpenSSH-Server&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Remove all default gateways from a network adapter&lt;br /&gt;
&lt;br /&gt;
 Remove-NetRoute -InterfaceAlias &amp;quot;{get this name from Get-NetAdapter}&amp;quot; -DestinationPrefix 0.0.0.0/0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Set an IP Address&lt;br /&gt;
&lt;br /&gt;
 Get-NetAdapter -Name &#039;{get this name from Get-NetAdapter}&#039; | New-NetIPAddress -IPAddress {newIP} -PrefixLength {subnet mask [cidr]}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Allow inbound Ipv4 Pings&lt;br /&gt;
 netsh advfirewall firewall add rule name=&amp;quot;ICMP Allow incoming V4 echo request&amp;quot; protocol=icmpv4:8,any dir=in action=allow&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Show all WiFi Passwords [CMD Only]&lt;br /&gt;
 for /f &amp;quot;skip=9 tokens=1,2 delims=:&amp;quot; %i in (&#039;netsh wlan show profiles&#039;) do @if &amp;quot;%j&amp;quot; NEQ &amp;quot;&amp;quot; (echo SSID: %j &amp;amp; netsh wlan show profiles %j key=clear | findstr &amp;quot;Key Content&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Install server manager on a Non-Windows-Server OS&lt;br /&gt;
 Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Force update Group Policy (apply group policy changes)&lt;br /&gt;
 gpupdate.exe /force&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Resize a VHD [Virtual Hard Disk]&lt;br /&gt;
 resize-vhd -path &amp;quot;f:\Shares\profiledisks&amp;quot; -Sizebytes 30GB&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Persistently map a drive&lt;br /&gt;
 Net use /persistent:yes h: \\VBoxSvr\Win11\Documents &lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Switch to compact os mode to save space&lt;br /&gt;
 Compact.exe /CompactOS:always&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Migrate a folder from one drive to the other preserving permissions and logging everything to the D:\ drive&lt;br /&gt;
 robocopy &amp;quot;C:\users\awesome.guy&amp;quot; &amp;quot;D:\users\awesome.guy&amp;quot; /E /COPYALL /zb /r:10 /w:10 /tee /unilog+:&amp;quot;D:\robocopylog.txt&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Add a domain to the global dns search list&lt;br /&gt;
 Set-DnsClientGlobalSetting -SuffixSearchList @(&amp;quot;corp.mariocorp.com&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix windows update not showing in the settings page&lt;br /&gt;
 reg delete &amp;quot;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer&amp;quot; /v SettingsPageVisibility /f&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Record_Audio_Files_in_the_Command_Line&amp;diff=649</id>
		<title>Record Audio Files in the Command Line</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Record_Audio_Files_in_the_Command_Line&amp;diff=649"/>
		<updated>2024-11-07T20:07:36Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; ffmpeg -f pulse -i default -codec:a flac filename.flac&lt;br /&gt;
&lt;br /&gt;
This records files in the lossless compressed flac format. You can make an bash function like this:&lt;br /&gt;
 recordto () {&lt;br /&gt;
             ffmpeg -f pulse -i default -codec:a flac &amp;quot;${1}.flac&amp;quot;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
and use the command like this:&lt;br /&gt;
 recordto myaudiofile&lt;br /&gt;
&lt;br /&gt;
and it will start recording to &amp;lt;code&amp;gt;myaudiofile.flac&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=VFIO_Anti-Cheat_Bypass_Tools&amp;diff=648</id>
		<title>VFIO Anti-Cheat Bypass Tools</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=VFIO_Anti-Cheat_Bypass_Tools&amp;diff=648"/>
		<updated>2024-11-07T20:06:03Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;https://github.com/zhaodice/qemu-anti-detection&lt;br /&gt;
&lt;br /&gt;
https://github.com/zhaodice/proxmox-ve-anti-detection\&lt;br /&gt;
&lt;br /&gt;
https://forum.proxmox.com/threads/windows-11-vm-for-gaming-setup-guide.137718/page-3&lt;br /&gt;
&lt;br /&gt;
https://github.com/Scrut1ny/Windows-Spoofer&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Main_Page&amp;diff=647</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Main_Page&amp;diff=647"/>
		<updated>2024-11-05T17:57:53Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Welcome to Lucca&#039;s Knowledgebase&amp;lt;/strong&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Windows: |&lt;br /&gt;
[[Commands]] | [[Win+R Shortcuts]] | [[Windows Keyboard Shortcuts]] | [[Remote Desktop Setup]] | [[End of Life]] | [[Make CMD Open Faster on Windows 11]] | [[Hyper-V on Windows Home]] | [[Domain Setup from Scratch on Server Core]] | [[Example User onboarding &amp;amp; offboarding Scripts]] for 365&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linux: | [[Distro Download Links]] | [[Useful Commands]] | [https://arachnoid.com/SecureShell/index.html Arachnoid.com: How to use SSH] | [[Libvirt Setup]] | [[VFIO GPU Passthrough Setup]] | [[VFIO Anti-Cheat Bypass Tools]] | [[Xubuntu Mac Conversion Guide]] | [[Ungoogled Chromium Debian]] | [[Docker Installation on Debian]] | [[Infared Reciever w/ Alpine on the Bulldozer Datto]] | [[Numpad hotkeys on linux]] | [[Split a monitor in two]] | [[Make a udev rule]] | [[Type Unicode Characters]] | [[Screen Recording Options]] | [[Record Audio Files in the Command Line]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Retro Tech: |&lt;br /&gt;
[[Analog Video Articles]] | [[Modeline Generators]] | [https://github.com/antonioginer/ATOM-15 ATOM-15: AMD/ATI Card 15khz bios]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Digital Archives: |&lt;br /&gt;
[https://archive.org archive.org] | [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes kirb.feels archive] [https://libgen.is Library Genesis]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Work Resources: |&lt;br /&gt;
[[Violentmonkey Script Documentation for Whit]] | [https://mxtoolbox.com/EmailHeaders.aspx MxToolbox Email Header Analyzer] | [https://www.sonicwall.com/products/remote-access/vpn-clients/ SonicWall NetExtender Downloads] | [https://www.sonicwall.com/support/knowledge-base/how-can-i-setup-ssl-vpn/170505609285133/ SonicWall SSLVPN Setup KB] | [https://obsidian.md/canvas interesting mind map tool]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
[https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/YdGUYXws5mD2fxFKxg.webp ☕Happy Monday =D] [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/giphy.webp ☕Bom Dia =D] [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/tenor.gif ☕??????]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Main_Page&amp;diff=634</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Main_Page&amp;diff=634"/>
		<updated>2024-11-05T17:11:53Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Welcome to Lucca&#039;s Knowledgebase&amp;lt;/strong&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Windows: |&lt;br /&gt;
[[Commands]] | [[Win+R Shortcuts]] | [[Windows Keyboard Shortcuts]] | [[Remote Desktop Setup]] | [[End of Life]] | [[Make CMD Open Faster on Windows 11]] | [[Hyper-V on Windows Home]] | [[Domain Setup from Scratch on Server Core]] | [[Example User onboarding &amp;amp; offboarding Scripts]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linux: | [[Distro Download Links]] | [[Useful Commands]] | [https://arachnoid.com/SecureShell/index.html Arachnoid.com: How to use SSH] | [[Libvirt Setup]] | [[VFIO GPU Passthrough Setup]] | [[VFIO Anti-Cheat Bypass Tools]] | [[Xubuntu Mac Conversion Guide]] | [[Ungoogled Chromium Debian]] | [[Docker Installation on Debian]] | [[Infared Reciever w/ Alpine on the Bulldozer Datto]] | [[Numpad hotkeys on linux]] | [[Split a monitor in two]] | [[Make a udev rule]] | [[Type Unicode Characters]] | [[Screen Recording Options]] | [[Record Audio Files in the Command Line]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Retro Tech: |&lt;br /&gt;
[[Analog Video Articles]] | [[Modeline Generators]] | [https://github.com/antonioginer/ATOM-15 ATOM-15: AMD/ATI Card 15khz bios]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Digital Archives: |&lt;br /&gt;
[https://archive.org archive.org] | [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes kirb.feels archive] [https://libgen.is Library Genesis]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Work Resources: |&lt;br /&gt;
[[Violentmonkey Script Documentation for Whit]] | [https://mxtoolbox.com/EmailHeaders.aspx MxToolbox Email Header Analyzer] | [https://www.sonicwall.com/products/remote-access/vpn-clients/ SonicWall NetExtender Downloads] | [https://www.sonicwall.com/support/knowledge-base/how-can-i-setup-ssl-vpn/170505609285133/ SonicWall SSLVPN Setup KB] | [https://obsidian.md/canvas interesting mind map tool]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
[https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/YdGUYXws5mD2fxFKxg.webp ☕Happy Monday =D] [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/giphy.webp ☕Bom Dia =D] [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/tenor.gif ☕??????]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Commands&amp;diff=625</id>
		<title>Commands</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Commands&amp;diff=625"/>
		<updated>2024-10-30T14:15:15Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;hr&amp;gt;This page includes both cmd and powershell commands, realistically, all of them should run from powershell anyway.&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;ipconfig&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ipconfig command is a command-line utility used to display and manage the IP address assigned to a machine. It provides information about the current TCP/IP network configuration, including the IP address, subnet mask, and default gateway for all adapters . In Windows, typing ipconfig without any parameters displays the computer&#039;s currently assigned IP, subnet mask, and default gateway addresses. Additional parameters can be used to perform various actions, such as releasing and renewing IP addresses, flushing the DNS cache, and displaying DNS information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the basic TCP/IP configuration for all adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /all&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the full TCP/IP configuration for all adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /release&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Releases the IP address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /renew&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Renews the IP address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /flushdns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Purges the DNS resolver cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /registerdns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Refreshes all DHCP leases and re-registers DNS names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /displaydns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the contents of the DNS cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /showclassid&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /setclassid&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sets the DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /allcompartments&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the full TCP/IP configuration for all adapters, including all compartments.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /release6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Releases the IPv6 address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /renew6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Renews the IPv6 address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /showclassid6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the IPv6 DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /setclassid6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sets the IPv6 DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /flushdns6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Purges the IPv6 DNS resolver cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
USE THIS IF WINDOWS IS ACTING UP HELLA WEIRD&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt; command is used to scan for corruption in the Windows image and repair any issues found. DISM stands for Deployment Image Servicing and Management, and it is a command-line tool used to service and prepare Windows images for deployment, recovery, and setup.&lt;br /&gt;
&lt;br /&gt;
When you run the &amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt; command, it performs the following tasks:&lt;br /&gt;
&lt;br /&gt;
Scans the Windows image for corruption and identifies any issues.&lt;br /&gt;
Verifies the integrity of the system file backups in the Component Store by comparing them against known good copies from the Windows Update servers.&lt;br /&gt;
Attempts to repair any corruption found in the Windows image by replacing the corrupted files with the known good copies.&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to note that running this command requires administrative privileges, and it may take some time to complete, depending on the system and the extent of the corruption.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-open cmd in admin&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-after running DISM, run this right after, if errors are found, it will fix it, reboot pc&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SFC /scannow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-after reboot, run CMD as admin and run again&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SFC /scannow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-Let&#039;s not forget the G.O.A.T., Use in Run to reset internet settings especially if you are having connecting MS app online or if Sonicwall Netextender breaks the connection&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;RunDll32.exe InetCpl.cpl,ResetIEtoDefaults&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
How to find mapped drives on cmd:&lt;br /&gt;
&lt;br /&gt;
Open the Run dialog box by pressing the Windows &amp;lt;code&amp;gt;key + R.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type &amp;quot;cmd&amp;quot; and press Enter to open the Command Prompt.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use&amp;lt;/code&amp;gt; and press Enter to see a list of all mapped network drives.&lt;br /&gt;
&lt;br /&gt;
Find the drive you want to reconnect and take note of its name.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use &amp;lt;drive letter&amp;gt;: /delete&amp;lt;/code&amp;gt; and press Enter to delete the mapping.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use &amp;lt;drive letter&amp;gt;: \server\share /persistent:yes&amp;lt;/code&amp;gt; and press Enter to&lt;br /&gt;
recreate the mapping with the &amp;quot;persistent&amp;quot; option, which should keep the mapping&lt;br /&gt;
alive even after a disconnect.&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create a Local user with CMD and make it into Admin, IF The username has a period in between please use the quotations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;user.name&amp;quot; password /add&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net localgroup administrators &amp;quot;user.name&amp;quot; /add&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to remove Admin creds&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net localgroup administrators &amp;quot;user.name&amp;quot; /delete&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you need to delete the local account&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;user.name&amp;quot; /delete&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Disable builtin Administrator and Guest accounts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;Administrator&amp;quot; /active:no&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;Guest&amp;quot; /active:no&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Disable hibernation file to resolve issues with shutdown and free up some disk space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;powercfg.exe /Hibernate off&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Log off someone from a desktop session&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
List all sessions: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;query session&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Logoff the corresponding session:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;logoff {number}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix right click on Windows 11, doesn&#039;t need admin:&lt;br /&gt;
&lt;br /&gt;
 reg.exe add &amp;quot;HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32&amp;quot; /f /ve&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix alt key opening hamburger menu on ms edge [needs admin]:&lt;br /&gt;
&lt;br /&gt;
 reg add HKLM\SOFTWARE\Policies\Microsoft\Edge /v ConfigureKeyboardShortcuts /d {\&amp;quot;disabled\&amp;quot;:[\&amp;quot;focus_settings_and_more\&amp;quot;]}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Check if the Password is Expired&lt;br /&gt;
&lt;br /&gt;
 Get-ADUser -identity INSERTclientUSERNAMEHERE -properties PasswordLastSet, PasswordExpired, PasswordNeverExpires | ft Name, PasswordLastSet, PasswordExpired, PasswordNeverExpires&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Force the DC to sync the password&lt;br /&gt;
&lt;br /&gt;
 start-adsyncsynccycle -policytype delta&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Join a domain&lt;br /&gt;
&lt;br /&gt;
 add-computer -domainname &amp;quot;YourDomainName&amp;quot;  -restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Getting New Teams to install when it refuses to [Needs Admin]&lt;br /&gt;
&lt;br /&gt;
 Add-ProvisionedAppPackage -Online -PackagePath &amp;quot;MSTeams-x64.msix&amp;quot; -SkipLicense&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
List Services and their running status&lt;br /&gt;
&lt;br /&gt;
 Get-Service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Set a service to autostart&lt;br /&gt;
&lt;br /&gt;
 Set-Service -Name {servicename} -StartupType &#039;Automatic&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Start/Stop a service&lt;br /&gt;
&lt;br /&gt;
 Start-Service {servicename}&lt;br /&gt;
 Stop-Service {servicename}&lt;br /&gt;
 Restart-Service {servicename}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Install OpenSSH-Server&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Remove all default gateways from a network adapter&lt;br /&gt;
&lt;br /&gt;
 Remove-NetRoute -InterfaceAlias &amp;quot;{get this name from Get-NetAdapter}&amp;quot; -DestinationPrefix 0.0.0.0/0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Set an IP Address&lt;br /&gt;
&lt;br /&gt;
 Get-NetAdapter -Name &#039;{get this name from Get-NetAdapter}&#039; | New-NetIPAddress -IPAddress {newIP} -PrefixLength {subnet mask [cidr]}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Allow inbound Ipv4 Pings&lt;br /&gt;
 netsh advfirewall firewall add rule name=&amp;quot;ICMP Allow incoming V4 echo request&amp;quot; protocol=icmpv4:8,any dir=in action=allow&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Show all WiFi Passwords [CMD Only]&lt;br /&gt;
 for /f &amp;quot;skip=9 tokens=1,2 delims=:&amp;quot; %i in (&#039;netsh wlan show profiles&#039;) do @if &amp;quot;%j&amp;quot; NEQ &amp;quot;&amp;quot; (echo SSID: %j &amp;amp; netsh wlan show profiles %j key=clear | findstr &amp;quot;Key Content&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Install server manager on a Non-Windows-Server OS&lt;br /&gt;
 Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Force update Group Policy (apply group policy changes)&lt;br /&gt;
 gpupdate.exe /force&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Resize a VHD [Virtual Hard Disk]&lt;br /&gt;
 resize-vhd -path &amp;quot;f:\Shares\profiledisks&amp;quot; -Sizebytes 30GB&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Persistently map a drive&lt;br /&gt;
 Net use /persistent:yes h: \\VBoxSvr\Win11\Documents &lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Switch to compact os mode to save space&lt;br /&gt;
 Compact.exe /CompactOS:always&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Migrate a folder from one drive to the other preserving permissions and logging everything to the D:\ drive&lt;br /&gt;
 robocopy &amp;quot;C:\users\awesome.guy&amp;quot; &amp;quot;D:\users\awesome.guy&amp;quot; /E /COPYALL /zb /r:10 /w:10 /tee /unilog+:&amp;quot;D:\robocopylog.txt&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Add a domain to the global dns search list&lt;br /&gt;
 Set-DnsClientGlobalSetting -SuffixSearchList @(&amp;quot;corp.mariocorp.com&amp;quot;)&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Commands&amp;diff=624</id>
		<title>Commands</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Commands&amp;diff=624"/>
		<updated>2024-10-28T16:55:21Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;hr&amp;gt;This page includes both cmd and powershell commands, realistically, all of them should run from powershell anyway.&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;ipconfig&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ipconfig command is a command-line utility used to display and manage the IP address assigned to a machine. It provides information about the current TCP/IP network configuration, including the IP address, subnet mask, and default gateway for all adapters . In Windows, typing ipconfig without any parameters displays the computer&#039;s currently assigned IP, subnet mask, and default gateway addresses. Additional parameters can be used to perform various actions, such as releasing and renewing IP addresses, flushing the DNS cache, and displaying DNS information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the basic TCP/IP configuration for all adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /all&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the full TCP/IP configuration for all adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /release&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Releases the IP address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /renew&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Renews the IP address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /flushdns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Purges the DNS resolver cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /registerdns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Refreshes all DHCP leases and re-registers DNS names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /displaydns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the contents of the DNS cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /showclassid&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /setclassid&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sets the DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /allcompartments&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the full TCP/IP configuration for all adapters, including all compartments.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /release6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Releases the IPv6 address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /renew6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Renews the IPv6 address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /showclassid6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the IPv6 DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /setclassid6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sets the IPv6 DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /flushdns6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Purges the IPv6 DNS resolver cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
USE THIS IF WINDOWS IS ACTING UP HELLA WEIRD&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt; command is used to scan for corruption in the Windows image and repair any issues found. DISM stands for Deployment Image Servicing and Management, and it is a command-line tool used to service and prepare Windows images for deployment, recovery, and setup.&lt;br /&gt;
&lt;br /&gt;
When you run the &amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt; command, it performs the following tasks:&lt;br /&gt;
&lt;br /&gt;
Scans the Windows image for corruption and identifies any issues.&lt;br /&gt;
Verifies the integrity of the system file backups in the Component Store by comparing them against known good copies from the Windows Update servers.&lt;br /&gt;
Attempts to repair any corruption found in the Windows image by replacing the corrupted files with the known good copies.&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to note that running this command requires administrative privileges, and it may take some time to complete, depending on the system and the extent of the corruption.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-open cmd in admin&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-after running DISM, run this right after, if errors are found, it will fix it, reboot pc&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SFC /scannow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-after reboot, run CMD as admin and run again&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SFC /scannow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-Let&#039;s not forget the G.O.A.T., Use in Run to reset internet settings especially if you are having connecting MS app online or if Sonicwall Netextender breaks the connection&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;RunDll32.exe InetCpl.cpl,ResetIEtoDefaults&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
How to find mapped drives on cmd:&lt;br /&gt;
&lt;br /&gt;
Open the Run dialog box by pressing the Windows &amp;lt;code&amp;gt;key + R.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type &amp;quot;cmd&amp;quot; and press Enter to open the Command Prompt.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use&amp;lt;/code&amp;gt; and press Enter to see a list of all mapped network drives.&lt;br /&gt;
&lt;br /&gt;
Find the drive you want to reconnect and take note of its name.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use &amp;lt;drive letter&amp;gt;: /delete&amp;lt;/code&amp;gt; and press Enter to delete the mapping.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use &amp;lt;drive letter&amp;gt;: \server\share /persistent:yes&amp;lt;/code&amp;gt; and press Enter to&lt;br /&gt;
recreate the mapping with the &amp;quot;persistent&amp;quot; option, which should keep the mapping&lt;br /&gt;
alive even after a disconnect.&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create a Local user with CMD and make it into Admin, IF The username has a period in between please use the quotations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;user.name&amp;quot; password /add&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net localgroup administrators &amp;quot;user.name&amp;quot; /add&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to remove Admin creds&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net localgroup administrators &amp;quot;user.name&amp;quot; /delete&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you need to delete the local account&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;user.name&amp;quot; /delete&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Disable builtin Administrator and Guest accounts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;Administrator&amp;quot; /active:no&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;Guest&amp;quot; /active:no&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Disable hibernation file to resolve issues with shutdown and free up some disk space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;powercfg.exe /Hibernate off&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Log off someone from a desktop session&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
List all sessions: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;query session&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Logoff the corresponding session:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;logoff {number}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix right click on Windows 11, doesn&#039;t need admin:&lt;br /&gt;
&lt;br /&gt;
 reg.exe add &amp;quot;HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32&amp;quot; /f /ve&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix alt key opening hamburger menu on ms edge [needs admin]:&lt;br /&gt;
&lt;br /&gt;
 reg add HKLM\SOFTWARE\Policies\Microsoft\Edge /v ConfigureKeyboardShortcuts /d {\&amp;quot;disabled\&amp;quot;:[\&amp;quot;focus_settings_and_more\&amp;quot;]}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Check if the Password is Expired&lt;br /&gt;
&lt;br /&gt;
 Get-ADUser -identity INSERTclientUSERNAMEHERE -properties PasswordLastSet, PasswordExpired, PasswordNeverExpires | ft Name, PasswordLastSet, PasswordExpired, PasswordNeverExpires&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Force the DC to sync the password&lt;br /&gt;
&lt;br /&gt;
 start-adsyncsynccycle -policytype delta&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Join a domain&lt;br /&gt;
&lt;br /&gt;
 add-computer -domainname &amp;quot;YourDomainName&amp;quot;  -restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Getting New Teams to install when it refuses to [Needs Admin]&lt;br /&gt;
&lt;br /&gt;
 Add-ProvisionedAppPackage -Online -PackagePath &amp;quot;MSTeams-x64.msix&amp;quot; -SkipLicense&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
List Services and their running status&lt;br /&gt;
&lt;br /&gt;
 Get-Service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Set a service to autostart&lt;br /&gt;
&lt;br /&gt;
 Set-Service -Name {servicename} -StartupType &#039;Automatic&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Start/Stop a service&lt;br /&gt;
&lt;br /&gt;
 Start-Service {servicename}&lt;br /&gt;
 Stop-Service {servicename}&lt;br /&gt;
 Restart-Service {servicename}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Install OpenSSH-Server&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Remove all default gateways from a network adapter&lt;br /&gt;
&lt;br /&gt;
 Remove-NetRoute -InterfaceAlias &amp;quot;{get this name from Get-NetAdapter}&amp;quot; -DestinationPrefix 0.0.0.0/0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Set an IP Address&lt;br /&gt;
&lt;br /&gt;
 Get-NetAdapter -Name &#039;{get this name from Get-NetAdapter}&#039; | New-NetIPAddress -IPAddress {newIP} -PrefixLength {subnet mask [cidr]}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Allow inbound Ipv4 Pings&lt;br /&gt;
 netsh advfirewall firewall add rule name=&amp;quot;ICMP Allow incoming V4 echo request&amp;quot; protocol=icmpv4:8,any dir=in action=allow&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Show all WiFi Passwords [CMD Only]&lt;br /&gt;
 for /f &amp;quot;skip=9 tokens=1,2 delims=:&amp;quot; %i in (&#039;netsh wlan show profiles&#039;) do @if &amp;quot;%j&amp;quot; NEQ &amp;quot;&amp;quot; (echo SSID: %j &amp;amp; netsh wlan show profiles %j key=clear | findstr &amp;quot;Key Content&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Install server manager on a Non-Windows-Server OS&lt;br /&gt;
 Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Force update Group Policy (apply group policy changes)&lt;br /&gt;
 gpupdate.exe /force&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Resize a VHD [Virtual Hard Disk]&lt;br /&gt;
 resize-vhd -path &amp;quot;f:\Shares\profiledisks&amp;quot; -Sizebytes 30GB&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Persistently map a drive&lt;br /&gt;
 Net use h: \\VBoxSvr\Win11\Documents /persistent:yes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Switch to compact os mode to save space&lt;br /&gt;
 Compact.exe /CompactOS:always&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Migrate a folder from one drive to the other preserving permissions and logging everything to the D:\ drive&lt;br /&gt;
 robocopy &amp;quot;C:\users\awesome.guy&amp;quot; &amp;quot;D:\users\awesome.guy&amp;quot; /E /COPYALL /zb /r:10 /w:10 /tee /unilog+:&amp;quot;D:\robocopylog.txt&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Add a domain to the global dns search list&lt;br /&gt;
 Set-DnsClientGlobalSetting -SuffixSearchList @(&amp;quot;corp.mariocorp.com&amp;quot;)&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Commands&amp;diff=623</id>
		<title>Commands</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Commands&amp;diff=623"/>
		<updated>2024-10-25T19:06:12Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;hr&amp;gt;This page includes both cmd and powershell commands, realistically, all of them should run from powershell anyway.&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;ipconfig&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ipconfig command is a command-line utility used to display and manage the IP address assigned to a machine. It provides information about the current TCP/IP network configuration, including the IP address, subnet mask, and default gateway for all adapters . In Windows, typing ipconfig without any parameters displays the computer&#039;s currently assigned IP, subnet mask, and default gateway addresses. Additional parameters can be used to perform various actions, such as releasing and renewing IP addresses, flushing the DNS cache, and displaying DNS information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the basic TCP/IP configuration for all adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /all&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the full TCP/IP configuration for all adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /release&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Releases the IP address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /renew&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Renews the IP address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /flushdns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Purges the DNS resolver cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /registerdns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Refreshes all DHCP leases and re-registers DNS names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /displaydns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the contents of the DNS cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /showclassid&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /setclassid&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sets the DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /allcompartments&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the full TCP/IP configuration for all adapters, including all compartments.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /release6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Releases the IPv6 address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /renew6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Renews the IPv6 address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /showclassid6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the IPv6 DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /setclassid6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sets the IPv6 DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /flushdns6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Purges the IPv6 DNS resolver cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
USE THIS IF WINDOWS IS ACTING UP HELLA WEIRD&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt; command is used to scan for corruption in the Windows image and repair any issues found. DISM stands for Deployment Image Servicing and Management, and it is a command-line tool used to service and prepare Windows images for deployment, recovery, and setup.&lt;br /&gt;
&lt;br /&gt;
When you run the &amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt; command, it performs the following tasks:&lt;br /&gt;
&lt;br /&gt;
Scans the Windows image for corruption and identifies any issues.&lt;br /&gt;
Verifies the integrity of the system file backups in the Component Store by comparing them against known good copies from the Windows Update servers.&lt;br /&gt;
Attempts to repair any corruption found in the Windows image by replacing the corrupted files with the known good copies.&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to note that running this command requires administrative privileges, and it may take some time to complete, depending on the system and the extent of the corruption.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-open cmd in admin&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-after running DISM, run this right after, if errors are found, it will fix it, reboot pc&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SFC /scannow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-after reboot, run CMD as admin and run again&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SFC /scannow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-Let&#039;s not forget the G.O.A.T., Use in Run to reset internet settings especially if you are having connecting MS app online or if Sonicwall Netextender breaks the connection&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;RunDll32.exe InetCpl.cpl,ResetIEtoDefaults&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
How to find mapped drives on cmd:&lt;br /&gt;
&lt;br /&gt;
Open the Run dialog box by pressing the Windows &amp;lt;code&amp;gt;key + R.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type &amp;quot;cmd&amp;quot; and press Enter to open the Command Prompt.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use&amp;lt;/code&amp;gt; and press Enter to see a list of all mapped network drives.&lt;br /&gt;
&lt;br /&gt;
Find the drive you want to reconnect and take note of its name.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use &amp;lt;drive letter&amp;gt;: /delete&amp;lt;/code&amp;gt; and press Enter to delete the mapping.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use &amp;lt;drive letter&amp;gt;: \server\share /persistent:yes&amp;lt;/code&amp;gt; and press Enter to&lt;br /&gt;
recreate the mapping with the &amp;quot;persistent&amp;quot; option, which should keep the mapping&lt;br /&gt;
alive even after a disconnect.&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create a Local user with CMD and make it into Admin, IF The username has a period in between please use the quotations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;user.name&amp;quot; password /add&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net localgroup administrators &amp;quot;user.name&amp;quot; /add&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to remove Admin creds&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net localgroup administrators &amp;quot;user.name&amp;quot; /delete&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you need to delete the local account&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;user.name&amp;quot; /delete&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Disable builtin Administrator and Guest accounts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;Administrator&amp;quot; /active:no&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;Guest&amp;quot; /active:no&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Disable hibernation file to resolve issues with shutdown and free up some disk space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;powercfg.exe /Hibernate off&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Log off someone from a desktop session&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
List all sessions: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;query session&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Logoff the corresponding session:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;logoff {number}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix right click on Windows 11, doesn&#039;t need admin:&lt;br /&gt;
&lt;br /&gt;
 reg.exe add &amp;quot;HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32&amp;quot; /f /ve&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix alt key opening hamburger menu on ms edge [needs admin]:&lt;br /&gt;
&lt;br /&gt;
 reg add HKLM\SOFTWARE\Policies\Microsoft\Edge /v ConfigureKeyboardShortcuts /d {\&amp;quot;disabled\&amp;quot;:[\&amp;quot;focus_settings_and_more\&amp;quot;]}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Check if the Password is Expired&lt;br /&gt;
&lt;br /&gt;
 Get-ADUser -identity INSERTclientUSERNAMEHERE -properties PasswordLastSet, PasswordExpired, PasswordNeverExpires | ft Name, PasswordLastSet, PasswordExpired, PasswordNeverExpires&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Force the DC to sync the password&lt;br /&gt;
&lt;br /&gt;
 start-adsyncsynccycle -policytype delta&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Join a domain&lt;br /&gt;
&lt;br /&gt;
 add-computer -domainname &amp;quot;YourDomainName&amp;quot;  -restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Getting New Teams to install when it refuses to [Needs Admin]&lt;br /&gt;
&lt;br /&gt;
 Add-ProvisionedAppPackage -Online -PackagePath &amp;quot;MSTeams-x64.msix&amp;quot; -SkipLicense&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
List Services and their running status&lt;br /&gt;
&lt;br /&gt;
 Get-Service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Set a service to autostart&lt;br /&gt;
&lt;br /&gt;
 Set-Service -Name {servicename} -StartupType &#039;Automatic&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Start/Stop a service&lt;br /&gt;
&lt;br /&gt;
 Start-Service {servicename}&lt;br /&gt;
 Stop-Service {servicename}&lt;br /&gt;
 Restart-Service {servicename}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Install OpenSSH-Server&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Remove all default gateways from a network adapter&lt;br /&gt;
&lt;br /&gt;
 Remove-NetRoute -InterfaceAlias &amp;quot;{get this name from Get-NetAdapter}&amp;quot; -DestinationPrefix 0.0.0.0/0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Set an IP Address&lt;br /&gt;
&lt;br /&gt;
 Get-NetAdapter -Name &#039;{get this name from Get-NetAdapter}&#039; | New-NetIPAddress -IPAddress {newIP} -PrefixLength {subnet mask [cidr]}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Allow inbound Ipv4 Pings&lt;br /&gt;
 netsh advfirewall firewall add rule name=&amp;quot;ICMP Allow incoming V4 echo request&amp;quot; protocol=icmpv4:8,any dir=in action=allow&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Show all WiFi Passwords [CMD Only]&lt;br /&gt;
 for /f &amp;quot;skip=9 tokens=1,2 delims=:&amp;quot; %i in (&#039;netsh wlan show profiles&#039;) do @if &amp;quot;%j&amp;quot; NEQ &amp;quot;&amp;quot; (echo SSID: %j &amp;amp; netsh wlan show profiles %j key=clear | findstr &amp;quot;Key Content&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Install server manager on a Non-Windows-Server OS&lt;br /&gt;
 Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Force update Group Policy (apply group policy changes)&lt;br /&gt;
 gpupdate.exe /force&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Resize a VHD [Virtual Hard Disk]&lt;br /&gt;
 resize-vhd -path &amp;quot;f:\Shares\profiledisks&amp;quot; -Sizebytes 30GB&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Persistently map a drive&lt;br /&gt;
 Net use h: \\VBoxSvr\Win11\Documents /persistent:yes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Switch to compact os mode to save space&lt;br /&gt;
 Compact.exe /CompactOS:always&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Migrate a folder from one drive to the other preserving permissions and logging everything to the D:\ drive&lt;br /&gt;
 robocopy &amp;quot;C:\users\awesome.guy&amp;quot; &amp;quot;D:\users\awesome.guy&amp;quot; /E /COPYALL /zb /r:10 /w:10 /tee /unilog+:&amp;quot;D:\robocopylog.txt&amp;quot;&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Commands&amp;diff=622</id>
		<title>Commands</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Commands&amp;diff=622"/>
		<updated>2024-10-25T19:05:56Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;hr&amp;gt;This page includes both cmd and powershell commands, realistically, all of them should run from powershell anyway.&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;ipconfig&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ipconfig command is a command-line utility used to display and manage the IP address assigned to a machine. It provides information about the current TCP/IP network configuration, including the IP address, subnet mask, and default gateway for all adapters . In Windows, typing ipconfig without any parameters displays the computer&#039;s currently assigned IP, subnet mask, and default gateway addresses. Additional parameters can be used to perform various actions, such as releasing and renewing IP addresses, flushing the DNS cache, and displaying DNS information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the basic TCP/IP configuration for all adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /all&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the full TCP/IP configuration for all adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /release&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Releases the IP address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /renew&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Renews the IP address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /flushdns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Purges the DNS resolver cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /registerdns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Refreshes all DHCP leases and re-registers DNS names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /displaydns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the contents of the DNS cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /showclassid&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /setclassid&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sets the DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /allcompartments&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the full TCP/IP configuration for all adapters, including all compartments.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /release6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Releases the IPv6 address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /renew6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Renews the IPv6 address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /showclassid6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the IPv6 DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /setclassid6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sets the IPv6 DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /flushdns6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Purges the IPv6 DNS resolver cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
USE THIS IF WINDOWS IS ACTING UP HELLA WEIRD&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt; command is used to scan for corruption in the Windows image and repair any issues found. DISM stands for Deployment Image Servicing and Management, and it is a command-line tool used to service and prepare Windows images for deployment, recovery, and setup.&lt;br /&gt;
&lt;br /&gt;
When you run the &amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt; command, it performs the following tasks:&lt;br /&gt;
&lt;br /&gt;
Scans the Windows image for corruption and identifies any issues.&lt;br /&gt;
Verifies the integrity of the system file backups in the Component Store by comparing them against known good copies from the Windows Update servers.&lt;br /&gt;
Attempts to repair any corruption found in the Windows image by replacing the corrupted files with the known good copies.&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to note that running this command requires administrative privileges, and it may take some time to complete, depending on the system and the extent of the corruption.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-open cmd in admin&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-after running DISM, run this right after, if errors are found, it will fix it, reboot pc&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SFC /scannow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-after reboot, run CMD as admin and run again&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SFC /scannow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-Let&#039;s not forget the G.O.A.T., Use in Run to reset internet settings especially if you are having connecting MS app online or if Sonicwall Netextender breaks the connection&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;RunDll32.exe InetCpl.cpl,ResetIEtoDefaults&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
How to find mapped drives on cmd:&lt;br /&gt;
&lt;br /&gt;
Open the Run dialog box by pressing the Windows &amp;lt;code&amp;gt;key + R.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type &amp;quot;cmd&amp;quot; and press Enter to open the Command Prompt.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use&amp;lt;/code&amp;gt; and press Enter to see a list of all mapped network drives.&lt;br /&gt;
&lt;br /&gt;
Find the drive you want to reconnect and take note of its name.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use &amp;lt;drive letter&amp;gt;: /delete&amp;lt;/code&amp;gt; and press Enter to delete the mapping.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use &amp;lt;drive letter&amp;gt;: \server\share /persistent:yes&amp;lt;/code&amp;gt; and press Enter to&lt;br /&gt;
recreate the mapping with the &amp;quot;persistent&amp;quot; option, which should keep the mapping&lt;br /&gt;
alive even after a disconnect.&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create a Local user with CMD and make it into Admin, IF The username has a period in between please use the quotations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;user.name&amp;quot; password /add&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net localgroup administrators &amp;quot;user.name&amp;quot; /add&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to remove Admin creds&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net localgroup administrators &amp;quot;user.name&amp;quot; /delete&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you need to delete the local account&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;user.name&amp;quot; /delete&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Disable builtin Administrator and Guest accounts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;Administrator&amp;quot; /active:no&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;Guest&amp;quot; /active:no&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Disable hibernation file to resolve issues with shutdown and free up some disk space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;powercfg.exe /Hibernate off&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Log off someone from a desktop session&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
List all sessions: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;query session&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Logoff the corresponding session:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;logoff {number}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix right click on Windows 11, doesn&#039;t need admin:&lt;br /&gt;
&lt;br /&gt;
 reg.exe add &amp;quot;HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32&amp;quot; /f /ve&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix alt key opening hamburger menu on ms edge [needs admin]:&lt;br /&gt;
&lt;br /&gt;
 reg add HKLM\SOFTWARE\Policies\Microsoft\Edge /v ConfigureKeyboardShortcuts /d {\&amp;quot;disabled\&amp;quot;:[\&amp;quot;focus_settings_and_more\&amp;quot;]}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Check if the Password is Expired&lt;br /&gt;
&lt;br /&gt;
 Get-ADUser -identity INSERTclientUSERNAMEHERE -properties PasswordLastSet, PasswordExpired, PasswordNeverExpires | ft Name, PasswordLastSet, PasswordExpired, PasswordNeverExpires&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Force the DC to sync the password&lt;br /&gt;
&lt;br /&gt;
 start-adsyncsynccycle -policytype delta&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Join a domain&lt;br /&gt;
&lt;br /&gt;
 add-computer -domainname &amp;quot;YourDomainName&amp;quot;  -restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Getting New Teams to install when it refuses to [Needs Admin]&lt;br /&gt;
&lt;br /&gt;
 Add-ProvisionedAppPackage -Online -PackagePath &amp;quot;MSTeams-x64.msix&amp;quot; -SkipLicense&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
List Services and their running status&lt;br /&gt;
&lt;br /&gt;
 Get-Service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Set a service to autostart&lt;br /&gt;
&lt;br /&gt;
 Set-Service -Name {servicename} -StartupType &#039;Automatic&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Start/Stop a service&lt;br /&gt;
&lt;br /&gt;
 Start-Service {servicename}&lt;br /&gt;
 Stop-Service {servicename}&lt;br /&gt;
 Restart-Service {servicename}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Install OpenSSH-Server&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Remove all default gateways from a network adapter&lt;br /&gt;
&lt;br /&gt;
 Remove-NetRoute -InterfaceAlias &amp;quot;{get this name from Get-NetAdapter}&amp;quot; -DestinationPrefix 0.0.0.0/0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Set an IP Address&lt;br /&gt;
&lt;br /&gt;
 Get-NetAdapter -Name &#039;{get this name from Get-NetAdapter}&#039; | New-NetIPAddress -IPAddress {newIP} -PrefixLength {subnet mask [cidr]}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Allow inbound Ipv4 Pings&lt;br /&gt;
 netsh advfirewall firewall add rule name=&amp;quot;ICMP Allow incoming V4 echo request&amp;quot; protocol=icmpv4:8,any dir=in action=allow&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Show all WiFi Passwords [CMD Only]&lt;br /&gt;
 for /f &amp;quot;skip=9 tokens=1,2 delims=:&amp;quot; %i in (&#039;netsh wlan show profiles&#039;) do @if &amp;quot;%j&amp;quot; NEQ &amp;quot;&amp;quot; (echo SSID: %j &amp;amp; netsh wlan show profiles %j key=clear | findstr &amp;quot;Key Content&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Install server manager on a Non-Windows-Server OS&lt;br /&gt;
 Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Force update Group Policy (apply group policy changes)&lt;br /&gt;
 gpupdate.exe /force&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Resize a VHD [Virtual Hard Disk]&lt;br /&gt;
 resize-vhd -path &amp;quot;f:\Shares\profiledisks&amp;quot; -Sizebytes 30GB&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Persistently map a drive&lt;br /&gt;
 Net use h: \\VBoxSvr\Win11\Documents /persistent:yes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Switch to compact os mode to save space&lt;br /&gt;
 Compact.exe /CompactOS:always&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Migrate a folder from one drive to the other preserving permissions and logging everything to the D:\ drive&lt;br /&gt;
 robocopy &amp;quot;C:\users\doseok.kim&amp;quot; &amp;quot;D:\users\doseok.kim&amp;quot; /E /COPYALL /zb /r:10 /w:10 /tee /unilog+:&amp;quot;D:\robocopylog.txt&amp;quot;&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Commands&amp;diff=621</id>
		<title>Commands</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Commands&amp;diff=621"/>
		<updated>2024-10-25T18:21:59Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;hr&amp;gt;This page includes both cmd and powershell commands, realistically, all of them should run from powershell anyway.&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;ipconfig&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ipconfig command is a command-line utility used to display and manage the IP address assigned to a machine. It provides information about the current TCP/IP network configuration, including the IP address, subnet mask, and default gateway for all adapters . In Windows, typing ipconfig without any parameters displays the computer&#039;s currently assigned IP, subnet mask, and default gateway addresses. Additional parameters can be used to perform various actions, such as releasing and renewing IP addresses, flushing the DNS cache, and displaying DNS information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the basic TCP/IP configuration for all adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /all&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the full TCP/IP configuration for all adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /release&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Releases the IP address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /renew&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Renews the IP address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /flushdns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Purges the DNS resolver cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /registerdns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Refreshes all DHCP leases and re-registers DNS names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /displaydns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the contents of the DNS cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /showclassid&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /setclassid&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sets the DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /allcompartments&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the full TCP/IP configuration for all adapters, including all compartments.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /release6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Releases the IPv6 address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /renew6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Renews the IPv6 address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /showclassid6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the IPv6 DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /setclassid6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sets the IPv6 DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /flushdns6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Purges the IPv6 DNS resolver cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
USE THIS IF WINDOWS IS ACTING UP HELLA WEIRD&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt; command is used to scan for corruption in the Windows image and repair any issues found. DISM stands for Deployment Image Servicing and Management, and it is a command-line tool used to service and prepare Windows images for deployment, recovery, and setup.&lt;br /&gt;
&lt;br /&gt;
When you run the &amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt; command, it performs the following tasks:&lt;br /&gt;
&lt;br /&gt;
Scans the Windows image for corruption and identifies any issues.&lt;br /&gt;
Verifies the integrity of the system file backups in the Component Store by comparing them against known good copies from the Windows Update servers.&lt;br /&gt;
Attempts to repair any corruption found in the Windows image by replacing the corrupted files with the known good copies.&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to note that running this command requires administrative privileges, and it may take some time to complete, depending on the system and the extent of the corruption.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-open cmd in admin&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-after running DISM, run this right after, if errors are found, it will fix it, reboot pc&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SFC /scannow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-after reboot, run CMD as admin and run again&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SFC /scannow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-Let&#039;s not forget the G.O.A.T., Use in Run to reset internet settings especially if you are having connecting MS app online or if Sonicwall Netextender breaks the connection&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;RunDll32.exe InetCpl.cpl,ResetIEtoDefaults&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
How to find mapped drives on cmd:&lt;br /&gt;
&lt;br /&gt;
Open the Run dialog box by pressing the Windows &amp;lt;code&amp;gt;key + R.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type &amp;quot;cmd&amp;quot; and press Enter to open the Command Prompt.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use&amp;lt;/code&amp;gt; and press Enter to see a list of all mapped network drives.&lt;br /&gt;
&lt;br /&gt;
Find the drive you want to reconnect and take note of its name.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use &amp;lt;drive letter&amp;gt;: /delete&amp;lt;/code&amp;gt; and press Enter to delete the mapping.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use &amp;lt;drive letter&amp;gt;: \server\share /persistent:yes&amp;lt;/code&amp;gt; and press Enter to&lt;br /&gt;
recreate the mapping with the &amp;quot;persistent&amp;quot; option, which should keep the mapping&lt;br /&gt;
alive even after a disconnect.&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create a Local user with CMD and make it into Admin, IF The username has a period in between please use the quotations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;user.name&amp;quot; password /add&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net localgroup administrators &amp;quot;user.name&amp;quot; /add&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to remove Admin creds&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net localgroup administrators &amp;quot;user.name&amp;quot; /delete&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you need to delete the local account&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;user.name&amp;quot; /delete&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Disable builtin Administrator and Guest accounts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;Administrator&amp;quot; /active:no&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;Guest&amp;quot; /active:no&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Disable hibernation file to resolve issues with shutdown and free up some disk space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;powercfg.exe /Hibernate off&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Log off someone from a desktop session&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
List all sessions: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;query session&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Logoff the corresponding session:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;logoff {number}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix right click on Windows 11, doesn&#039;t need admin:&lt;br /&gt;
&lt;br /&gt;
 reg.exe add &amp;quot;HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32&amp;quot; /f /ve&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix alt key opening hamburger menu on ms edge [needs admin]:&lt;br /&gt;
&lt;br /&gt;
 reg add HKLM\SOFTWARE\Policies\Microsoft\Edge /v ConfigureKeyboardShortcuts /d {\&amp;quot;disabled\&amp;quot;:[\&amp;quot;focus_settings_and_more\&amp;quot;]}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Check if the Password is Expired&lt;br /&gt;
&lt;br /&gt;
 Get-ADUser -identity INSERTclientUSERNAMEHERE -properties PasswordLastSet, PasswordExpired, PasswordNeverExpires | ft Name, PasswordLastSet, PasswordExpired, PasswordNeverExpires&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Force the DC to sync the password&lt;br /&gt;
&lt;br /&gt;
 start-adsyncsynccycle -policytype delta&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Join a domain&lt;br /&gt;
&lt;br /&gt;
 add-computer -domainname &amp;quot;YourDomainName&amp;quot;  -restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Getting New Teams to install when it refuses to [Needs Admin]&lt;br /&gt;
&lt;br /&gt;
 Add-ProvisionedAppPackage -Online -PackagePath &amp;quot;MSTeams-x64.msix&amp;quot; -SkipLicense&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
List Services and their running status&lt;br /&gt;
&lt;br /&gt;
 Get-Service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Set a service to autostart&lt;br /&gt;
&lt;br /&gt;
 Set-Service -Name {servicename} -StartupType &#039;Automatic&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Start/Stop a service&lt;br /&gt;
&lt;br /&gt;
 Start-Service {servicename}&lt;br /&gt;
 Stop-Service {servicename}&lt;br /&gt;
 Restart-Service {servicename}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Install OpenSSH-Server&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Remove all default gateways from a network adapter&lt;br /&gt;
&lt;br /&gt;
 Remove-NetRoute -InterfaceAlias &amp;quot;{get this name from Get-NetAdapter}&amp;quot; -DestinationPrefix 0.0.0.0/0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Set an IP Address&lt;br /&gt;
&lt;br /&gt;
 Get-NetAdapter -Name &#039;{get this name from Get-NetAdapter}&#039; | New-NetIPAddress -IPAddress {newIP} -PrefixLength {subnet mask [cidr]}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Allow inbound Ipv4 Pings&lt;br /&gt;
 netsh advfirewall firewall add rule name=&amp;quot;ICMP Allow incoming V4 echo request&amp;quot; protocol=icmpv4:8,any dir=in action=allow&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Show all WiFi Passwords [CMD Only]&lt;br /&gt;
 for /f &amp;quot;skip=9 tokens=1,2 delims=:&amp;quot; %i in (&#039;netsh wlan show profiles&#039;) do @if &amp;quot;%j&amp;quot; NEQ &amp;quot;&amp;quot; (echo SSID: %j &amp;amp; netsh wlan show profiles %j key=clear | findstr &amp;quot;Key Content&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Install server manager on a Non-Windows-Server OS&lt;br /&gt;
 Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Force update Group Policy (apply group policy changes)&lt;br /&gt;
 gpupdate.exe /force&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Resize a VHD [Virtual Hard Disk]&lt;br /&gt;
 resize-vhd -path &amp;quot;f:\Shares\profiledisks&amp;quot; -Sizebytes 30GB&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Persistently map a drive&lt;br /&gt;
 Net use h: \\VBoxSvr\Win11\Documents /persistent:yes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Switch to compact os mode to save space&lt;br /&gt;
 Compact.exe /CompactOS:always&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Commands&amp;diff=620</id>
		<title>Commands</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Commands&amp;diff=620"/>
		<updated>2024-10-25T18:21:50Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;hr&amp;gt;This page includes both cmd and powershell commands, realistically, all of them should run from powershell anyway.&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;ipconfig&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ipconfig command is a command-line utility used to display and manage the IP address assigned to a machine. It provides information about the current TCP/IP network configuration, including the IP address, subnet mask, and default gateway for all adapters . In Windows, typing ipconfig without any parameters displays the computer&#039;s currently assigned IP, subnet mask, and default gateway addresses. Additional parameters can be used to perform various actions, such as releasing and renewing IP addresses, flushing the DNS cache, and displaying DNS information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the basic TCP/IP configuration for all adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /all&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the full TCP/IP configuration for all adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /release&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Releases the IP address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /renew&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Renews the IP address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /flushdns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Purges the DNS resolver cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /registerdns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Refreshes all DHCP leases and re-registers DNS names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /displaydns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the contents of the DNS cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /showclassid&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /setclassid&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sets the DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /allcompartments&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the full TCP/IP configuration for all adapters, including all compartments.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /release6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Releases the IPv6 address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /renew6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Renews the IPv6 address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /showclassid6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the IPv6 DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /setclassid6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sets the IPv6 DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /flushdns6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Purges the IPv6 DNS resolver cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
USE THIS IF WINDOWS IS ACTING UP HELLA WEIRD&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt; command is used to scan for corruption in the Windows image and repair any issues found. DISM stands for Deployment Image Servicing and Management, and it is a command-line tool used to service and prepare Windows images for deployment, recovery, and setup.&lt;br /&gt;
&lt;br /&gt;
When you run the &amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt; command, it performs the following tasks:&lt;br /&gt;
&lt;br /&gt;
Scans the Windows image for corruption and identifies any issues.&lt;br /&gt;
Verifies the integrity of the system file backups in the Component Store by comparing them against known good copies from the Windows Update servers.&lt;br /&gt;
Attempts to repair any corruption found in the Windows image by replacing the corrupted files with the known good copies.&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to note that running this command requires administrative privileges, and it may take some time to complete, depending on the system and the extent of the corruption.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-open cmd in admin&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-after running DISM, run this right after, if errors are found, it will fix it, reboot pc&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SFC /scannow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-after reboot, run CMD as admin and run again&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SFC /scannow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-Let&#039;s not forget the G.O.A.T., Use in Run to reset internet settings especially if you are having connecting MS app online or if Sonicwall Netextender breaks the connection&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;RunDll32.exe InetCpl.cpl,ResetIEtoDefaults&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
How to find mapped drives on cmd:&lt;br /&gt;
&lt;br /&gt;
Open the Run dialog box by pressing the Windows &amp;lt;code&amp;gt;key + R.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type &amp;quot;cmd&amp;quot; and press Enter to open the Command Prompt.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use&amp;lt;/code&amp;gt; and press Enter to see a list of all mapped network drives.&lt;br /&gt;
&lt;br /&gt;
Find the drive you want to reconnect and take note of its name.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use &amp;lt;drive letter&amp;gt;: /delete&amp;lt;/code&amp;gt; and press Enter to delete the mapping.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use &amp;lt;drive letter&amp;gt;: \server\share /persistent:yes&amp;lt;/code&amp;gt; and press Enter to&lt;br /&gt;
recreate the mapping with the &amp;quot;persistent&amp;quot; option, which should keep the mapping&lt;br /&gt;
alive even after a disconnect.&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create a Local user with CMD and make it into Admin, IF The username has a period in between please use the quotations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;user.name&amp;quot; password /add&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net localgroup administrators &amp;quot;user.name&amp;quot; /add&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to remove Admin creds&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net localgroup administrators &amp;quot;user.name&amp;quot; /delete&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you need to delete the local account&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;user.name&amp;quot; /delete&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Disable builtin Administrator and Guest accounts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;Administrator&amp;quot; /active:no&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;Guest&amp;quot; /active:no&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Disable hibernation file to resolve issues with shutdown and free up some disk space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;powercfg.exe /Hibernate off&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Log off someone from a desktop session&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
List all sessions: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;query session&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Logoff the corresponding session:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;logoff {number}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix right click on Windows 11, doesn&#039;t need admin:&lt;br /&gt;
&lt;br /&gt;
 reg.exe add &amp;quot;HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32&amp;quot; /f /ve&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix alt key opening hamburger menu on ms edge [needs admin]:&lt;br /&gt;
&lt;br /&gt;
 reg add HKLM\SOFTWARE\Policies\Microsoft\Edge /v ConfigureKeyboardShortcuts /d {\&amp;quot;disabled\&amp;quot;:[\&amp;quot;focus_settings_and_more\&amp;quot;]}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Check if the Password is Expired&lt;br /&gt;
&lt;br /&gt;
 Get-ADUser -identity INSERTclientUSERNAMEHERE -properties PasswordLastSet, PasswordExpired, PasswordNeverExpires | ft Name, PasswordLastSet, PasswordExpired, PasswordNeverExpires&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Force the DC to sync the password&lt;br /&gt;
&lt;br /&gt;
 start-adsyncsynccycle -policytype delta&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Join a domain&lt;br /&gt;
&lt;br /&gt;
 add-computer -domainname &amp;quot;YourDomainName&amp;quot;  -restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Getting New Teams to install when it refuses to [Needs Admin]&lt;br /&gt;
&lt;br /&gt;
 Add-ProvisionedAppPackage -Online -PackagePath &amp;quot;MSTeams-x64.msix&amp;quot; -SkipLicense&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
List Services and their running status&lt;br /&gt;
&lt;br /&gt;
 Get-Service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Set a service to autostart&lt;br /&gt;
&lt;br /&gt;
 Set-Service -Name {servicename} -StartupType &#039;Automatic&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Start/Stop a service&lt;br /&gt;
&lt;br /&gt;
 Start-Service {servicename}&lt;br /&gt;
 Stop-Service {servicename}&lt;br /&gt;
 Restart-Service {servicename}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Install OpenSSH-Server&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Remove all default gateways from a network adapter&lt;br /&gt;
&lt;br /&gt;
 Remove-NetRoute -InterfaceAlias &amp;quot;{get this name from Get-NetAdapter}&amp;quot; -DestinationPrefix 0.0.0.0/0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Set an IP Address&lt;br /&gt;
&lt;br /&gt;
 Get-NetAdapter -Name &#039;{get this name from Get-NetAdapter}&#039; | New-NetIPAddress -IPAddress {newIP} -PrefixLength {subnet mask [cidr]}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Allow inbound Ipv4 Pings&lt;br /&gt;
 netsh advfirewall firewall add rule name=&amp;quot;ICMP Allow incoming V4 echo request&amp;quot; protocol=icmpv4:8,any dir=in action=allow&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Show all WiFi Passwords [CMD Only]&lt;br /&gt;
 for /f &amp;quot;skip=9 tokens=1,2 delims=:&amp;quot; %i in (&#039;netsh wlan show profiles&#039;) do @if &amp;quot;%j&amp;quot; NEQ &amp;quot;&amp;quot; (echo SSID: %j &amp;amp; netsh wlan show profiles %j key=clear | findstr &amp;quot;Key Content&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Install server manager on a Non-Windows-Server OS&lt;br /&gt;
 Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Force update Group Policy (apply group policy changes)&lt;br /&gt;
 gpupdate.exe /force&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Resize a VHD [Virtual Hard Disk]&lt;br /&gt;
 resize-vhd -path &amp;quot;f:\Shares\profiledisks&amp;quot; -Sizebytes 30GB&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Persistently map a drive&lt;br /&gt;
 Net use h: \\VBoxSvr\Win11\Documents /persistent:yes&lt;br /&gt;
&lt;br /&gt;
Switch to compact os mode to save space&lt;br /&gt;
 Compact.exe /CompactOS:always&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Commands&amp;diff=619</id>
		<title>Commands</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Commands&amp;diff=619"/>
		<updated>2024-10-23T18:09:17Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;hr&amp;gt;This page includes both cmd and powershell commands, realistically, all of them should run from powershell anyway.&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;ipconfig&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ipconfig command is a command-line utility used to display and manage the IP address assigned to a machine. It provides information about the current TCP/IP network configuration, including the IP address, subnet mask, and default gateway for all adapters . In Windows, typing ipconfig without any parameters displays the computer&#039;s currently assigned IP, subnet mask, and default gateway addresses. Additional parameters can be used to perform various actions, such as releasing and renewing IP addresses, flushing the DNS cache, and displaying DNS information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the basic TCP/IP configuration for all adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /all&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the full TCP/IP configuration for all adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /release&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Releases the IP address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /renew&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Renews the IP address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /flushdns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Purges the DNS resolver cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /registerdns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Refreshes all DHCP leases and re-registers DNS names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /displaydns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the contents of the DNS cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /showclassid&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /setclassid&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sets the DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /allcompartments&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the full TCP/IP configuration for all adapters, including all compartments.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /release6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Releases the IPv6 address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /renew6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Renews the IPv6 address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /showclassid6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the IPv6 DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /setclassid6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sets the IPv6 DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /flushdns6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Purges the IPv6 DNS resolver cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
USE THIS IF WINDOWS IS ACTING UP HELLA WEIRD&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt; command is used to scan for corruption in the Windows image and repair any issues found. DISM stands for Deployment Image Servicing and Management, and it is a command-line tool used to service and prepare Windows images for deployment, recovery, and setup.&lt;br /&gt;
&lt;br /&gt;
When you run the &amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt; command, it performs the following tasks:&lt;br /&gt;
&lt;br /&gt;
Scans the Windows image for corruption and identifies any issues.&lt;br /&gt;
Verifies the integrity of the system file backups in the Component Store by comparing them against known good copies from the Windows Update servers.&lt;br /&gt;
Attempts to repair any corruption found in the Windows image by replacing the corrupted files with the known good copies.&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to note that running this command requires administrative privileges, and it may take some time to complete, depending on the system and the extent of the corruption.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-open cmd in admin&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-after running DISM, run this right after, if errors are found, it will fix it, reboot pc&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SFC /scannow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-after reboot, run CMD as admin and run again&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SFC /scannow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-Let&#039;s not forget the G.O.A.T., Use in Run to reset internet settings especially if you are having connecting MS app online or if Sonicwall Netextender breaks the connection&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;RunDll32.exe InetCpl.cpl,ResetIEtoDefaults&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
How to find mapped drives on cmd:&lt;br /&gt;
&lt;br /&gt;
Open the Run dialog box by pressing the Windows &amp;lt;code&amp;gt;key + R.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type &amp;quot;cmd&amp;quot; and press Enter to open the Command Prompt.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use&amp;lt;/code&amp;gt; and press Enter to see a list of all mapped network drives.&lt;br /&gt;
&lt;br /&gt;
Find the drive you want to reconnect and take note of its name.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use &amp;lt;drive letter&amp;gt;: /delete&amp;lt;/code&amp;gt; and press Enter to delete the mapping.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use &amp;lt;drive letter&amp;gt;: \server\share /persistent:yes&amp;lt;/code&amp;gt; and press Enter to&lt;br /&gt;
recreate the mapping with the &amp;quot;persistent&amp;quot; option, which should keep the mapping&lt;br /&gt;
alive even after a disconnect.&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create a Local user with CMD and make it into Admin, IF The username has a period in between please use the quotations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;user.name&amp;quot; password /add&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net localgroup administrators &amp;quot;user.name&amp;quot; /add&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to remove Admin creds&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net localgroup administrators &amp;quot;user.name&amp;quot; /delete&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you need to delete the local account&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;user.name&amp;quot; /delete&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Disable builtin Administrator and Guest accounts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;Administrator&amp;quot; /active:no&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;Guest&amp;quot; /active:no&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Disable hibernation file to resolve issues with shutdown and free up some disk space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;powercfg.exe /Hibernate off&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Log off someone from a desktop session&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
List all sessions: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;query session&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Logoff the corresponding session:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;logoff {number}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix right click on Windows 11, doesn&#039;t need admin:&lt;br /&gt;
&lt;br /&gt;
 reg.exe add &amp;quot;HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32&amp;quot; /f /ve&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix alt key opening hamburger menu on ms edge [needs admin]:&lt;br /&gt;
&lt;br /&gt;
 reg add HKLM\SOFTWARE\Policies\Microsoft\Edge /v ConfigureKeyboardShortcuts /d {\&amp;quot;disabled\&amp;quot;:[\&amp;quot;focus_settings_and_more\&amp;quot;]}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Check if the Password is Expired&lt;br /&gt;
&lt;br /&gt;
 Get-ADUser -identity INSERTclientUSERNAMEHERE -properties PasswordLastSet, PasswordExpired, PasswordNeverExpires | ft Name, PasswordLastSet, PasswordExpired, PasswordNeverExpires&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Force the DC to sync the password&lt;br /&gt;
&lt;br /&gt;
 start-adsyncsynccycle -policytype delta&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Join a domain&lt;br /&gt;
&lt;br /&gt;
 add-computer -domainname &amp;quot;YourDomainName&amp;quot;  -restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Getting New Teams to install when it refuses to [Needs Admin]&lt;br /&gt;
&lt;br /&gt;
 Add-ProvisionedAppPackage -Online -PackagePath &amp;quot;MSTeams-x64.msix&amp;quot; -SkipLicense&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
List Services and their running status&lt;br /&gt;
&lt;br /&gt;
 Get-Service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Set a service to autostart&lt;br /&gt;
&lt;br /&gt;
 Set-Service -Name {servicename} -StartupType &#039;Automatic&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Start/Stop a service&lt;br /&gt;
&lt;br /&gt;
 Start-Service {servicename}&lt;br /&gt;
 Stop-Service {servicename}&lt;br /&gt;
 Restart-Service {servicename}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Install OpenSSH-Server&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Remove all default gateways from a network adapter&lt;br /&gt;
&lt;br /&gt;
 Remove-NetRoute -InterfaceAlias &amp;quot;{get this name from Get-NetAdapter}&amp;quot; -DestinationPrefix 0.0.0.0/0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Set an IP Address&lt;br /&gt;
&lt;br /&gt;
 Get-NetAdapter -Name &#039;{get this name from Get-NetAdapter}&#039; | New-NetIPAddress -IPAddress {newIP} -PrefixLength {subnet mask [cidr]}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Allow inbound Ipv4 Pings&lt;br /&gt;
 netsh advfirewall firewall add rule name=&amp;quot;ICMP Allow incoming V4 echo request&amp;quot; protocol=icmpv4:8,any dir=in action=allow&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Show all WiFi Passwords [CMD Only]&lt;br /&gt;
 for /f &amp;quot;skip=9 tokens=1,2 delims=:&amp;quot; %i in (&#039;netsh wlan show profiles&#039;) do @if &amp;quot;%j&amp;quot; NEQ &amp;quot;&amp;quot; (echo SSID: %j &amp;amp; netsh wlan show profiles %j key=clear | findstr &amp;quot;Key Content&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Install server manager on a Non-Windows-Server OS&lt;br /&gt;
 Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Force update Group Policy (apply group policy changes)&lt;br /&gt;
 gpupdate.exe /force&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Resize a VHD [Virtual Hard Disk]&lt;br /&gt;
 resize-vhd -path &amp;quot;f:\Shares\profiledisks&amp;quot; -Sizebytes 30GB&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Persistently map a drive&lt;br /&gt;
 Net use h: \\VBoxSvr\Win11\Documents /persistent:yes&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Commands&amp;diff=618</id>
		<title>Commands</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Commands&amp;diff=618"/>
		<updated>2024-10-02T20:20:25Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;hr&amp;gt;This page includes both cmd and powershell commands, realistically, all of them should run from powershell anyway.&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;ipconfig&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ipconfig command is a command-line utility used to display and manage the IP address assigned to a machine. It provides information about the current TCP/IP network configuration, including the IP address, subnet mask, and default gateway for all adapters . In Windows, typing ipconfig without any parameters displays the computer&#039;s currently assigned IP, subnet mask, and default gateway addresses. Additional parameters can be used to perform various actions, such as releasing and renewing IP addresses, flushing the DNS cache, and displaying DNS information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the basic TCP/IP configuration for all adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /all&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the full TCP/IP configuration for all adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /release&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Releases the IP address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /renew&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Renews the IP address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /flushdns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Purges the DNS resolver cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /registerdns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Refreshes all DHCP leases and re-registers DNS names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /displaydns&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the contents of the DNS cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /showclassid&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /setclassid&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sets the DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /allcompartments&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the full TCP/IP configuration for all adapters, including all compartments.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /release6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Releases the IPv6 address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /renew6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Renews the IPv6 address assigned to the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /showclassid6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Displays the IPv6 DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /setclassid6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sets the IPv6 DHCP class ID for network adapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ipconfig /flushdns6&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Purges the IPv6 DNS resolver cache.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
USE THIS IF WINDOWS IS ACTING UP HELLA WEIRD&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt; command is used to scan for corruption in the Windows image and repair any issues found. DISM stands for Deployment Image Servicing and Management, and it is a command-line tool used to service and prepare Windows images for deployment, recovery, and setup.&lt;br /&gt;
&lt;br /&gt;
When you run the &amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt; command, it performs the following tasks:&lt;br /&gt;
&lt;br /&gt;
Scans the Windows image for corruption and identifies any issues.&lt;br /&gt;
Verifies the integrity of the system file backups in the Component Store by comparing them against known good copies from the Windows Update servers.&lt;br /&gt;
Attempts to repair any corruption found in the Windows image by replacing the corrupted files with the known good copies.&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to note that running this command requires administrative privileges, and it may take some time to complete, depending on the system and the extent of the corruption.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-open cmd in admin&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;DISM /Online /Cleanup-Image /RestoreHealth&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-after running DISM, run this right after, if errors are found, it will fix it, reboot pc&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SFC /scannow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-after reboot, run CMD as admin and run again&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SFC /scannow&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-Let&#039;s not forget the G.O.A.T., Use in Run to reset internet settings especially if you are having connecting MS app online or if Sonicwall Netextender breaks the connection&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;RunDll32.exe InetCpl.cpl,ResetIEtoDefaults&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
How to find mapped drives on cmd:&lt;br /&gt;
&lt;br /&gt;
Open the Run dialog box by pressing the Windows &amp;lt;code&amp;gt;key + R.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type &amp;quot;cmd&amp;quot; and press Enter to open the Command Prompt.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use&amp;lt;/code&amp;gt; and press Enter to see a list of all mapped network drives.&lt;br /&gt;
&lt;br /&gt;
Find the drive you want to reconnect and take note of its name.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use &amp;lt;drive letter&amp;gt;: /delete&amp;lt;/code&amp;gt; and press Enter to delete the mapping.&lt;br /&gt;
&lt;br /&gt;
Type &amp;lt;code&amp;gt;net use &amp;lt;drive letter&amp;gt;: \server\share /persistent:yes&amp;lt;/code&amp;gt; and press Enter to&lt;br /&gt;
recreate the mapping with the &amp;quot;persistent&amp;quot; option, which should keep the mapping&lt;br /&gt;
alive even after a disconnect.&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create a Local user with CMD and make it into Admin, IF The username has a period in between please use the quotations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;user.name&amp;quot; password /add&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net localgroup administrators &amp;quot;user.name&amp;quot; /add&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you need to remove Admin creds&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net localgroup administrators &amp;quot;user.name&amp;quot; /delete&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you need to delete the local account&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;user.name&amp;quot; /delete&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Disable builtin Administrator and Guest accounts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;Administrator&amp;quot; /active:no&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;net user &amp;quot;Guest&amp;quot; /active:no&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Disable hibernation file to resolve issues with shutdown and free up some disk space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;powercfg.exe /Hibernate off&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Log off someone from a desktop session&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
List all sessions: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;query session&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Logoff the corresponding session:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;logoff {number}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix right click on Windows 11, doesn&#039;t need admin:&lt;br /&gt;
&lt;br /&gt;
 reg.exe add &amp;quot;HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32&amp;quot; /f /ve&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Fix alt key opening hamburger menu on ms edge [needs admin]:&lt;br /&gt;
&lt;br /&gt;
 reg add HKLM\SOFTWARE\Policies\Microsoft\Edge /v ConfigureKeyboardShortcuts /d {\&amp;quot;disabled\&amp;quot;:[\&amp;quot;focus_settings_and_more\&amp;quot;]}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Check if the Password is Expired&lt;br /&gt;
&lt;br /&gt;
 Get-ADUser -identity INSERTclientUSERNAMEHERE -properties PasswordLastSet, PasswordExpired, PasswordNeverExpires | ft Name, PasswordLastSet, PasswordExpired, PasswordNeverExpires&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Force the DC to sync the password&lt;br /&gt;
&lt;br /&gt;
 start-adsyncsynccycle -policytype delta&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Join a domain&lt;br /&gt;
&lt;br /&gt;
 add-computer -domainname &amp;quot;YourDomainName&amp;quot;  -restart&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Getting New Teams to install when it refuses to [Needs Admin]&lt;br /&gt;
&lt;br /&gt;
 Add-ProvisionedAppPackage -Online -PackagePath &amp;quot;MSTeams-x64.msix&amp;quot; -SkipLicense&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
List Services and their running status&lt;br /&gt;
&lt;br /&gt;
 Get-Service&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Set a service to autostart&lt;br /&gt;
&lt;br /&gt;
 Set-Service -Name {servicename} -StartupType &#039;Automatic&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Start/Stop a service&lt;br /&gt;
&lt;br /&gt;
 Start-Service {servicename}&lt;br /&gt;
 Stop-Service {servicename}&lt;br /&gt;
 Restart-Service {servicename}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Install OpenSSH-Server&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Remove all default gateways from a network adapter&lt;br /&gt;
&lt;br /&gt;
 Remove-NetRoute -InterfaceAlias &amp;quot;{get this name from Get-NetAdapter}&amp;quot; -DestinationPrefix 0.0.0.0/0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Set an IP Address&lt;br /&gt;
&lt;br /&gt;
 Get-NetAdapter -Name &#039;{get this name from Get-NetAdapter}&#039; | New-NetIPAddress -IPAddress {newIP} -PrefixLength {subnet mask [cidr]}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Allow inbound Ipv4 Pings&lt;br /&gt;
 netsh advfirewall firewall add rule name=&amp;quot;ICMP Allow incoming V4 echo request&amp;quot; protocol=icmpv4:8,any dir=in action=allow&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Show all WiFi Passwords [CMD Only]&lt;br /&gt;
 for /f &amp;quot;skip=9 tokens=1,2 delims=:&amp;quot; %i in (&#039;netsh wlan show profiles&#039;) do @if &amp;quot;%j&amp;quot; NEQ &amp;quot;&amp;quot; (echo SSID: %j &amp;amp; netsh wlan show profiles %j key=clear | findstr &amp;quot;Key Content&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Install server manager on a Non-Windows-Server OS&lt;br /&gt;
 Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Force update Group Policy (apply group policy changes)&lt;br /&gt;
 gpupdate.exe /force&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Resize a VHD [Virtual Hard Disk]&lt;br /&gt;
 resize-vhd -path &amp;quot;f:\Shares\profiledisks&amp;quot; -Sizebytes 30GB&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Remote_Desktop_Setup&amp;diff=617</id>
		<title>Remote Desktop Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Remote_Desktop_Setup&amp;diff=617"/>
		<updated>2024-09-19T13:11:26Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: Undo revision 547 by 45.27.172.161 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the page that hosts the download links for the Microsoft Remote Desktop App commonly used for Azure Virtual Desktop.&lt;br /&gt;
&lt;br /&gt;
https://learn.microsoft.com/en-us/azure/virtual-desktop/users/connect-windows?pivots=remote-desktop-msi&lt;br /&gt;
	&lt;br /&gt;
If you get prompted for a workspace url, you can use this if it is AVD: https://rdweb.wvd.microsoft.com&lt;br /&gt;
&lt;br /&gt;
*Connecting to Azure Virtual Desktop with Remote Desktop Client for Windows**&lt;br /&gt;
&lt;br /&gt;
*Overview:&lt;br /&gt;
Learn how to connect to Azure Virtual Desktop using the Remote Desktop client for Windows. This guide outlines the process and prerequisites required for seamless access to desktops and applications.&lt;br /&gt;
&lt;br /&gt;
*Prerequisites:&lt;br /&gt;
Before proceeding, ensure you meet the following requirements:&lt;br /&gt;
&lt;br /&gt;
- Internet access.&lt;br /&gt;
- Device running one of the supported Windows versions: Windows 11, Windows 10, Windows Server 2022, Windows Server 2019, or Windows Server 2016.&lt;br /&gt;
- .NET Framework 4.6.2 or later.&lt;br /&gt;
&lt;br /&gt;
*Download and Install Remote Desktop Client (MSI):&lt;br /&gt;
Follow these steps to install the Remote Desktop client using the MSI installer:&lt;br /&gt;
&lt;br /&gt;
1. Download the appropriate installer for your device (64-bit, 32-bit, or ARM64).&lt;br /&gt;
2. Run the installer and follow on-screen prompts.&lt;br /&gt;
3. Choose installation scope based on user or machine preference.&lt;br /&gt;
4. Complete the installation process.&lt;br /&gt;
&lt;br /&gt;
*Note: Avoid installing both the Remote Desktop client (MSI) and the Azure Virtual Desktop app from the Microsoft Store on the same device to prevent confusion.&lt;br /&gt;
&lt;br /&gt;
*Subscribe to a Workspace:&lt;br /&gt;
To access desktops and applications, subscribe to a workspace as follows:&lt;br /&gt;
&lt;br /&gt;
1. Open the Remote Desktop app.&lt;br /&gt;
2. Select &amp;quot;Subscribe&amp;quot; or &amp;quot;Subscribe with URL&amp;quot; from the initial screen.&lt;br /&gt;
3. Sign in with your user account.&lt;br /&gt;
4. Enter the Workspace URL or use the provided URL based on your Azure environment.&lt;br /&gt;
5. Sign in again if prompted.&lt;br /&gt;
&lt;br /&gt;
*Note: Workspaces update automatically, reflecting changes made by your admin.&lt;br /&gt;
&lt;br /&gt;
Connect to Desktops and Applications:&lt;br /&gt;
Once subscribed, connecting is straightforward:&lt;br /&gt;
&lt;br /&gt;
1. Open the Remote Desktop client.&lt;br /&gt;
2. Launch a session by double-clicking the desired icon.&lt;br /&gt;
3. Enter your user account password if prompted.&lt;br /&gt;
&lt;br /&gt;
By following these steps, you can seamlessly connect to Azure Virtual Desktop and access your resources with ease.&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Main_Page&amp;diff=616</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Main_Page&amp;diff=616"/>
		<updated>2024-09-17T19:38:47Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Welcome to Lucca&#039;s Knowledgebase&amp;lt;/strong&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Windows: |&lt;br /&gt;
[[Commands]] | [[Win+R Shortcuts]] | [[Windows Keyboard Shortcuts]] | [[Remote Desktop Setup]] | [[End of Life]] | [[Make CMD Open Faster on Windows 11]] | [[Hyper-V on Windows Home]] | [[Domain Setup from Scratch on Server Core]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linux: | [[Distro Download Links]] | [[Useful Commands]] | [https://arachnoid.com/SecureShell/index.html Arachnoid.com: How to use SSH] | [[Libvirt Setup]] | [[VFIO GPU Passthrough Setup]] | [[VFIO Anti-Cheat Bypass Tools]] | [[Xubuntu Mac Conversion Guide]] | [[Ungoogled Chromium Debian]] | [[Docker Installation on Debian]] | [[Infared Reciever w/ Alpine on the Bulldozer Datto]] | [[Numpad hotkeys on linux]] | [[Split a monitor in two]] | [[Make a udev rule]] | [[Type Unicode Characters]] | [[Screen Recording Options]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Retro Tech: |&lt;br /&gt;
[[Analog Video Articles]] | [[Modeline Generators]] | [https://github.com/antonioginer/ATOM-15 ATOM-15: AMD/ATI Card 15khz bios]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Digital Archives: |&lt;br /&gt;
[https://archive.org archive.org] | [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes kirb.feels archive] [https://libgen.is Library Genesis]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Work Resources: |&lt;br /&gt;
[[Violentmonkey Script Documentation for Whit]] | [https://mxtoolbox.com/EmailHeaders.aspx MxToolbox Email Header Analyzer] | [https://www.sonicwall.com/products/remote-access/vpn-clients/ SonicWall NetExtender Downloads] | [https://www.sonicwall.com/support/knowledge-base/how-can-i-setup-ssl-vpn/170505609285133/ SonicWall SSLVPN Setup KB] | [https://obsidian.md/canvas interesting mind map tool]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
[https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/YdGUYXws5mD2fxFKxg.webp ☕Happy Monday =D] [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/giphy.webp ☕Bom Dia =D] [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/tenor.gif ☕??????]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Analog_Video_Articles&amp;diff=615</id>
		<title>Analog Video Articles</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Analog_Video_Articles&amp;diff=615"/>
		<updated>2024-09-11T13:39:08Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;https://www.cocopedia.com/wiki/index.php/15kHz_SVGA_Monitors&lt;br /&gt;
&lt;br /&gt;
https://www.geocities.ws/podernixie/htpc/modes-en.html#especial&lt;br /&gt;
&lt;br /&gt;
https://nyanpasu64.gitlab.io/blog/crt-modeline-cvt-interlacing/&lt;br /&gt;
&lt;br /&gt;
https://www.mythtv.org/wiki/Modeline_Database&lt;br /&gt;
&lt;br /&gt;
https://wiki.batocera.org/batocera-and-crt&lt;br /&gt;
&lt;br /&gt;
https://antiqueradio.org/HomeTVTransmitter.htm&lt;br /&gt;
&lt;br /&gt;
[https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/batocera%2015khz%20output%20guide.pdf Batocera Linux 15khz output guide]&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Main_Page&amp;diff=614</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Main_Page&amp;diff=614"/>
		<updated>2024-09-11T13:39:00Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Welcome to Lucca&#039;s Knowledgebase&amp;lt;/strong&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Windows: |&lt;br /&gt;
[[Commands]] | [[Win+R Shortcuts]] | [[Windows Keyboard Shortcuts]] | [[Remote Desktop Setup]] | [[End of Life]] | [[Make CMD Open Faster on Windows 11]] | [[Hyper-V on Windows Home]] | [[Domain Setup from Scratch on Server Core]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linux: | [[Distro Download Links]] | [[Useful Commands]] | [https://arachnoid.com/SecureShell/index.html Arachnoid.com: How to use SSH] | [[Libvirt Setup]] | [[VFIO GPU Passthrough Setup]] | [[VFIO Anti-Cheat Bypass Tools]] | [[Xubuntu Mac Conversion Guide]] | [[Ungoogled Chromium Debian]] | [[Docker Installation on Debian]] | [[Infared Reciever w/ Alpine on the Bulldozer Datto]] | [[Numpad hotkeys on linux]] | [[Split a monitor in two]] | [[Make a udev rule]] | [[Type Unicode Characters]] | [[Screen Recording Options]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Retro Tech: |&lt;br /&gt;
[[Analog Video Articles]] | [[Modeline Generators]] | [https://github.com/antonioginer/ATOM-15 ATOM-15: AMD/ATI Card 15khz bios]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Digital Archives: |&lt;br /&gt;
[https://archive.org archive.org] | [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes kirb.feels archive] [https://libgen.is Library Genesis]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Work Resources: |&lt;br /&gt;
[[Violentmonkey Script Documentation for Whit]] | [https://mxtoolbox.com/EmailHeaders.aspx MxToolbox Email Header Analyzer] | [https://www.sonicwall.com/products/remote-access/vpn-clients/ SonicWall NetExtender Downloads] | [https://www.sonicwall.com/support/knowledge-base/how-can-i-setup-ssl-vpn/170505609285133/ SonicWall SSLVPN Setup KB]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
[https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/YdGUYXws5mD2fxFKxg.webp ☕Happy Monday =D] [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/giphy.webp ☕Bom Dia =D] [https://kirbfeels.gianluccapirovano.com/library/ArchivalPurposes/wiki-files/happy%20monday/tenor.gif ☕??????]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
	<entry>
		<id>https://wiki.luccapirovano.com/index.php?title=Numpad_hotkeys_on_linux&amp;diff=604</id>
		<title>Numpad hotkeys on linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.luccapirovano.com/index.php?title=Numpad_hotkeys_on_linux&amp;diff=604"/>
		<updated>2024-09-06T19:21:30Z</updated>

		<summary type="html">&lt;p&gt;45.27.172.161: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Making numpad hotkeys on linux is a bit more tricky than it is on windows due to the critical lack of autohotkey ;-;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You&#039;ll need xmodmap, you can use it like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;xmodmap -e &#039;keycode 90 = Hyper_R&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can use XCape to allow the modifier keys to send actions on their own.&lt;br /&gt;
 sudo apt install xcape&lt;br /&gt;
 xcape -e &#039;Hyper_R=0&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
Resources&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
https://wiki.archlinux.org/title/Xmodmap#Installation&lt;br /&gt;
https://github.com/alols/xcape&lt;/div&gt;</summary>
		<author><name>45.27.172.161</name></author>
	</entry>
</feed>