Getting to UEFI Settings on a Windows 8 machine

Many new PC’s don’t have the option to access the BIOS via the traditional F2/F10 key during boot. This is because they use a UEFI Firmware, the BIOS still exists but in a different form. To access these settings on a Windows 8 machine do the following:

1. Press win key + i
2. Open the power menu.
3. Hold shift and click restart.
4. Once the machine restarts you should see a blue screen with a number of options
5. Click troubleshoot
6. Click advanced
7. Click UEFI Firmware settings

That’s it, what you see from here is dependent on the manufacturer of your machine.

Windows 8 “Open command window here”

The Windows Command Prompt isn't used as much these days. However there are a number of system administrators and developers who still rely on that little black and white text window. If you use the command prompt regularly you already know its a real hassle to type in long path names when navigating your file system.

A simple solution is to use Explorer to navigate to the desired location, hold shift and right click the window background. You will see an "Open command window here" option. This will open a command prompt with the path set to the current location.

Windows 7 God Mode

The godmode will enable the “Monster control panel” that includes all functions and is quite large. See below for specific codes to create specific links.

1. Create a new folder (right-click and click on “New Folder”). Right-click on the folder and click on rename, copy and paste this:

GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}

2. This folder will now be a shortcut to the Windows 7 godmode.The godmode allows you to quickly access many Windows 7 functions via a GUI.

Windows 7 Missing Network Drives

Adding the following may prevent network drivaes from dissapearing in Windows Explorer.

HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Services ->LanmanServer ->Parameters

Create a DWORD entry SMB2. Value will default to 0 which is correct.

Rearm Windows 2008 Activation

Windows Server 2008 activation can be rearmed 3 times.

Click Start, and then click Command Prompt.
Type slmgr.vbs -dli, and then press ENTER to check the current status of your evaluation period.
To reset the evaluation period, type slmgr.vbs –rearm, and then press ENTER.
Restart the computer.

Accessing HKEY_CURRENT_USERS remotely

When connecting to a remote registry you only have HKEY_LOCAL_MACHINE and HKEY_USERS available.

The profile is stored in the HKEY_USERS. The HKEY_CURRENT_USER key maps to the current user’s branch in HKEY_USERS.

By looking at HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionProfileList you can identify the SID for each profile.

Each SID has a ProfileImagePath key which points to the users profile in the Documents and Settings folder. You can use this information to identify the SID for a particular user.

Once you have the SID HKEY_CURRENT_USER settings can be changed under the appropriate branch in HKEY_USERS.

Windows Environment Variables

%ALLUSERSPROFILE% – C:Documents and SettingsAll Users
%APPDATA% – C:Documents and Settings{username}Application Data
%COMPUTERNAME% – {computername}
%COMSPEC% – C:WindowsSystem32cmd.exe
%HOMEDRIVE% – C:
%HOMEPATH% – Documents and Settings{username}
%PATH% – C:WindowsSystem32;C:Windows;C:WindowsSystem32Wbem
%PATHEXT% – .COM; .EXE; .BAT; .CMD; .VBS; .VBE; .JS ; .WSF; .WSH
%PROGRAMFILES% – Directory containing program files, usually C:Program Files
%PROMPT% – Code for current command prompt format. Code is usually $P$G
%SYSTEMDRIVE% – The drive containing the Windows XP root directory, usually C:
%SYSTEMROOT% – The Windows XP root directory, usually C:Windows
%TEMP% and %TMP% – C:DOCUME~1{username}LOCALS~1Temp
%USERNAME% – {username}
%USERPROFILE% – C:Documents and Settings{username}
%WINDIR% – C:Windows

Dynamic Environment Variables

%DATE% – Current date in the format determined by the Date command
%TIME% – Current time in the format determined by the Time command
%CD% – Current directory with its full path
%ERRORLEVEL% – Number defining exit status of a previous command or program
%RANDOM% – Random number between 0 and 32767