Archive for the 'Windows' Category

How to repair the Boot Manager

Rewrite Masterbootrecord:
bootrec /fixmbr

Scan for all OS:
bootrec /scanos

Adds found OS into Boot Manager:
bootrec /rebuildbcd

Recreate Boot Manager:
bootrec /fixboot

Important: The partition with the boot manager needs to be active to be able to boot Windows 2008 R2 or Windows 2012. If it is not active you can make it active with diskpart:
1. Run DVD Repair Mode
2. diskpart
3. select disk 0 (For the first disk)
4. select partition 1
5. active
6. exit
7. Restart Computer

No Comments »

admin on January 18th 2013 in IT, Windows, Windows Server

Get Windows System Information

Run following command:
msinfo32 (GUI)
systeminfo (Shell)

To save the information into a file formatted:
systeminfo /FO list > C:\sysinfo.txt

No Comments »

admin on January 18th 2013 in Windows

Computer doesn’t find updates on WSUS or can’t install them

Command to search for updates:
wuauclt.exe /detectnow

Following steps solve most of the problems:
1. net stop wuauserv
2. delete everything in: 
3. delete logfile:
4. net start wuauserv
5. wuauclt.exe /detectnow /resetauthorization
6. Check %windir%\WindowsUpdate.log for errors

No Comments »

admin on November 29th 2012 in IT, Windows

Extend Volumes on the fly without Downtime

Since Windows 2008 you don’t need special tools anymore because the operatins system has already everything on-board. But what if you need to resize the hard drive on an older server?

Dell has a free solution for this:

Don’t forget to make a backup first.

No Comments »

admin on July 5th 2012 in IT, Windows, Windows Server

How to format your Hard Drive and overwrite it with Zeros?

What I also didn’t know so far is that you don’t need any special tools anymore to overwrite the hard disc with zeros. Since Windows Vista it is already built in. You just need to do a full format instead of a quick format.
One pass should actually be enough. I did once a test and called up 5 companies who are specialist in recovering of data and I told them that I did by accident overwrite the HD with one pass. None of them told me it is possible to recovery it. But if you are paranoid you can also do it  with multiple passes:

Run from the cmd prompt:
#format z: /fs:NTFS /p:2

Z: is the drive you want to format
fs/NTFS is the file system you want to format
/p how many passes you want to do

No Comments »

admin on July 3rd 2012 in IT, Windows

Error 2738. Could not access VBScript run time for custom action.

Today i tried to install VMWare vSphere PowerCLI and got the vbscript error message.

Follow this steps to solve the problem:

1. Create a backup
2. Delete following registry entries:

Win32 Bit

Win64 Bit

3. Run CMD as an Administrator
4. regsvr32 vbscript.dll
5. regsvr32 jscript.dll

No Comments »

admin on June 4th 2012 in IT, PowerShell, Windows

Find old Computers/users in Active Directory

Easiest way is to use following query on your Domain Controller to find all computers which were inactive for 4 weeks:
dsquery computer –inactive 4

The same you could for users:
dsquery users – inactive 4

No Comments »

admin on March 22nd 2012 in Windows, Windows Server

Batch check if a Program or Service is running

tasklist /FI "IMAGENAME eq %PROGNAME%" 2>NUL | find /I /N "%PROGNAME%">NUL
if "%ERRORLEVEL%"=="0" echo Programm is running
if "%ERRORLEVEL%"=="1" echo Programm is not running

%PROGNAME% needs to be replaced with your program name.

No Comments »

admin on February 18th 2012 in IT, Windows

When did I install Windows?


No Comments »

admin on November 18th 2011 in IT, Windows, Windows Server

Administrator can’t access server Saved Profiles

To be able to open Server Saved Profiles from Users you need to take ownership over the folder and subfolders. After that you can add the Administrator Account to the NTFS permissions and give it full rights. After that it should workd.

If you want to solve this problem in advanced you can enable this GPO:
Computer Configuration\Administrative Templates\System\ User Profiles\Add the Administrator security group to the roaming user profile share

After that the Administrator is able to acccess the profiles without the need of taking ownership.

No Comments »

admin on September 8th 2011 in IT, Windows, Windows Server

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