By default, it is not possible to specify passwords (the SecureString type) directly as a plain-text cmdlet parameter because it is unsecure to do so (and they are right). But sometimes, there's no other way to run a cmdlet without specifying the password as plain text as a cmdlet parameter. Luckily, there's an easy workaround by performing a conversion from plain text and store the password in a SecureString object.
$pw = ConvertTo-SecureString -String "your-pw" -AsPlainText -Force
You can then use the $pw object to specify the password in a cmdlet.
For example: resetting the password of an AD account:
Set-ADAccountPassword -Identity my-account -NewPassword $pw
You can hide user accounts from the Windows Welcome (log on) screen through the registry. This works with Vista and all later versions.
If you accidentally have misplaced or forgotten your Bitlocker Recovery key, but still have access to the system (with an elevated account), you can retrieve the recovery key quite easily through the command line:
Open an elevated command prompt and type:
manage-bde -protectors -get C:
Replace C: with any drive that has Bitlocker enabled. Note that if it's not the system volume but some other drive that's encrypted, you need to unlock it first before you can retrieve the recovery key.
You may have noticed that running the VMWare vSphere client on a display with higher DPI settings causes problems with the mouse cursor alignment when working inside a VM. This is because of a mismatch between the DPI settings of the VM and the DPI settings of your computer.
To resolve, right-click the shortcut to the client, go to the Compatibility tab, and enable Disable display scaling on high DPI settings.
The downside of this method is that there will be misalignment of some parts in the client, but it is still workable and moreover, it solves the mouse issue in a VM.
If Windows Update (or Microsoft Update) produces error code 0x80072EFD, you are most likely blocked by a firewall or a proxy.
From KB 2682333:
When attempting to install VMWare Tools on a Windows 2000 VM, you may get the following error:
To resolve, you need to install Security Update for Windows 2000 (KB835732) (requires SP4 as well).
Microsoft has officially released (some time ago) a tool to download and create your own Windows 8.1 installation media. The tool will request your language, architecture and edition, and how you want to create the media (as an USB stick, or as an ISO file for burning to a DVD). It will then download the necessary files and create your installation media.
The created media will accept all Windows 8.1 OEM, Retail Full, and Retail Upgrade keys. (For Windows 8, see here.)
You can download the tool here: http://windows.microsoft.com/en-us/windows-8/create-reset-refresh-media.
« ‹ | November 2024 | › » | ||||
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |