One of the things I used to like about using Windows was if I needed to drop to command line, I could (from any given location), by simply right clicking (while pressing CTRL) and selecting ‘Open Command Window Here. On a MAC I have Terminal but thats not an option.
Solution
As with most things on the MAC it is there, you just need to enable it.
1. Apple Logo > System Preferences.
2. Keyboard.
3. Shortcuts > Services > New Terminal at Folder.
4. Now when you right click a folder (or command click), you have ‘New Terminal at Folder’.
5. Et Voila!.
Related Articles, References, Credits, or External Links
We had the ‘run as’ service way back in Windows 2000, so the concept of running a command window ‘as administrator’ should not be difficult to understand. But the amount of times I tell people ‘You need to run that as administrator’, and they reply ‘I AM an administrator’ is far too high. With PowerShell theres no way of knowing, and with command prompt the differences are subtle.
Solution
There’s a myriad of different ways to launch an administrator command window, here are a few, If I’ve missed any let me know.
Launch Powershell in Administrative Mode
Powershell administrative mode (from Within Powershell)
If you’re already in Powershell you can open an administrative Powershell window, with the following command;
[box]
Start-Process PowerShell -Verb RunAs
[/box]
Powershell Administrative Mode (from Start Menu)
Option 1: From Start/Search > Powershell > Right Click Windows PowerShell > Run as administrator.
Option 2: Start > Right Click Windows PowerShell > Run as administrator.
Option 3: Start > Windows PowerShell > Windows Powershell > Run as Administrator.
Option 4: Right Click Start Menu (or Press Windows+X) > Window Powershell (Admin).
Launch Task Manger > File > Run new task > Powershell > Tick ‘Create this task with administrative privileges’.
Powershell Administrative Mode (from Windows Explorer)
From Windows Explorer > File > Open Windows PowerShell as administrator.
Launch Command Prompt in Administrative Mode
Administrator Command Prompt From Start Menu. (Windows 10 and Server 2016/2019)
From the Start/Search option > Type cmd > Then right click Command Prompt and select ‘Run as administrator’.
Command Prompt (Admin) – Windows 10 (& Server 2016/2019)
Right click the Start Button > Command Prompt (Admin)
Command Prompt (Admin) – Windows 8 (& Server 2012) Quick Links Menu
Press Windows Key+X > Select Command Prompt (Admin)
Administrator Command Prompt From Start Menu. (Windows 8 and Server 2012)
If you have the new Windows 8/2012 Start Menu (that we can’t call Metro any more) then type ‘command’ in the search window, then either right click and select ‘Run as administrator’, or press Ctrl+Shift+Enter to launch.
If you have the traditional start menu enabled or are running Windows 7/Vista, you can type command in the search/run box, then
Create An Always Run As Administrator Command Prompt Shortcut
1. Right click and empty area of your desktop > New > Shortcut.
2. Set the location to ‘cmd’ > Next > Call it Admin Command > Finish.
3. Right click your new shortcut > Properties.
4. Shortcut > Advanced > Run as administrator > Apply > OK.
Launch Admin Command Prompt from Task Manager.
Launch Task Manager (Ctrl+Shift+Esc) > File > Run new task > cmd > Tick ‘Create this task with administrative privileges’.
Launch Command Prompt ‘As Administrator’ From Command/Run.
I’m not a fan of this, in fact I only include it here for completeness, you can call a command windows and run it as administrator from command (or the run box (Windows Key+R). The reason I don’t like this is, you need to enter the machines local administrators password for it to work.
[box]
runas /user:%computername%administrator cmd
[/box]
If theres any I’ve missed feel free to drop me an email, and I will update the article.
Related Articles, References, Credits, or External Links
But if you attempt to run ‘dcpromo’ from command line, you will see this error, and a link to a Technet article. (Perhaps a clickable link to a picture showing where dcpromo now lives would be better!)
Solution
Note: I’m assuming you have already added the Active Directory Domain Services Role? If not do that first.
1. From Server Manager (ServerManager.exe) > ADDS > There should be a warning triangle at the top of the window > Select it > ‘Promote this server to a domain controller’
Related Articles, References, Credits, or External Links
When you RDP to a server running Windows Server 2012, in Remote Desktop Services (Terminal Server) mode. How do you get the start menu up? If you press the Windows Key or Ctrl+Esc, you get the menu on YOUR Machine?
Solution
Firstly, I know it’s not called the ‘Metro Interface’ any more, but that’s what everyone calls it!
1. Drag your mouse pointer off the bottom left hand side of the screen (1) and a thumbnail of the start menu will appear (2).
2. Move the mouse pointer back to the thumbnail (3) this takes a little practice, then click the start menu thumbnail (4).
To shutdown or log off (disconnect) use the same method as you would for Windows 8 (using the charms bar).
UPDATE 04/11/13 (Credit to Thomas Dread)
1. Windows Key +R > mstsc {Enter}.
2. Show Options.
3. Local Resources TAB.
4. Keyboard > Apply Windows Key combinations “On the Remote Computer” drop down menu.
Windows Server 2008 R2 and 2012 are a lot better with printing support over remote desktop, that their predecessors were. But to be able to print to your remote users ‘local’ machines. The TS/RDP server still likes to have the correct drivers installed.
What about Easy Print?
Easy Print (Introduced with Server 2008 R2) is a ‘proxy’ service that simply sends all print processes to the remote machine rather than the server itself, thus negating the need for a driver. That’s great! Unless your remote home users still have Windows XP or Vista (Pre SP1).
Solution
1. Before troubleshooting, make sure the printer actually works on the client machine, you don’t want to spend an hour trying to get it working when it’s actually out of paper or not turned on, (sorry but users are ‘challenging’).
2. Download the Drivers to the Remote Desktop Server. MAKE SURE if your clients are a mix of x86 and x64 bit versions of Windows you need to download BOTH versions of the driver.
Note: Download x86 and x64 bit versions of the SAME driver, i.e. Try and install an x86 PCL6 driver and an x64 bit PCL5 Driver and you may get an error.
Note 2: With some older printers, you can save a lot of time by simply plugging them into the server and letting Windows Update do the hard work for you. You might think that this is ‘time/cost prohibitive’. But I once spent an afternoon trying to get an HP multifunction printer to work that was worth about £60. The remote client was 45 minutes away, by the time I was finished the cost was greater than replacing this printer with 6 or 7 new ones that would have worked out of the box!
3. You can simply install the printer on the Server if you wish, then delete the printer and the drivers will remain, though the correct way is to add the drivers via the servers ‘Print Server Properties’.
Server 2000 / 2003
Start > Run > control printers {Enter}.
Server 2012/2008 R2
Windows Key+R > control printers {Enter}.
Note: Print server properties is not visible until you select a printer.
4. Repeat the process to add additional driers for the CPU architecture of your remote clients (x86, x64, etc).
Related Articles, References, Credits, or External Links
A few weeks back I wrote about a client who was having problems with kids at his school launching the ease of access button from the login screen. And how I disabled the ease of access button.
High Contrast
After a site visit it seems that the “little darlings” had now worked out that by pressing “Alt+Shift+Print Screen” they could turn on high contrast. And this, which is obviously hilarious (once again), and annoying for their teachers, needs disabling.
As with the ease of access button, these options are designed for the disabled. So there is no mechanism for doing this. I had great fun working out how to do this via group policy.
2. This assumes your clients are Windows 7 if your client OS’s are earlier, you need to install the Client Side Extensions.
If you don’t have a 2008 domain, you can still disable these options via the registry, click here
If you want to import a Group Policy Object to do this, click here.
Solution
Disable Accessibility via Group Policy
Note: creating the policy is VERY time consuming and soul destroyingly boring! I’ve pre-written it for you download this file.
1. Once you have downloaded the file above, extract it to the desktop of your domain controller.
2. Launch the “Group Policy Management Console”.
3. Create a policy, and either link it to the domain or the OU that contains the users you want to enforce the policy on, (Or edit an existing policy).
4. Right click the policy you are working with, and select edit.
5. Right click the policy > Properties > Take note of the policy’s “Unique name”.
6. Now you need to locate the policy itself, click Start > in the search run box type:
[box]{your domain name}sysvol{your domain and extension}policies[/box]
e.g. My test domain ins domaina.com so the command I would use is domainasysvoldomaina.compolicies
7. Once there locate and open the folder that has the same unique name as the policy you noted down in step 5. Within that folder open the “User Folder. Then from the file you extracted above copy the “Preferences” Folder into the “User” Folder.
So now your policy will look like:
{CFE1314E-A13B-4E31-9EC5-FD9028D21945} Yours will have a different name! — Machine — User —- Preferences —— Registry ——– Registry.xml
8. That’s you finished. if you want to see what the policy is doing, go back the the Group Policy Management Console > Edit the policy and navigate to:
[box]User Configuration > Preferences > Windows Settings > Registry[/box]
There you will see all the registry keys that this policy resets (and I had to configure, one by one!).
Disable Accessibility via the Registry
1. Download this file containing the registry files, and extract it onto your target machine.
2. Within the extracted files you will find a folder called “Registry Keys”. There are two called AccessibilityOFF and AccessibilityON (As the name suggests, the fist disables the settings, and the second reinstates them). Simply double click them to merge them into the registry.
Disable Accessibility via Group Policy
Import the following file and save it with a .adm extension.
[box]
CLASS MACHINE
CLASS USER
CATEGORY "Control Panel"
CATEGORY "Accessibility Lockdown"
KEYNAME "SoftwarePoliciesAccessibility"
POLICY "Automatic Reset"
KEYNAME "SoftwarePoliciesAccessibility"
VALUENAME "TimeoutConfig"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
ACTIONLISTON
KEYNAME "Control PanelAccessibilityTimeout"
VALUENAME "Flags"
VALUE "3"
END ACTIONLISTON
ACTIONLISTOFF
KEYNAME "Control PanelAccessibilityTimeout"
VALUENAME "Flags"
VALUE "2"
END ACTIONLISTOFF
PART "Timeout after idle for" DROPDOWNLIST
REQUIRED
KEYNAME "Control PanelAccessibilityTimeout"
VALUENAME "TimeToWait"
ITEMLIST
NAME "5 minutes"
VALUE "300000"
NAME "10 minutes"
VALUE "600000"
NAME "15 minutes"
VALUE "900000"
NAME "20 minutes"
VALUE "1200000"
NAME "25 minutes"
VALUE "1500000"
NAME "30 minutes"
VALUE "1800000"
END ITEMLIST
END PART
END POLICY
POLICY "Disable StickyKeys (including shortcut)"
KEYNAME "SoftwarePoliciesAccessibility"
VALUENAME "StickyKeysLockdown"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
ACTIONLISTON
KEYNAME "Control PanelAccessibilityStickyKeys"
VALUENAME "Flags"
VALUE "506"
END ACTIONLISTON
ACTIONLISTOFF
KEYNAME "Control PanelAccessibilityStickyKeys"
VALUENAME "Flags"
VALUE "510"
END ACTIONLISTOFF
END POLICY
POLICY "Disable FilterKeys (including shortcut)"
KEYNAME "SoftwarePoliciesAccessibility"
VALUENAME "FilterKeysLockdown"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
ACTIONLISTON
KEYNAME "Control PanelAccessibilityKeyboard Response"
VALUENAME "Flags"
VALUE "122"
END ACTIONLISTON
ACTIONLISTOFF
KEYNAME "Control PanelAccessibilityKeyboard Response"
VALUENAME "Flags"
VALUE "126"
END ACTIONLISTOFF
END POLICY
POLICY "Disable ToggleKeys (including shortcut)"
KEYNAME "SoftwarePoliciesAccessibility"
VALUENAME "ToggleKeysLockdown"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
ACTIONLISTON
KEYNAME "Control PanelAccessibilityToggleKeys"
VALUENAME "Flags"
VALUE "58"
END ACTIONLISTON
ACTIONLISTOFF
KEYNAME "Control PanelAccessibilityToggleKeys"
VALUENAME "Flags"
VALUE "62"
END ACTIONLISTOFF
END POLICY
POLICY "Disable High Contrast (including shortcut)"
KEYNAME "SoftwarePoliciesAccessibility"
VALUENAME "HighContrastLockdown"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
ACTIONLISTON
KEYNAME "Control PanelAccessibilityHighContrast"
VALUENAME "Flags"
VALUE "122"
VALUENAME "Pre-High Contrast Scheme"
VALUE ""
END ACTIONLISTON
ACTIONLISTOFF
KEYNAME "Control PanelAccessibilityHighContrast"
VALUENAME "Flags"
VALUE "126"
END ACTIONLISTOFF
END POLICY
POLICY "Disable MouseKeys (including shortcut)"
KEYNAME "SoftwarePoliciesAccessibility"
VALUENAME "MouseKeysLockdown"
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
ACTIONLISTON
KEYNAME "Control PanelAccessibilityMouseKeys"
VALUENAME "Flags"
VALUE "58"
END ACTIONLISTON
ACTIONLISTOFF
KEYNAME "Control PanelAccessibilityMouseKeys"
VALUENAME "Flags"
VALUE "62"
END ACTIONLISTOFF
END POLICY
END CATEGORY
END CATEGORY
[/box]
Related Articles, References, Credits, or External Links
Like Windows 7, Windows 8 is more than happy to gracefully shutdown if you press the power button on your PC/Laptop/Tablet. But now you don’t have a “Start Button” where’s the option to turn it off?
How to Shut Down Windows 8 (By Launching charms Bar)
1. To launch the “Metro Start Screen” you need to press the Windows key (or press CTRL+Esc), then locate the “Charms Bar” Button and hover over it. (Or Press Windows Key+C).
2. Select Settings.
3. Select Power > Shut down.
How to Shut Down Server 2012
1. Press Windows Key+I > Power > Shut down.
How to Shut Down Server 2012 (via the Charms Bar)
1. To launch the “Metro Start Screen” you need to press the Windows key (or press CTRL+Esc), then locate the “Charms Bar” Button and hover over it. (Or Press Windows Key+C).
2. Select Settings.
3. Select Power > Shut down.
4. Like its predecessor (Server 2008 R2) Windows Server 2012 wants to log a reason why it’s being shut down, enter the reason and select continue.
Related Articles, References, Credits, or External Links
I wrote an article ages ago about ‘How to shut down Windows 8‘ but what if you simply want a shortcut to save you the hassle, and have that on your start menu?
Solution
1. Press Windows Key+R > In the run box type the following;
I jumped on my main PC at home to do something the other day, being Windows 8 I tend to use the Windows key a LOT (Windows Key+R and +E, and +X for example).
But the windows key did nothing? I tried CTRL+Esc, and that worked? I was starting to think that I had a faulty keyboard.
Solution
Turns out there’s nothing wrong with my keyboard at all, as its primarily designed for the gaming market, there’s the option to disable the Windows key. After all you wouldn’t want to be at a crucial point in your game and accidentally hit the Windows key would you?
Either me or one of my kids had turned this feature on mistakenly.
Simply move the selector switch indicated (Next to the MR Key) and the Windows key will start working again.
Related Articles, References, Credits, or External Links