Tag Archives: windows

Powershell: Active Directory Domain Operations

Hi,

some commands to manage Active Directory Domain Controllers by using the .NET System.DirectoryServices.ActiveDirectory.Domain Class.
Load the assembly

[reflection.assembly]::LoadWithPartialName("System.DirectoryServices.Protocols")|Out-Null

Get a Domain Object with the logon Domain of the current user
Continue reading Powershell: Active Directory Domain Operations

Windows: Error: Cannot read from the source file or disk, Could not find this item. This is no longer locate…

Hi,

difficult Windows issue today. A user had the problem that he could not delete a Folder (C:\Temp\orders) , also renaming or moving is not possible. The same behaviour with the command line tools rmdir, ren and move.
The folder was created from Excel with a vba macro.

Error message: Cannot read from source file or disk
Error message: Cannot read from source file or disk

The error message was: Cannot delete file: Cannot read from the source file or disk.
Continue reading Windows: Error: Cannot read from the source file or disk, Could not find this item. This is no longer locate…

Windows: Disable automatic Window arranging and resizing while dragging with the mouse (AeroSnap)

Sometimes the Windows 7 functionality to automatically arrange or resize a window while dragging is a pain. This feature is called Aero Snap. Here are good news, you can disable the behaviour :-).

Open the Control Panel, go to “Ease of Access center”. If you are there, click “Make the mouse easier to use” and enable “Prevent Windows from being automatically arranged when moved to the edge of the screen”.

Mouse Settings

Continue reading Windows: Disable automatic Window arranging and resizing while dragging with the mouse (AeroSnap)

Windows: Offline installation of Windows Assessment and Deployment Kit ADK

Really short post:-)

To get a offline installation of Windows Assessment and Deployment Kit (formerly known as WAIK) download the Websetup ADKSetup.exe and start it – Windows .NET 4 is requiered. If not installed ADKSetup starts the installation – at the first screen you can set the location. When you specify a download path the complete ADK is stored this folder.

Importent: Start adksetup with Administrator permissions, otherwise the option “Download the Assentment…” is invisible.

Windows ADK Setup

Share the folder and execute ADKsetup.exe from this location.

Michael

Windows: Windows did not start. Howto write a new MBR and recover Windows OS Bootsector

Hi,

if you migrate a Windows Installation to another Computer or virtual environment such as VMWare ESXi or VMWare Workstation it could happen that the system won’t start.

A typical error when the master boot record or the boot sector of the boot partition needs to be updated or must be rewritten is when

  • After Postscreen of the BIOS the console shows “Operating system not found” this means there is no boot code in MBR
  • or it shows only a blinking cursor in the upper left edge. 2 possible reasons are thinkable
  1. MBR boot code is loaded but could not load the operation system => The boot sector of the Windows Boot partition needs to be updated
  2. The boot(active) flag of Windows boot partition  is missing

For all cases you can use the command line program “testdisk” which is part of the most linux live CDs/DVDs to correct this.
Continue reading Windows: Windows did not start. Howto write a new MBR and recover Windows OS Bootsector