Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

193 total results found

Windows 10 Hide Shutdown, Restart, Sleep links

Windows Command Line

Run from an Elevated Command Prompt Hide Shutdown Links REG ADD HKLM\SOFTWARE\Microsoft\PolicyManager\default\Start\HideShutDown /v value /t REG_DWORD /d 1 /f Hide Restart Links REG ADD HKLM\SOFTWARE\Microsoft\PolicyManager\default\Start\HideRestart /v val...

Windows Command Line

Map Network Drive - Command Line

Windows Command Line

Example of mapping a drive from the command line net use m: \\server01\share Example of mapping a drive from the command line that persists after logoff net use m: \\server01\share /persistent:Yes

Windows Command Line
Networking

Microsoft Word won't close (Windley Ely)

Windows Command Line

This is caused by residue from Wordox Remove the offensive file with the following del c:\USers\%username%\AppData\Roaming\Microsoft\Word\Startup\@[email protected] del c:\USers\%username%\AppData\Roaming\WORLDOX\*.* rm c:\USers\%username%\AppD...

Windows Command Line
Microsoft Office

Robocopy - Move files older than 60 days to archive folder

Windows Command Line

This line of code will move files from c:\temp to c:\temparchive that are older than 60 days. It makes a log file of what is moved in c:\temp\FileUnder60daysMoved.txt robocopy c:\temp c:\temparchive /mov /MINAGE:60 /copyall /s >c:\temp\FilesOver60daysMoved.tx...

Windows Command Line
Robocopy

Robocopy - Move only files under 60 days old

Windows Command Line

This line of code will move files from c:\temp to c:\temparchive that are less than 60 days old. It makes a log file of what is moved in c:\temp\FileUnder60daysMoved.txt robocopy c:\temp c:\temparchive /mov /MAXAGE:60 /copyall /s >c:\temp\FileUnder60daysMoved...

Windows Command Line
Robocopy

Inject Product Key to Server 2019 after install

Windows Command Line

To activate or inject a product key in Microsoft Windows Server 2019.Enter this code in an elevated command prompt . This will also work with Windows 10 and 11. c:\windows\system32\slmgr.vbs /ipk <productkey>

Windows Command Line
Licensing

Switch Windows Terminal Services to Install Mode

Windows Command Line

To Switch Terminal Services to Install Mode When you want to add or remove programs, or change settings for all users on the Terminal Services server in Install mode. To do this: Click Start, and then click Run.In the Open box, type cmd, and then click OK.At...

Windows Command Line
MSRDS

Enable Remote Desktop From Command line in Windows

Windows Command Line

This guide will teach you the steps to use Command Prompt to enable or disable Remote Desktop and open the required firewall ports for a successful connection on Windows 10. Enable Remote Desktop using Command Prompt To enable the remote desktop protocol wit...

Windows Command Line
MSRDS

How to Determine Which Version of Microsoft .NET Framework Installed

Windows Command Line

To check what version of .Net installed on the machine, follow steps below: From the Command Line of the machine in question, execute the following command. reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\full" /v version The res...

Windows Command Line

Change Windows Computer Name

Windows Command Line

Change Computer Name using PowerShell From an elevated PowerShell enter the following PowerShell’s command, substituting with your preferred name, and press the “Enter” to rename the computer: Rename-Computer -NewName "<NewHostname>" Change Computer Name us...

Windows Command Line
PowerShell

Local User Accounts

Windows Command Line

User Commands net user /add [*username] [password] net user /delete [username] {/domain} Note: Following the add command with a /Y will allow passwords longer than 14 characters without the additional qustion.   Group Commands net localgroup administrat...

Windows Command Line

Rerun fstab to remount volumes

Linux

Execute the below command to reload the mounts contained within etc/fstabMay need to sudo the command.   systemctl daemon-reload mount -a

Linux
Bash

Guacamole and SSH Ubuntu 22.04 connection

Linux

The following workaround to ssh into ubuntu 22.04 and above server with Guacamole comes from this pageSource Page When setting up Guacamole I had issues with connecting to the ubuntu machine via a ssh connection. The server simply said connection error. Kn...

Linux
SSH
Ubuntu

Useful VirtualBox Commands

VirtualBox

If you run VirtualBox, here are some useful commands to manage your VMs. Check state of VM VBoxManage showvminfo your-vm | grep State State should be running. If aborted, but stop and restart the VM (see below). Check NIC configuration of VM VBoxManage sh...

Linux
VirtualBox

Start VirtualBox VM in Headless Mode

VirtualBox

Note: The command VBoxManage is used to manage VirtualBox for the current user. Please ensure that you SU to the user where VirtualBox is configured. List virtual machines VBoxManage list vms # Output from above command "MyVM" {e4b0c92c-4301-4a7d-8af8-fe...

Linux
VirtualBox

Stop VirtualBox Service Linux

VirtualBox

Service must be stopped to apply Oracle Virtual Box Updates. systemctl stop vboxautostart-service.service systemctl stop vboxballoonctrl-service.service systemctl stop vboxdrv.service systemctl stop vboxweb-service.service Alternatively the service comman...

Linux
VirtualBox

Why use apt-get upgrade instead of apt-get dist-upgrade?

Linux Updates

If apt-get update && apt-get upgrade often get a message that one or more upgrades are held back. Then usually run dist-upgrade`` to run it through and it works fine. As far as I can tell ,dist-upgrade``` does all the same things and then some. So, my quest...

Linux
Bash

The following packages have been kept back: Why and how do I solve it?

Linux Updates

Why and how do I solve it? Example of what it might look like; apt-get update && apt-get upgrade ... The following packages have been kept back: gimp gimp-data libgegl-0.0-0 libgimp2.0 Why this is happening If the dependencies have changed on one of t...

Linux
Updates