Command
|
Command line
|
| Restart | Shutdown -r -f -t 00 |
| Shut Down | Shutdown -s -f -t 00 |
| Hybrid Shut Down | Shutdown -s -f -t 00 -hybrid |
| Sleep | Rundll32.exe powrprof.dll,SetSuspendState Sleep |
| Hibernate | Shutdown -h |
| Lock | Rundll32 User32.dll,LockWorkStation |
| Sign Off | Shutdown -l |
| Switch Users | Tsdiscon.exe |
Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts
Tuesday, June 11, 2013
Shut down Windows using cmd line
Labels:
Windows,
Windows Tips
Friday, May 17, 2013
Internal SATA drives are treated as removable drives - Solution
This is happening because Windows 7 added support for eSATA
functionality. Some hardware vendors have incorrectly configured all
SATA ports as eSATA ports. This causes all internal and external SATA
devices to be treated as removable. This issue can affect
hard disks, DVD drives, and other hardware attached to the internal
SATA ports of the system.
This issue can be ignored because it does not have an effect on your computer. To resolve this issue you should contact the computer manufacturer for a BIOS update or other type of resolution to correct the misconfiguration of the internal SATA ports.
To work around the issue, a registry key can be set to change the behavior of the SATA ports.
Adding the TreatAsInternalPort value and setting it to 1 will cause a SATA port to be treated as an internal port and attached devices will no longer be considered removable. This value can be applied to specific ports as needed. To do this, follow these steps:
1. Click Start
2. In the Search programs and files box, type command
3. In the Programs list, click Command Prompt and click Run as administrator
If you are prompted for an administrator password or confirmation, type the password or click Continue.
4. Copy and paste or type each of the commands into the command prompt and press Enter after each command
reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\msahci\Controller0\Channel0" /f /v TreatAsInternalPort /t REG_DWORD /d 0x00000001
reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\msahci\Controller0\Channel1" /f /v TreatAsInternalPort /t REG_DWORD /d 0x00000001
5. Restart your computer to enable the registry changes
Note: There may be some trial and error to determine the correct ports (also referred to as "channels").
The channel numbers shown in Device Manager may not match the channel number in the registry, so you may need to set the value and verify the desired effect.
This issue can be ignored because it does not have an effect on your computer. To resolve this issue you should contact the computer manufacturer for a BIOS update or other type of resolution to correct the misconfiguration of the internal SATA ports.
To work around the issue, a registry key can be set to change the behavior of the SATA ports.
Adding the TreatAsInternalPort value and setting it to 1 will cause a SATA port to be treated as an internal port and attached devices will no longer be considered removable. This value can be applied to specific ports as needed. To do this, follow these steps:
1. Click Start
2. In the Search programs and files box, type command
3. In the Programs list, click Command Prompt and click Run as administrator
If you are prompted for an administrator password or confirmation, type the password or click Continue.
4. Copy and paste or type each of the commands into the command prompt and press Enter after each command
reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\msahci\Controller0\Channel0" /f /v TreatAsInternalPort /t REG_DWORD /d 0x00000001
reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\msahci\Controller0\Channel1" /f /v TreatAsInternalPort /t REG_DWORD /d 0x00000001
5. Restart your computer to enable the registry changes
Note: There may be some trial and error to determine the correct ports (also referred to as "channels").
The channel numbers shown in Device Manager may not match the channel number in the registry, so you may need to set the value and verify the desired effect.
Labels:
Windows,
Windows Tips
Thursday, January 22, 2009
How to create Hidden Admin Account in XP
Since we are going to do all the Editing in Window Registry it is Recommended to Back Up the Registry before going Further.
After you have Backed up your registry follow the Steps to Create your Hidden Account:
- First Goto Start -> Run -> Type regedit -> Enter
- In the Left Menu goto,
HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon\SpecialAccounts\UserList
- In the Right pane, Right click -> New -> String Value
- Right click on the new String Value and click Rename
- Type the Name of the Account you want to hide.
- Hit Enter then Right click on the String Value again and Change value to 0 which hides it. If you want it to be Visible to all Enter the Value 1.
- Now Save and Exit the Registry and Logoff.
- Goto welcome screen and Hit ctrl+alt+del twice to bring up Logon prompt
- Type hidden Accounts name and password
- Enjoy!!!
Labels:
Windows
Subscribe to:
Posts (Atom)