April 2, 2009

Windows tips and tricks

How to turn off Xbox DVR through the Registry Editor

In case you are experience issues with FPS drops whily playing games after upgrading to Windows 10

If you do not have an Xbox account and are not signed into the Xbox App you can disable Xbox DVR by using the Registry Editor.
Note: This process is more advanced and is not recommended for novice users.
  1. Open Registry Editor (Run > regedit)
  2. Navigate to HKEY_CURRENT_USER\System\GameConfigStore
  3. Set the value of DWORD "GameDVR_Enabled" to 0
  4. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\
  5. Create key "GameDVR".
  6. Create DWORD 32bit called "AllowGameDVR" and set to 0
  7. Restart your computer.

1. Windows 7 wallpaper effect
Let say that you have set list of defaults Windows 7 wallpapers. And they are rotated in cycle of time.
And you wish to add some more wallpapers to this list.
So here is what you can do:

1. Choose pictures that you want to add this list
2. Go to C:\Windows\Web\Wallpapers (default directory)
3. Make new folder in that location
4. Copy your pictures in this location
5. Open the Personalization settings. You can do this by right mouse click on your Desktop and from the menu choose Personalize
6. Go to Desktop Backgrounds
7. Change category from Picture Location drop down menu
8. Choose Windows Desktop Backgrounds
9. Scroll down until you find your pictures. Select them to be included in the list.
10. Click on Save Changes
So your picture will be included in Windows 7 default list and will be appear and cycled in the set time.
Also here is video clip of all step you need to do.

2. Enable Windows Firewall on Windows XP SP2
If you experience a issue start Windows firewall by regular way. You can then allow it by add some key in Windows Registry.
So open Windows Registry by go to Start button than choose RUN. In this small command line type "regedit".
This command will execute Windows Registry Editor. Be careful this registry editor is very powerful and if you do some wrong step, your Windows will be unstable or even can crash. And then you will need to install a fresh copy of Windows
In Registry editor from Edit menu choose Find. In "Find what" field type the below registry keys. Or you can just go to it by navigation pane on the left side
Delete these registry keys below if they exist:

HKEY_LOCAL_MACHINE\SOFTWARE\Polici­ ­ es\Microsoft\WindowsFirewall
\DomainProfile \EnableFirewall=0 (DWORD data type)

HKEY_LOCAL_MACHINE\SOFTWARE\Polici­ ­ es\Microsoft\WindowsFirewall
\StandardProfile \EnableFirewall=0 (DWORD data type)

Also check you Group Policy.
Check your GP's here:




3. Found process name in started as SVCHOST process in Windows XP
If you are meet issue with like me to fond process with much CPU or Memory usage. But when you try to determine the process name it appears like "svcshost". And also in tasklist you found more than one with that name. But only one with that name using much resources. There is some processes are running under same name "svchost". It is like a container for group of process. Even more they could be a different executing files.
So how to determine the name of service in "svchost" container, using much CPU or Memory?
In microsoft.com you search for "how to find process name by pid" and you will found this KB314056
In knowladge is information about command in CMD. This commant show list of process and their PID and their file or program name. So here is the example of what program will show.
As you can see there is  many process under "svchost" name. So this could help you to determine the process wich CPU or memory usage is much.

C:\Documents and Settings\Sasho>TASKLIST /SVC

Image Name                   PID Services

svchost.exe                 1460 RpcSs
svchost.exe                 1668 AudioSrv, Browser, CryptSvc, Dhcp, dmserver,
                                 ERSvc, EventSystem,
                                 FastUserSwitchingCompatibility, helpsvc,
                                 LanmanServer, lanmanworkstation, Netman,
                                 Nla, RasMan, Schedule, seclogon, SENS,
                                 SharedAccess, ShellHWDetection, srservice,
                                 TapiSrv, Themes, TrkWks, W32Time, winmgmt,
                                 wscsvc, wuauserv
ati2evxx.exe                1756 N/A
svchost.exe                  196 Dnscache

4. How to change user password in Command Prompt (cmd)
This could help you to change even Administror's password of computer. But your user is restricted to do this you will not be able to use it.

To change a user's password at the command prompt, log on as an administrator and type:
net user user_name * /domain
When you are prompted to type a password for the user, type the new password, not the existing password. After you type the new password, the system prompts you to retype the password to confirm. The password is now changed.

Alternatively, you can type the following command:
net user user_name  new_password
When you do so, the password changes without prompting you again. This command also enables you to change passwords in a batch file.

Non-administrators receive a "System error 5 has occurred. Access is denied" error message when they attempt to change the password.

Here is more net user commands

5. How change file and folder permissions and atributes
You can read first my article  How to make private folder 

Here is a links to Microsoft web site for more Command Prompt commands to change folder permissions and files atributes:
  • Command prompt files and folder permission commands
Start from Windows Vista/7 DVD to launch a command prompt, then change the security settings for C. Microsoft provides this command prompt command to give everyone access:

