Archive for the 'Windows' Category

Dos Batch – Extract Time for Logging

Easy way to extract the date and time for logging.

No Comments »

admin on August 19th 2011 in IT, Windows

Convenient List of many Windows 7 Settings

To adjust lots of settings in Windows 7 there is a special mode. Create a new folder on your desktop with following string:
Control Panel Setting List.{ED7BA470-8E54-465E-825C-99712043E01C}

After that you’re going to get a nice ordered list of lots of settings.

No Comments »

admin on July 18th 2011 in IT, Windows

Uninstall True Image Agent or CDP Backup Agent on Windows 2008 Server (BlueScreen 0x0000007B in crcdisk.sys)

Today I uninstalled True Image Agent on a Windows 2008 Server and I ended up with a BlueScreen. You can actually boot up with a windows CD and edit the registry or even better you remove this entries in advance.

In the UpperFilters key remove the text:
snapman for TrueImage
r1fltr for r1soft CDP Backup

I could imagene that this causes also trouble with other systems. So the same solution should work for this as well.

No Comments »

admin on May 25th 2011 in IT, Windows, Windows Server


If you need to copy files with advanced settings try the free tool from microsoft. It is part of the Windows 2003 Server Resource Kit Tools. Robocopy is really doing a great job and offers much more control than xcopy. Another good alternative would be xxcopy.

Here a syntax which I use a lot:
robocopy Source$ Target$ /s /R:1 /W:1 /LOG+:Target$ /TEE

Here the syntax with permissions/attributes and empty folders and deletes files in target if the are not in source anymore:
robocopy Source$ Target$ /MIR /COPYALL /SEC /TEE /W:1 /R:1 /NS /NDL /NP /Log+:Target$

This copies files with subdirectories to another location. The /R stands for how many times it should try and the /W for how many seconds it should wait until it should try again. /LOG stands for logging and the + in front means that it should append it to the logfile. /Tee makes it possibe show what it is doing on the screen.
If you set /NS /NDL /NP the FileSize, Direcory Listing and the Progress is not appearing on the screen and log file. It makes it easier to read trough the logfile afterwards.

Other Useful Commands:
It would just list what it would do if you run the command

It would just copy the files which have been older than 1 day.

No Comments »

admin on December 22nd 2010 in IT, Windows

Log Off a REmote Desktop Session without locking the screen

To be able to log off a Remote Destkop Session and not to lock the screen you need to create a bat file on your desktop with following content:
@%windir%\System32\tscon.exe 0 /dest:console
@%windir%\System32\tscon.exe 1 /dest:console
@%windir%\System32\tscon.exe 2 /dest:console
@%windir%\System32\tscon.exe 2 /dest:console
@%windir%\System32\tscon.exe 3 /dest:console
@%windir%\System32\tscon.exe 4 /dest:console
@%windir%\System32\tscon.exe 5 /dest:console

Then you need to run it with Admin Rights.

No Comments »

admin on December 3rd 2010 in Windows, Windows Server

STOP: 0x0000006b Error Message

Today I went to work and we had 5 computers starting Windows 7 in repair mode. If you started Windows normally you got following blue screen error message: “STOP: 0x0000006B”.
After doing some research on the net I found out that this happens because the bootcache.cache is either damaged or doesn’t have the same size as the last successful start anymore. To solve this problem you just need to delete the file and restart the computer:

By the way Microsoft also offer a hotfix to this problem now:

No Comments »

admin on November 19th 2010 in Windows, Windows Server

Find out which user is in HKEY_USERS

Sometimes you need to edit the registry for a certain user and you can’t locate it in HKEY_USERS because you don’t know the SID for the user.

I found this useful script which creates you a list of all users in the domain with their SID:

Credits to the author Ramesh Srinivasan of this useful script.

No Comments »

admin on September 30th 2010 in IT, Windows

Edit the registry of a remote computer on a domain

I don’t know if it is a default setting of windows 7 but on our domain you can’t access all computers registry because a service is set to manual and not started. Of course you need to be Domain Admin to be able to run this steps.

First of all you need to start the RemoteRegistry service on the computer:
sc \\COMPUTERNAME start RemoteRegistry

After that you can access it like usually in regedit:
File->Connect to Network etc.

To be on the save side you can disable it again:
sc \\COMPUTERNAME stop RemoteRegistry

No Comments »

admin on September 30th 2010 in IT, Windows

Recreating Domain Profile in Windows 7

In Windows XP you could simply login as administrator and rename the profile folder. As soon as logged back in as this user everything was recreated. In Windows 7 and Vista it doesn’t work like this anymore. If you just delete or rename the profile folder and you try to log back in it is going to create you a temporary profile. To avoid that you need to open the registry.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

Search there for the profile you renamed or deleted and delete the folder. Reboot the computer and it should work again.

No Comments »

admin on July 6th 2010 in IT, Windows, Windows Server

Show really all Files in Windows 7

You need to set a registry key to really see all files.


Set following DWord:
ShowSuperHidden (1)

No Comments »

admin on May 22nd 2010 in Windows

Check out new movies online website. Download and buy movies now.