Category Archives: Windows Server 2008R2

Error: Resource Referenced in attribute displayName could not be found – Windows Server

AdministrativeTemplates

If you overcome above error on your Windows Server ; you will need to download the Administrative Templates from the Microsoft Website (KB2841134)

http://www.microsoft.com/en-us/download/details.aspx?id=40905

Advertisements

Unable to Install Windows Management Framework 3 on Windows 2008 SP2 Server

Are you getting the below error when installing Windows Management Framework 3 on your Windows 2008 SP2 Server?

Update_Not_Applicableu

 

Well, all you need to verify is the current version of your .NET Framework.  To verify the current version; proceed to the registry

HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP

The branch is most likely only upto V3 or V3.5

Download and Install .NET Framework 4 and your system will be ready to Install the Windows Management Framework 3

You may also find below post useful

http://www.happysysadm.com/2012/06/upgrading-to-powershell-30-on-windows.html

 

Using netsh command to extract dhcp client list

Applies to Windows Server 2008 and above

Please note that in future versions of Windows, Microsoft might remove the Netsh Functionality for DHCP Server. The recommended usage is with Windows Powershell. We will explore that in a later post.

In this example I have considered DHCP Server as \\mydhcpservername and scope as 192.168.0.0

Run Command Prompt

c:\>netsh
netsh>dhcp
netsh dhcp>server
netsh dhcp server>\\mydhcpservername
netsh dhcp server>show scope 192.168.0.0

Changed the Current Scope Context to 192.168.0.0 Scope

netsh dhcp server scope>show client 1

The above command will list the following in the below order

  • IP Address
  • Subnet Mask
  • MAC Address
  • Lease Expiry
  • Type of Lease
  • Name of Connected Device

Get-AdComputer Active Directory Powershell cmdlet on Windows 2003 SP2 Server

You cannot use the Get-ADComputer Powershell cmdlets on a Windows 2003 Server; you can instead run it from a member Server running Windows 2008 R2 or above / client machines running Windows 7 or above

There are a series of steps to follow before you can achieve this

  • Your Domain Controller running Active Directory on Windows 2003 should be minimum on SP2
  • You will need to install Microsoft .NET Framework 3.5 SP1 on your windows 2003 Server
  • Download and Install the Active Directory Management Gateway Service
  • When installing if you locate below error in log file you will need to download and install a hotfix
  • Possible Error Message when installing Active Directory Managment Gateway Service (C:\WINDOWS\Assembly\GAC_MSIL\System.DirectoryServices.AccountManagement\3.5.0.0__b77a5c561934e089\System.DirectoryServices.AccountManagement.dll is Less Than 3.5.30729.4126)
  • Link to Hotfix for correcting above mentioned error
  • Restart the Windows 2003 Server
  • Once the server is restarted; proceed to services and ensure the Active Directory Web Services is started. Change the startup to Automatic
Active Directory Web Service

Active Directory Web Service

UAE EN Dresses Quontum728x90

Remotely Running Get-AdComputer Powershell Commands from Windows 7 Client

  • Download and Install Install the Remote Server Administration Tool for Windows 7
  • Once Installed; proceed to Control Panel -> Programs and Features -> Turn Windows Features on or off
  • Enable the Active Directory Module for Windows Powershell as illustrated below
Active Directory Module for Windows Powershell

Active Directory Module for Windows Powershell

  • You can now import the Active Directory Module in your Powershell Session within Windows 7 Client
import-module activedirectory

Remotely Running Get-AdComputer Powershell Commands from Windows 2008 R2 Member Server

  • Open Server Manager – Features – Add Features
  • Ensure that the Active Directory module for Windows Powershell is enabled as illustrated below
Active Directory Module for Windows Powershell in Windows 2008 R2 Server

Active Directory Module for Windows Powershell in Windows 2008 R2 Server

  • You can now import the Active Directory Module in your Powershell Session within Windows 2008 R2 Member Server
import-module activedirectory

300x75_52930061bbfad.gif

Access Based Enumeration – Windows 2008/ Windows 2008 R2

Access Based Enumeration or ABE as it is known sometimes, is a very handy tool to Administrators. Many a times, at workplaces, an IT person is always faced with users who have prying eyes on accesses that he/she does not have. Like me, many of you may have had experiences where the users come over and request for accesses to Shared folders that they really do not need access to. This led me to think of a way where we can avoid such situations. This is when I got to know about ABE. The feature just hides the folders that users do not have access to. This way users are only going to see folders that they have access to. The other folders are hidden and out of their attention too!

To enable ABE on Windows Server 2008 / Windows Server 2008 R2

1. Open Server Manager.

2. Scroll Down to Share and Storage Management.

ImageImage

3. This should list down all the Shared folders that are currently running on the right window pane.

Share and Storage Management2.jpg

4. Right click on the required share folder and click Properties.

5. Click Sharing tab and click Advanced button in the bottom of this window.Image

6. Click on “Enable access-based enumeration”.

Image