cacls c:\ /g everyone:F /c /t

3. Reset the default security settings to default:

secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose

Restart the computer and log on Windows Vista to see if it works.

6. How to enable RDP by windows command prompt
Create the following bat file:

echo Windows Registry Editor Version 5.00> c:\TS.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService]>> c:\TS.reg
echo "Start"=dword:00000002>> c:\TS.reg



echo [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]>>C:\TS.REG
echo "EnableAdminTSRemote"=dword:00000001>>C:\TS.REG
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]>>C:\TS.REG
echo "TSEnabled"=dword:00000001>>C:\TS.REG
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermDD]>>C:\TS.REG
echo "Start"=dword:00000002>>C:\TS.REG
echo [Components] > c:\bootlog~.txt
echo TSEnabled = on >> c:\bootlog~.txt
sysocmgr /i:%windir%\inf\sysoc.inf /u:c:\bootlog~.txt /q

# [3] - " DEL TMP FILES "

DEL /Q c:\bootlog~.txt

# Ps: Add " /r " at the end of line if you to disable reboot ( work fine only after reboot )


<------------------------------------- START ----------------------------------->

echo Windows Registry Editor Version 5.00> c:\TS.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService]>> c:\TS.reg
echo "Start"=dword:00000002>> c:\TS.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]>>C:\TS.REG
echo "EnableAdminTSRemote"=dword:00000001>>C:\TS.REG
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]>>C:\TS.REG
echo "TSEnabled"=dword:00000001>>C:\TS.REG
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermDD]>>C:\TS.REG
echo "Start"=dword:00000002>>C:\TS.REG
echo [Components] > c:\bootlog~.txt
echo TSEnabled = on >> c:\bootlog~.txt
sysocmgr /i:%windir%\inf\sysoc.inf /u:c:\bootlog~.txt /q
DEL /Q c:\bootlog~.txt

<------------------------------------- END ----------------------------------->

7. Windows prefetch cache

8. How to make archive folder without any program in Windows
Do you ever wonder how to compress (zip/rar) your Windows files and folder without WinZip or WinRar. This could be done since Windows XP (probable even since Windows 2000). So what I am talking abaout.
I am prety sure that everyone who use Windows as operation system, have ever uncompress some archive files, which was compressed. And as you remember it appears a menu in left panel in Windows Explorer extract options.
In Windows since XP version has integrated compression option for files and folders. But does it can be used in reverse way? It can be used in reverse, but where is the options?
By opening the content menu by right click, in options you find the sub-menu "Sent to". This menu will give you some options "Compressed (zipped) folder", "Desktop (create shortcut)", "Documents", "Fax recipient", "Mail recipient", "Skype". Any of these option give you options of listed features to send data to it.
I have noticed one very peculiar issue - my Desktop Windows Manager(aka Windows Aero) suddenly terminated by itself a while ago, and my theme became Windows 7 Basic's. It was very sudden and without warning. I've check the Event log and I found this 2 entry
Entry 1:
"A request to disable the Desktop Window Manager was made by process (Windows System Assessment Tool)"
Source: Desktop Window Manager
Event ID: 9010

Entry 2:
"The Desktop Window Manager was unable to start because composition was disabled by a running application"
Souce: Desktop Window Manager
Event ID: 9013

Found a solution.  
In the start bar search type "Task Scheduler" 
This will bring up the Task Scheduler App.
On the left click the Task Scheduler library
next click microsoft
-----> Maintenance
--------------------------> WinSAT
Right click on winSAT and go into properties and delete the trigger.
now it wont trigger the Performance test..

How to delete pagfile.sys on SSD

If you really want to delete it, first disable it. You can do this from advanced performance options in System Properties.
You can get there by running sysdm.cpl, clicking the Adanced tab and clicking the Settings... button for Performance. Then clicking the Advanced tab in the new Performance Options window and clicking theChange... button.
  • Uncheck Automatically manage paging file size for all drives
  • Set all drives to No paging file
  • Click OK until Windows suggests restarting
After restarting you can safely delete pagefile.sys.
However, I don't think you should ever disable the pagefile, especially if you have an SSD; as an SSD will only speed it up.
Windows always uses virtual memory, and although RAM pools are large enough these days for most people to avoid problems, there's no real benefit in making Windows unstable by limiting that space to the size of your RAM rather than the size of what Windows may need.

Change Windows (7) loggin screen.

Make your new loggin screen wallpaper and go to C:\Windows\System32\oobe\info. Then replace the existing one.

How to stop Scan Disk (check disk) at startup Windows 7/8/10

Open Registry editor, by pressing your Windows button on your keyboard. Then search (W10) or open run. And type regedit.

In the Registry editor navigate to 
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
And open BootExecute by right mouse button and select Modify. In the new window if a following line is available
autocheck autochk /m /P \Device\HarddiskVolume3
 Simply delete the line.

No comments:

Post a Comment