msconfig
.Restore your computer back.
msconfig
. Note: you can choose to do the following steps or just click “Normal Startup” on the General tab.C:\WINDOWS> runas /user:Machinename\Administrator "Control.exe"
regedit
.HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon \ SpecialAccounts \ UserList
Administrator
, with content 1
.Other tune-ups:
MSCONFIG
(Start > Run As > MSCONFIG > Startup).These are services that can safely be disabled so that Windows can run faster:
If you are using an NTFS file system, you can increase the performance of Enhanced Write Filter by disabling the last access date/time stamps. 1)
To disable Last Access timestamps
Create the following registry key on your run-time image:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
NtfsDisableLastAccessUpdate
REG_DWORD
1
Alternatively, use the fsutil
command to set it:
C:\> fsutil behavior set disablelastaccess 1
Use the following command to query it:
C:\> fsutil behavior query disablelastaccess
NOTE: “Using the disablelastaccess
parameter can affect programs such as backup and Remote Storage that rely on this feature.” 2)
Method 1
MSCONFIG
.Method 2
REGEDIT
, edit registry HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System
.EnableLUA
(DWORD) to 0
.Method 3
BCDEDIT
with these parameters: C:\> bcdedit /set increaseuserva 3072
C:\> bcdedit /deletevalue increaseuserva
C:\> bcdedit
To protect files from other users, encrypt files:
To safeguard from a hard disk crash, you must export the keys to be able to read those encrypted files if copied elsewhere. Exporting keys 4):
To run a command or program with Administrator privileges:
C:\> runas /?
RUNAS USAGE: RUNAS [ [/noprofile | /profile] [/env] [/savecred | /netonly] ] /user: program RUNAS [ [/noprofile | /profile] [/env] [/savecred] ] /smartcard [/user:] program /noprofile specifies that the user's profile should not be loaded. This causes the application to load more quickly, but can cause some applications to malfunction. /profile specifies that the user's profile should be loaded. This is the default. /env to use current environment instead of user's. /netonly use if the credentials specified are for remote access only. /savecred to use credentials previously saved by the user. This option is not available on Windows XP Home Edition and will be ignored. /smartcard use if the credentials are to be supplied from a smartcard. /user should be in form USER@DOMAIN or DOMAIN\USER program command line for EXE. See below for examples. Examples: > runas /noprofile /user:mymachine\administrator cmd > runas /profile /env /user:mydomain\admin "mmc %windir%\system32\dsa.msc" > runas /env /user:user@domain.microsoft.com "notepad \"my file.txt\"" NOTE: Enter user's password only when prompted. NOTE: USER@DOMAIN is not compatible with /netonly. NOTE: /profile is not compatible with /netonly. NOTE: /savecred is not compatible with /smartcard.
%windir%\explorer.exe /root,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
After changing environment variables, these changes do not take place immediately when using the command line. To have them take effect right away without rebooting, perform these steps:
C:\> runas /user:myusername@mydomain cmd
or
C:\> runas /user:mymachine/myusername cmd
C:\> taskkill /f /im explorer.exe
C:\> explorer.exe