Tag Archives: windows

Windows: Cannot bring up Cluster Networkname Resources

Hi,

a customer has, accidentally, deleted multiple Active Directory Computer objects which correspond to Network Name Resources of a Windows Cluster 🙁 .

The cluster network name itself was also affected and no backup of the AD Database to restore the objects was available.

All solutions that I’ve found to get the cluster working again are based on the restore of the AD objects.

But there is also another way respective hack 🙂 . This works for me on a Windows 2008 R2 Cluster.
Typical error are:

  • Event ID 1207 is logged to the Eventlog: “Unable to get Computer Object using GUID” “There is no such object on the server.”
  • Or in the C:\Windows\Cluster\Reports\cluster.log file (exported with cluster.exe log g)
    Network Name <Clustername>: Unable to Logon. winError 1326

Continue reading Windows: Cannot bring up Cluster Networkname Resources

Advertisment to support michlstechblog.info

Windows: Determine uptime from command line

Hi,

unlike Linux, Windows has no builtin uptime command to see when the operating system starts.

But nevertheless it’s possible. Use the systeminfo command.


c:\> systeminfo | findstr /i time
System Boot Time:          05.06.2014, 21:05:06
Time Zone:                 (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna

Note: If you have installed a language different then english replace time as filter which applies to your language.

Michael

Windows: No installation of Windows Updates at a policy defined scheduled date and time

Hi,

since Windows 8 respectively Server 2012 the policy to install Updates at a specific date and time has no affect.

Microsoft changed the behaviour for installing updates. The schedule for a installation and restart of updates is just defined by the deadline for Updates on the WSUS Server.
Continue reading Windows: No installation of Windows Updates at a policy defined scheduled date and time

Windows: Enable or disable Features from command line

Hi,

some usefull tools like telnet.exe are disabled by default in Windows Vista and later version. You can enable this and other features by command line using dism.
dism called with the get-features parameter lists all available features and its current state.
Note: Featurenames are case sensitive.
C:\>dism /online /Get-Features

.....
Feature Name : TelnetServer
State : Disabled

Feature Name : TelnetClient
State : Enabled
......

and the Enable-Feature option install them
Continue reading Windows: Enable or disable Features from command line

Windows: NTFS symbolic links and hard links

Hi,

today I will explain the possiblity of the ntfs filesystem to create symbolic- and hardlinks.

Whats the difference? A symbolic link (File) or junction point (Directory) is a pointer to an existing file or directory. These works across volumes.
A hardlink is a file or directory which is referenced by more then one path on the same volume.

An example. The explorer.exe in c:\windows. The most Windows system files are hardlinks. These files have two of them. One in the Windows, respective system32 folder and one to its current version in the component store winsxs.

[C:\]fsutil hardlink list c:\Windows\explorer.exe
\Windows\explorer.exe
\Windows\winsxs\amd64_microsoft-windows-explorer_31bf3856ad364e35_6.1.7601.17567_none_afa79dc39081d0ba\explorer.exe

this means the file is stored once and there are two references in the filesystem to it.
With the dir command you cannot identify an hardlink. The only way is fsutil.exe.

Creating an hardlink is very easy. Continue reading Windows: NTFS symbolic links and hard links