Archive for the 'Windows Server' Category

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:
%SystemRoot%\system32\codeintegrity\Bootcat.cache

By the way Microsoft also offer a hotfix to this problem now:
http://support.microsoft.com/kb/981833

No Comments »

admin on November 19th 2010 in Windows, Windows Server

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

How to get the Windows 7 GPO settings on a Windows 2008 Server

It is actually very easy to get Windows 7 GPO Settings on a Windows 2008 Server. You just need to copy the %systemroot%\PolicyDefinitions from your Windows 7 machine into \\YOURSERVER\C$\Windows\SYSVOL\YOURDOMAIN\Policies\PolicyDefinitions on your server. After that you start your policy editor and you will find it under the section administrative templates.

No Comments »

admin on June 24th 2010 in Windows Server

Install all Windows Updates automatically

You know the problem after a fresh windows installation. First you need to do all the windows updates and this takes some time to do it manually. This is the reason why I developed this script. I actually developed it for a packet manager called enteo but it can also be used without it.

Just download it and read the readme file carefully.

It is written in vbscript and can be easily adjusted to your packet manager. Use of course at your own risk!

PSWUInstaller100 4kb

No Comments »

admin on May 21st 2010 in Windows, Windows Server

Default Domain Profile in Windows 7

1. Create a local user like Template
2. Login as this user and make all your adjustments
3. Best Restart your Computer
4. Login as Domain Administrator
5. Set your Explorer up so you can see all Hidden Files and Folder and System Files
6. Rename C:\Users\Default User in C:\Users\Default User Old
7. Rename your new Profile C:\Users\Template into C:\Users\Default User
8. Go to the Computer Settings [Windows Key+Break]
9. Go to the Users Profile and choose your Default User
10. Then click on Copy To and don’t forget to set the permissions to everybody 
11. IMPORTANT: Copy the file into %logonserver%\netlogon\Default User.v2 
      Don’t forget to put .v2 or you would just generate a profile for XP.

No Comments »

admin on May 20th 2010 in IT, Windows, Windows Server

Resize partition in VMWare Server

1. Delete all Snapshots or you can’t resize the disk
2. Shutdown Guest System
3. Go into Guest Properties and increase the disk size
4. Start Guest System
5. Create a Snapshot again

Windows Server Resize Partition
1. Download and install Diskpart from the Microsoft Webpage
2. Go into Command Console
3. Type: Diskpart
> LIST DISK
> SELECT DISK 0 [replace number with the disk you want to extend]
> LIST VOLUME
> SELECT VOLUME 1 [replace number with volume you want to extend]
> extend

Windows XP Resize Partition
Unfortunately Diskpart didn’t work for my Windows XP Version even it suppose to be supported. Anyway after try and error I found a good open source Partition Manager like Partition Magic.  It is called GParted and It is based on Linux and does a great job. You can get it here: http://gparted.sourceforge.net/

No Comments »

admin on May 11th 2010 in VMWare, Windows, Windows Server

See all Volume Shadow Copy Providers installed

Command Prompt Command:
> Vssadmin List Providers

In the registry you will find them here:
HK\LM\System\Currentcontrolset\services\VSS\Providers

I had some trouble with our Backup System today and noticed that that another VSS was installed. After removing the Acronis Registy entry it worked like a charm.

No Comments »

admin on February 24th 2010 in IT, Windows, Windows Server

How to query mx records in Windows

Open Command Console and type:
nslookup
set type=mx
google.com

nslookupgoogle

No Comments »

admin on December 3rd 2009 in Internet, Network, Windows, Windows Server

Force Windows to check for updates

wuauclt /detectnow

No Comments »

admin on November 9th 2009 in Windows, Windows Server




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