Showing posts with label Windows Server. Show all posts
Showing posts with label Windows Server. Show all posts

Sunday, December 21, 2014

bench3

How To Turn Off The Automatic Display Of Server Manager At Logon

The first page that will open after your first logon to Windows Server is the Initial Configuration Tasks (ICT). The ICT will be followed by another page that is called the Server Manager. The Server Manager will automatically be displayed after each logon to the server. In this article, I will show you how to turn off the automatic display of Server Manager.

Although Server Manager is a one stop shop for administrating, configuring, managing and monitoring Windows Server, sometimes I personally prefer not to always have the Server Manager automatically be displayed in front of me after each logon. Well, the good thing is yes you can disable this behavior, and this is done either by enabling the checkbox Do not show me this console at logon or by setting a Group Policy.

If you have a workgroup environment, then you can go to one server at a time and enable the checkbox or apply the policy locally on the machines.

If you have an Active Directory Domain Services environment, then you can set it using Group Policy Management Console.

To disable Server Manager automatic display after logon, follow these steps :

In Server Manager, under the Server Summary section, enable the checkbox beside Do not show me this console at logon as shown below. We will discuss this on a separate post. Here we will see How To Turn Off The Automatic Display Of Server Manager At Logon using Group Policy.

Method 2:

To Set it though Group Policy, then follow these steps :

Click on Start > Run

How To Turn Off The Automatic Display Of Server Manager At Logon_GpUpdate_

Type GPEDIT> MSC > hit OK

How To Turn Off The Automatic Display Of Server Manager At Logon_GpUpdate (6)

The Local Group Policy Editor snap-in will open

How To Turn Off The Automatic Display Of Server Manager At Logon_GpUpdate (5)

The policy that we are interested in can be found by expanding the following:

Computer Configuration\Administrative Templates\System\Server Manager

How To Turn Off The Automatic Display Of Server Manager At Logon_GpUpdate (4)

Right click on the policy : Do not display Server Manager automatically at logon , click Properties

How To Turn Off The Automatic Display Of Server Manager At Logon_GpUpdate (3)

Select the RadioButton beside Enable > Click on OK

 

How To Turn Off The Automatic Display Of Server Manager At Logon_GpUpdate (2)

How To Turn Off The Automatic Display Of Server Manager At Logon

Close the Local Group Policy Editor snap-in

Click on Start > Run > type gpudpate > click on OK

How To Turn Off The Automatic Display Of Server Manager At Logon_GpUpdate1

How To Turn Off The Automatic Display Of Server Manager At Logon_GpUpdate

To check if the policy is enabled, logoff  and then logon again, and you will notice that Server Manager will not automatically be displayed this time after logon

You can now start Server Manager from the Start Menu Icon. Server Manager is essential tool to begin a role or feature installation on Windows Server. And at any point of time if you need the server manager to load automatically, then u can enable them back using the above steps.

Read More

Saturday, December 20, 2014

bench3

Understanding the Next Version of Windows Server

Microsoft is making technical previews of the next version of Windows Server Standard, Hyper-V and Datacenter available to testers for early evaluation. It's not just a first test build of the client version of Windows 10 that Microsoft is making available to testers on October 1.

A first technical preview of Windows Server vNext is available for download to testers today, as well. Windows Server Standard, Hyper-V and Datacenter technical previews are available on MSDN for download. (Thanks to Microsoft Most Valuable Professional Aidan Finn for the list of available versions.)

Microsoft officials haven't yet said what the final name of the next server release will be. It could be Windows Server 2015, if Microsoft sticks with past naming conventions. Or they could do Windows Server 10, I guess...

Understanding the Next Version of Windows Server

The Cloud & Enterprise team is taking a new approach with today's tech preview release, according to a blog post. The Windows Server and System Center Technical Previews are available from MSDN (requires a subscription) or Technet (if you still have it) so go and have a look. You Can also Download Windows Server Evaluations in this location.

"We typically provide this release only to a small number of customers, but this time we are providing broad access for those who want to start the journey early. If you want to download the bits or try them on Azure, then by all means go for it. But do know that this is an early release, and many of the features and scenarios are still in development. As such, this build is not intended for production environments, labs, nor full evaluations," company officials said.

There's an MSDN page listing the new features for the Windows Server Next versions.

Among some of the new features in the server previews:

  • Active Directory Federation Services (ADFS): New features that enable configuration of ADFS to authenticate users stored in Lightweight Directory Access Protocol (LDAP) directories.
  • Remote Desktop Services: Improvements based on customer requests. We added support for OpenGL and OpenCL applications, and added MultiPoint Services as a new role in Windows Server.
  • Storage quality of service: Update enables users to create storage QoS policies on a Scale-Out File Server and assign them to one or more virtual disks on Hyper-V virtual machines. Storage Replica is a new feature that enables synchronous replication between servers for disaster recovery, as well as stretching of a failover cluster for high availability.
  • A Hyper-V or Scale-out File Server failover cluster: Can now easily be upgraded without any downtime or need to build a new cluster with nodes that are running Windows Server Technical Preview.
  • Web Application Proxy: Now supports pre-authentication for applications using the HTTP Basic protocol, wildcards in external URLS of applications, redirection from HTTP to HTTPS, use of pass-through authentication with HTTP applications, publishing of Remote Desktop Gateway apps, a new debug log, propagation of client IP addresses to backend applications, and improvements to the Administrator console.
  • Windows PowerShell 5.0: Includes new features, such as support for developing with classes, and new security features that extend its use, improve its usability, and allow users to control and manage Windows-based environments more easily and comprehensively.
  • Networking: New feature that enables Generic Routing Encapsulation (GRE) for the Windows Server Gateway. In addition, the DNS Server role includes enhanced logging and a new policy based feature for DNS response management.

Microsoft is still mulling how best to provide updates to the server bits as the company moves forward. On the client side, Microsoft is expected to make regular automatic updates to Windows 10 starting with the technical preview and after the product moves beyond the test phase. (Enterprise customers will be able to postpone these updates using WSUS and other tools, however.)

Customers want favor stability and predictability while in other scenarios they want access to the latest and greatest technologies as fast as possible. We’ll have more specifics in the coming months, but you can expect Microsoft to deliver the best of both worlds: options for speed and agility, plus options for stability and durability.

Read More

Friday, December 12, 2014

Nazrin Jahan

How Often Do Windows Servers Need to be Restarted

The most common question for any IT Administrator is, How often does everyone restart their Windows servers? Is there an industry standard or recommendation? will there be any hardware or software issue if we re-start server frequently often?

Actually, Windows server has to be restarted Only when required -- Either because of an OS / software update, a critical software failure which cannot be recovered via other methods, hardware upgrade/replacement or other activity that cannot happen without a restart.

I have never seen a standard recommendation, per se, but I could not agree with any recommendation [except from  Microsoft themselves] which would indicate a required reboot at a specific time interval "just-because".

How Often Do Windows Servers Need to be Restarted

I will not recommend a Windows server reboot because. Microsoft has made great strides since the good-old [NT] days with regard to stability and uptime. It's a shame the consensus within IT support has not changed along with this.

Restarting [and, more so, power cycling] is the most stressful period of hardware activity for a computer. You have most everything spinning up to 100% disk and fans as well as significant fluctuations in component temperatures.

Modern hardware is incredibly resilient, but that shouldn't be a reason for just bouncing servers, on a whim, a few times a week.

Just reboot a Windows server in the case of a failed service, or the like. I understand the need to get the service running again, but a reboot should be the last step in trouble shooting a server. Identifying, and fixing, the root cause of failure should almost never result in “just reboot it....”

However, In practice, Disk I/O, Network and Memory hungry applications under high and stressed workload and with low system resources available may render your Windows machine lagging, unstable or trashing which may suggest you to restart them sooner.

If you have to run such faulty applications or have to serve more users than the typical capacity of your hardware/software, or you are forced to co-locate incompatible services into one physical machine you may come to such decision that you should restart your Windows periodically. In this case you may adjust the restart period by listening to the users complaints about the server speed!

In my work place, We're not allowed to reboot servers without a weeklong back-and-forth debate among the entire department / Corporate Office that takes more than a week for a server reboot approval. Yes, this includes reboots for patching, which effectively means that it never gets done.

Read More

Sunday, February 5, 2012

bench3

Advantages of DFS Replication

DFS Replication, the successor to the File Replication service (FRS) introduced in Windows 2000 Server operating systems, is a new, state-based, multimaster replication engine that supports replication scheduling and bandwidth throttling. DFS Replication uses a new compression algorithm known as remote differential compression (RDC). RDC is a "diff-over-the wire" client-server protocol that can be used to efficiently update files over a limited-bandwidth network. RDC detects insertions, removals, and re-arrangements of data in files, enabling DFS Replication to replicate only the changed file blocks when files are updated.

DFS Replication uses many sophisticated processes to keep data synchronized on multiple servers. Before you begin using DFS Replication, it is helpful to understand the following concepts.

Advantages of DFS Replication

Figure: Configuring DFS Replication On Windows Server 2008

  • DFS Replication is a multimaster replication engine. Any change that occurs on one member is replicated to all other members of the replication group.
  • DFS Replication detects changes on the volume by monitoring the update sequence number (USN) journal, and DFS Replication replicates changes only after the file is closed.
  • DFS Replication uses a staging folder to stage a file before sending or receiving it. For more information about staging folders, see Staging folders and Conflict and Deleted folders.
  • DFS Replication uses a version vector exchange protocol to determine which files need to be synchronized. The protocol sends less than 1 kilobyte (KB) per file across the network to synchronize the metadata associated with changed files on the sending and receiving members.
  • When a file is changed, only the changed blocks are replicated, not the entire file. The RDC protocol determines the changed file blocks. Using default settings, RDC works for any type of file larger than 64 KB, transferring only a fraction of the file over the network.
  • DFS Replication uses a conflict resolution heuristic of last writer wins for files that are in conflict (that is, a file that is updated at multiple servers simultaneously) and earliest creator wins for name conflicts. Files and folders that lose the conflict resolution are moved to a folder known as the Conflict and Deleted folder. You can also configure the service to move deleted files to the Conflict and Deleted folder for retrieval should the file or folder be deleted. For more information, see Staging folders and Conflict and Deleted folders.
  • DFS Replication is self-healing and can automatically recover from USN journal wraps, USN journal loss, or loss of the DFS Replication database.
  • DFS Replication uses a Windows Management Instrumentation (WMI) provider that provides interfaces to obtain configuration and monitoring information from the DFS Replication service.
Read More

Friday, May 27, 2011

bench3

List Of Most Popular Add-Ins For Windows Home Server

Your life has gone digital - it is time to simplify your life so you can easily access your files, photos, videos, and music from any PC or TV in your home, or even while away from home. Windows Home Server was designed for households and home-based businesses that have more than one personal computer.

Do more with inspired solutions that meet your family's needs. Power Pack 3 is now available! Learn more.

If you have multiple PCs with increasingly large amounts of digital photography, music, video, and documents, then protecting, organizing, and connecting this digital media can be a challenging task. Help with managing your digital dilemmas has arrived. Windows Home Server does more than Network Attached Storage (NAS). The reason is, Network Attached Storage does not support Add-Ins which Home Server does. And we are listing few most popular Add-Ins For Microsoft Windows Home Server.

1. D-Link D-ViewCam

List Of Most Popular Add-Ins For Windows Home Server 1

The D-Link D-ViewCam is a software add-in for Windows Home Server that provides instant access to your live camera feeds and all the surveillance video already saved to your server. Compatible with the D-Link Network Cameras models DCS-920, DCS-1100, DCS-1130, and DCS-2121, this add-in allows users to easily manage their recording, streaming, and camera settings-all within the Windows Home Server administrative Console. Manage and access up to four live camera feeds from home or even remotely via the web.

2. ASUS Web Storage

List Of Most Popular Add-Ins For Windows Home Server 2
ASUS WebStorage created for all Windows Home Server users, is featured with Raid six disk array and clustering storage server that eliminates the hardware failure possibility. In addition, the real time virus scanning and in-executable protected file system provided a virus–free storage environment, which your irreplaceable data is 100% safe with ASUS WebStorage. The easy feature in the Home Server console makes your digital life smarter and convenient. Remotely start your BT downloads while you are out and enjoy your digital movies, pictures, and more by connecting to Home Server when you are home!

3. Grid Junction

List Of Most Popular Add-Ins For Windows Home Server 3
Grid Junction UPS Add-in. Grid Junction integrates seamlessly to issue power alerts and helps protect Windows Home Server from power problems, brownouts, or blackouts by safely powering down the Windows Home Server when battery levels reach a set threshold.

4. My Movies for Windows Home Server

List Of Most Popular Add-Ins For Windows Home Server 4
My Movies for Windows Home Server provides automated disc copying of cd's and movies from attached USB drives, adding meta-data to copied discs, or movies already stored on the server. All metadata is made available to Media Centers and other devices.

5. Remote Alert

List Of Most Popular Add-Ins For Windows Home Server 5
Remote Alert permits WHS Administrators to monitor remote access attempts to their Windows Home Server. Any attempt to log on to the WHS by a browser is reported in real-time using the WHS Network Health task tray icon.

6. avast! Antivirus

List Of Most Popular Add-Ins For Windows Home Server 6
avast! Windows Home Server Edition is a collection of award winning, high-end technologies that work in perfect synergy, having one common goal: to protect your system and valuable data against computer viruses.

7. Diskeeper

List Of Most Popular Add-Ins For Windows Home Server 7
Diskeeper 2009 HomeServer elevates system performance, debugging fragmentation-based problems as they occur, without ever compromising vital system resources, even when the whole family is connected to the computer

8. F-Secure Home Server Security 2009

List Of Most Popular Add-Ins For Windows Home Server 8
F-Secure® Home Server Security™ automatically protects all the valuable data stored on your Windows Home Server. It integrates with Windows Home Server, providing, constantly updated automatic detection and removal of all types of malicious software.

9. KeepVault

List Of Most Popular Add-Ins For Windows Home Server 9
KeepVault provides real-time, automatic, and continuous synchronization, backup and sharing for your most important digital files via local or online storage.

10. mControl

List Of Most Popular Add-Ins For Windows Home Server 10
mControl is software for your digital home. From your Media Center PC, via Internet Explorer or through your Windows Mobile device, you can control all aspects of your home with a touch of a button.

11. PerfectDisk 10 for Windows Home Server

List Of Most Popular Add-Ins For Windows Home Server 11
PerfectDisk® 2008 for Windows Home Server brings the power of PerfectDisk 2008's disk defragmentation capabilities to the Windows Home Server environment. PerfectDisk makes everything you do in your Windows Home Server environment faster.

12. Recorded TV Manager Add-in for Windows Home Sever

List Of Most Popular Add-Ins For Windows Home Server 12
The Recorded TV Manager Add-in for Windows Home Server integrates your Microsoft Media Center computers with your Windows Home Server. Collect, manage and watch your television recordings from anywhere on the network.

13. WebGuide for Windows Home Server

List Of Most Popular Add-Ins For Windows Home Server 13
WebGuide for Windows Home Server lets you access your home entertainment on the go. Listen to your music, watch your videos, and browse through your photos from any location.

14. LightsOut

List Of Most Popular Add-Ins For Windows Home Server 14
LightsOut is a power management add-in that allows you to place your home server in sleep or hibernation mode at scheduled times.

15. WHS Customizer

List Of Most Popular Add-Ins For Windows Home Server 15
WHS Customizer gives you control over your home server's remote webpage. You can now change your default image display.

16. uTorrent

List Of Most Popular Add-Ins For Windows Home Server 16
The uTorrent feature for Windows Home Server lets you download Bittorrent files.

17. Duplication Info for Windows Home Server

List Of Most Popular Add-Ins For Windows Home Server 17
Using Windows Home Server's Driver Extender technology, Duplication Info for Windows Home Server shows you which files have been duplicated to a second hard drive.

18. AutoExit for Windows Home Server

List Of Most Popular Add-Ins For Windows Home Server 18
ASoft AutoExit for Windows Home Server is a console add-in for Windows Home Server. It can be used to shut down and reboot machines in your home network from within the console.

19. Whiist

List Of Most Popular Add-Ins For Windows Home Server 19
Whiist is a Windows Home Server add-in that allows you to create and manage web content on your Windows Home Server.

20. Advanced Admin Console

List Of Most Popular Add-Ins For Windows Home Server 20
Advanced Admin Console allows you to extend the Windows Home Server console to various parts of your Windows Home Server's administration controls, giving you access to many server functions that would only be available if you remote accessed into the server itself.

21. Windows Home Server Disk Management

List Of Most Popular Add-Ins For Windows Home Server 21
Windows Home Server Disk Management is an add-in for Microsoft Windows Home Server. This add-in is designed for users who need more detail about their server's storage status than what the standard Windows Home Server Storage interface provides.

Want to start doing more with your HP MediaSmart Server? See how others are extending the functionality of Windows Home Server by watching this free webinar today: The Best Just Got Better: Learn how to extend the functionality of your Windows Home Server.

Read More
bench3

Microsoft Security Essentials Not Supported On Windows Home Server

Many people have this question in mind. “Will Microsoft Security Essentials work with Windows Home Server 2011?”

The answer is, No. The world's biggest software maker is now into antivirus software.Although you get firewall and anti-spyware tools as part of Windows, Microsoft has always been reluctant to give Windows users free anti-virus software. However, Microsoft Security Essentials is not supported on Windows Home Server. Microsoft Security Essential is only for Desktop Version Of Operating System and not for server versions.

Anti-virus software for Windows Home Server is available from a number of vendors. When purchasing anti-virus solutions, please make sure that you purchase the Windows Home Server specific edition.

Anti-virus software add-ins may also be available for Windows Home Server. A list of available add-ins for Windows Home Server can be found on our product website here.

Antivirus and antispyware software might cause your computer to slow down, even if the software itself isn't the cause of the slowdown. Read more…

Read More

Thursday, March 31, 2011

bench3

Windows Explorer Not Responding temporarily To File Share Requests When Copying File To A Share

Windows 7 having a problem when copying files to shares on our server (running Windows 2008 ). The file is copied but Explorer continues showing the dialog "Copying". The process cannot be killed with Task Manager and I am forced to restart manually the computer.

Consider the following scenario:

  • You have a computer that is running one of the following operating systems:
    • Windows Vista
    • Windows Server 2008
    • Windows 7
    • Windows Server 2008 R2
  • You share some files or some folders on the computer.
  • Some users try to access the shared files or the shared folders from remote computers.

In this scenario, the computer that shares the files and the folders may temporarily not respond to file share requests. When this issue occurs, users cannot enumerate the shared files or the shared folders on the computer.

Note The computer that shares the files and the folders resumes responding to requests for shared resources after 4 minutes.

Solution:

The only way to avoid this kind of problem is to try this hotfix:
KB2492806 - A Windows Vista-based, Windows Server 2008-based, Windows 7-based or Windows Server 2008 R2-based computer that shares some files and some folders may not respond to file share requests

Download Location: http://support.microsoft.com/kb/2492806

Also I found out that issuing the following commands at the Windows 7 machine solved the problem:

netsh interface tcp set global autotuninglevel=disabled
netsh int ip set global taskoffload=disabled

Read More

Wednesday, March 30, 2011

bench3

How To Login To Windows Domain Without Administrator Password

I've got a client with a windows 2008 Small Business Server Operating a domain. Nobody can remember the Active Directory admin password or any password for any account that has admin rights to get into the machine.

I have also tried OPHCrack and that didn't work, also, there are a few computers on the network that are able to authenticate but when the server was originally set up, those users were denied local login access. Any ideas?

Solution:

I've heard this method works
http://www.youtube.com/watch?v=Ar-VoO9ogHc
I haven't had a chance to test it myself so feedback would be great.

Read More
bench3

Error While Creating New Active Directory Domain

I am creating a new domain in new forest. On every attempt, it asks me to create a password with net user command. What is it all about?

Solution:

First: Check if you have admin rights. And if you logon as administrator does your administrator account have a password? Blank password will not be accepted while creating active directory. If this is the case, simply run the following from the command line
net user Administrator /passwordreq:yes

Second: Is this your first attempt to create a domain, or you retry to create from the failed attempt, whether the DC with the same name already exit and it is detained or removed from the same domain. if so first do metadata cleanup and try.

If you still have problem, please provide actual error messages rather than descriptions. My guess is that you are trying to create a new AD domain on a server with a local admin account that does not have a password. Providing more information and actual error messages would clear that up.

Read More

Monday, December 13, 2010

bench3

Reactivate Missing Or Offline Dynamic Disk Storage Services

Have you ever noticed that when windows returning from sleep, approximately 50% of the time, the dynamic disk disappears completely - It's will not be visible in disk nor device management, and likewise, it's drive letter becomes available for reuse and the disk disappears from Computer. And the disk will return to use after a full reboot. Does it have anything to do with hardware configuration or hardware compatibility.

This certainly is a problem with hardware compatibility. And here is a work around on how to solve this problem.
To perform this procedure on a local computer, you must be a member of the Backup Operators group or Administrators group on the local computer, or you must have been delegated the appropriate authority. To perform this procedure remotely, you must be a member of the Backup Operators group or Administrators group on the remote computer. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure.
To work around this issue, I suggest you use the diskpart command lines to reactivate the dynamic disk when the disk is not shown.

Reactivate a missing or offline dynamic disk Storage Services; Local File Systems

Please note that you reactivate a missing or offline dynamic disk in two ways.
  • Using the Windows interface
  • Using a command line
Using the Windows interface
  1. Open Computer Management (Local).
  2. In the console tree, click Computer Management (Local), click Storage, and then click Disk Management.
  3. Right-click the disk marked Missing or Offline, and then click Reactivate Disk.
The disk should be marked Online after the disk is reactivated.
  • To open Computer Management, click Start, click Control Panel, double-click Administrative Tools, and then double-click Computer Management.
  • A dynamic disk may become Missing when it is corrupted, powered down, or disconnected.
  • A dynamic disk may become Offline if it is corrupted or intermittently unavailable. A dynamic disk may also become Offline if you attempt to import a foreign (dynamic) disk and the import fails. An error icon appears on the Offline disk. Only dynamic disks display the Missing or Offline status.
  • Only dynamic disks can be reactivated.
Using a command line
  • 1. Open Command Prompt.
  • 2. Type:
diskpart
  • 3. At the DISKPART prompt, type:
list disk
Make note of the disk number of the missing or offline disk that you want to bring online. Missing disks are numbered M0, M1, M2, etc. and offline disks are numbered 0, 1, 2, etc.
  • 4. At the DISKPART prompt, type:
select diskn
  • 5. At the DISKPART prompt, type:
online
Read More

Sunday, December 5, 2010

bench3

Joining Windows 7 Computer To A Domain

In Windows 7 the trust between PC an Domain has changed. Once you have joined a domain using any previous version of windows, you cannot use the same computer name to rejoin the domain. 

If your computer is already in the domain, you will be getting an error while rejoining with the domain controller.  
"The procedure entry point I_NetNameValidate could not be located in the dynamic link library NETAPI32.dll."
Either the computer name should be changed or the previously joined computer needs to be removed from the domain controller.
  • You will have to change the computer name and rejoin the computer to the domain as an Administrator  (or)
  • Go to the domain server and remove the computer from the users and computer option and then try to rejoin the computer.
After a successful joinnig and restart, then add your user name and password. Where as you can also use the netdom tool. But, the netdom tool is only used with a computer that has not changed and was already registered with the Domain.
Read More

Sunday, November 28, 2010

bench3

List Of Services That Require Active Directory Services In Windows Server

Here is the list of Services running in windows server that require Active Directory services
  • Certificate Services (required for specific configurations)
  • DHCP Server (if so configured)
  • Distributed File System
  • Distributed Link Tracking Server (optional but on by default onWindows 2000 computers)
  • Distributed Transaction Coordinator
  • DNS Server (if so configured)
  • Fax Service (if so configured)
  • File Replication Service
  • File Server for Macintosh (if so configured)
  • Internet Authentication Service (if so configured)
  • License Logging (on by default)
  • Net Logon
  • Print Spooler
  • Remote Installation (if so configured)
  • Remote Procedure Call (RPC) Locator
  • Remote Storage Notification
  • Remote Storage Server
  • Routing and Remote Access
  • Server
  • Simple Mail Transfer Protocol (SMTP)
  • Terminal Services
  • Terminal Services Licensing
  • Terminal Services Session Directory
Read More

Saturday, October 16, 2010

bench3

Bad Address Error On DHCP Server

DHCP fills up with Bad Addresses when trying to connect the windows Machines to the network on Windows 2003 AD Server with DHCP.

Usually BAD ADDRESS temporary leases are created by the DHCP server when an IP conflict is detected. make sure that those addresses are not in use. Can you verify by using the PING Tool to see if there are any ICMP responses?

Using Conflict Detection in DHCP

If that checks out OK, verify that the Windows systems encountering the problem all have the correct NIC drivers installed?

The error can be seen on the DHCP server side. This may means the IP Address is not leased successfully.
Read More

Friday, October 1, 2010

bench3

Guidelines For Good And Simple Active Directory Design

Customizing the Active Directory structure is only problematic if you don't know what you are doing.

 
It is recomended that small and medium-sized businesses keep their Active Directory structure as simple as possible, and this often meant using the default Active Directory structure.And here is why...
  • As I'm sure you know, group policies are one of the primary security mechanisms used by Windows. Microsoft has designed group policies to be hierarchical in nature. In other words, you can create multiple group policy objects, which reside at various levels of the Active Directory, and those group policy objects will combine to form the effective policy.
  • SMBs try to keep things simple as it can be difficult to secure complex environments. Group policy objects often combine in ways that result in unanticipated security settings. On the other hand, if you have a simple Active Directory structure and only use the default domain policy, then the policy's effects are absolutely predictable.
Two different types of Active Directory environments are common among SMBs.
  1. To keep things really simple by sticking with the default AD structure, or
  2. The AD structure was extremely messy.
It was the messy Active Directories that remain complex. But remeber, when properly designed, an Active Directory could be complex without being messy.
 
Rapid growth often required AD restructuring. It would have been much easier to spend a little bit of extra time up front and design the Active Directory in a way that anticipated future growth than it was to restructure the Active Directory once the growth had already occurred.

 
Guidelines for good Active Directory design. 
We know that group policies are broken down into user policy settings and computer policy settings. It is possible to define both user and computer policy settings within a single group policy object. Instead though, it is recommended that each of your group policy objects define either user policy settings or computer policy settings, but not both.

 
Second recommendation is that you create an Organizational Unit (OU) structure that makes sense for your organization. You should have some OUs that will store computer objects and some that store user objects. You should then attach a dedicated group policy object to each OU.

 
In the default Active Directory structure for example, Microsoft gives you a Domain Controllers container and a Computers container. Expand on this concept.
For example, I like to move the user's desktops out of the Computers container and into a custom OU named Workstations. That way, I am not forced to apply the same security policy to user workstations as I am to network servers.

With the user workstations removed from the Computers container, that leaves behind any member servers that may exist. Depending on the size of the organization, I might create additional containers for specific types of member servers. For instance, I might create an Exchange Servers OU so that I can apply a dedicated security policy to an organization's Exchange servers.

 
In some organizations, the Users container works fine. In other organizations it may make more sense to create a dedicated OU for each department. That way, you can apply group policy settings on a per department basis.

 
This approach may seem like overkill, especially for smaller networks, but there is a method to the madness. Any time that a user logs on to the network, they are using exactly one user account and one computer. By structuring your Active Directory in the way that have described above, you can ensure that the optimum security settings are in place, regardless of where a user logs on.
Read More

Wednesday, September 1, 2010

bench3

Load Local Profile When The User Cant Connect To Domain Controller

Load Local Profile Insted Of Domain Profile When The User Cant Connect To Domain Controller:
Force a user load his local profile instead of the one that correspond to the domain when he authenticate to this one.
Example: A laptop with Windows Seven Pro needs to be in a domain in order to work and load the same profile when the owner goes home.
Solution:
In your domain if you enable logon cache in your GPO's the user will be able to logon with their domain credentials while home even if they cannot authenticate to the domain controller.
Computer configuration\windows settings\security settings\local policies\security options\Interactive logon number of previous logons to cache
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon is the registry path you'd want to change.
Read More

Monday, August 30, 2010

bench3

Redirecting Libraries To Roaming Profile Location

How to change the default location of Libraries through group policy or through a logon script to point to the roaming profile location (e.g. Make the Documents Library redirect to '\\SERVERNAME\profiles\COMPANY\08\%username%\Documents' instead of 'C:\Users\%username%\Documents') and make the link in the Start Menu below the user's display picture redirect to '\\SERVERNAME\profiles\COMPANY\08\%username%'?

Solution:
Really there is no magic here, you just apply a document redirection policy. Once that policy is applied their documents would be redirected to \\SERVER\profiles\COMPANY\08\%username%\Documents

There is no changes in windows vista and windows 7 environment for this. Windows 7 works the same as vista.
Folder Redirection is one of the undiscovered gems amongst the myriad of Microsoft Group Policies. First, configure the file locations of saved files and secondly, master folder redirection, the result will be greater efficiency for both you and your users. Read more: http://www.bench3.com/2009/08/redirect-users-folders-to-common.html#ixzz0y6UJlWbX

Applies To Windows 7 And Windows Vista
Read More

Thursday, August 26, 2010

bench3

Enabling Smart Card Logon With Third-Party Certification Authorities

You can enable a smart card logon process with Microsoft Windows 2000 and a non-Microsoft certification authority (CA) by following the guidelines in this article. There is limited support for this configuration, as described later in this article.

Requirements:
Smart Card Authentication to Active Directory requires that Smartcard workstations, Active Directory, and Active Directory domain controllers be configured properly. Active Directory must trust a certification authority to authenticate users based on certificates from that CA. Both Smartcard workstations and domain controllers must be configured with correctly configured certificates.
As with any PKI implementation, all parties must trust the Root CA to which the issuing CA chains. Both the domain controllers and the smartcard workstations trust this root.
Active Directory and domain controller configuration
  • Required: Active Directory must have the third-party issuing CA in the NTAuth store to authenticate users to active directory.
  • Required: Domain controllers must be configured with a domain controller certificate to authenticate smartcard users.
  • Optional: Active Directory can be configured to distribute the third-party root CA to the trusted root CA store of all domain members using the Group Policy.
Smartcard certificate and workstation requirements
  • Required: All of the smartcard requirements outlined in the "Configuration Instructions" section must be met, including the text formatting of the fields. Smartcard authentication fails if they are not met.
  • Required: The smartcard and private key must be installed on the smartcard.
Configuration instructions
1. Export or download the third-party root certificate. How to obtaining the party root certificate varies by vendor. The certificate must be in Base64 Encoded X.509 format.

2. Add the third-party root CA to the trusted roots in an Active Directory Group Policy object. To configure Group Policy in the Windows 2000 domain to distribute the third-party CA to the trusted root store of all domain computers:
  • Click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
  • In the left pane, locate the domain in which the policy you want to edit is applied.
  • Right-click the domain, and then click Properties.
  • Click the Group Policy tab.
  • Click the Default Domain Policy Group Policy object, and then click Edit. A new window opens.
  • In the left pane, expand the following items:
Computer Configuration
Windows Settings
Security Settings
Public Key Policy
  • Right-click Trusted Root Certification Authorities.
  • Select All Tasks, and then click Import.
  • Follow the instructions in the wizard to import the certificate.
  • Click OK.
  • Close the Group Policy window.
3. Add the third-party issuing the CA to the NTAuth store in Active Directory. The smart card logon certificate must be issued from a CA that is in the NTAuth store. By default, Microsoft Enterprise CAs are added to the NTAuth store.
  • If the CA that issued the smart card logon certificate or the domain controller certificates is not properly posted in the NTAuth store, the smart card logon process does not work. The corresponding answer is "Unable to verify the credentials".
  • The NTAuth store is located in the Configuration container for the forest. For example, a sample location is as follows: LDAP://server1.name.com/CN=NTAuthCertificates,CN=Public Key Services,CN=Services,CN=Configuration,DC=name,DC=com
  • By default, this store is created when you install a Microsoft Enterprise CA. The object can also be created manually by using ADSIedit.msc in the Windows 2000 Support tools or by using LDIFDE. For more information, click the following article number to view the article in the Microsoft Knowledge Base: 295663 (http://support.microsoft.com/kb/295663/ ) How to import third-party certification authority (CA) certificates into the Enterprise NTAuth store
  • The relevant attribute is cACertificate, which is an octet String, multiple-valued list of ASN-encoded certificates.
After you put the third-party CA in the NTAuth store, Domain-based Group Policy places a registry key (a thumbprint of the certificate) in the following location on all computers in the domain:
HKEY_LOCAL_MACHINE\Software\Microsoft\EnterpriseCertificates\NTAuth\Certificates
This is refreshed every eight hours on workstations (the typical Group Policy pulse interval).

4. Request and install a domain controller certificate on the domain controller(s). Each domain controller that is going to authenticate smartcard users must have a domain controller certificate.
If you install a Microsoft Enterprise CA in an Active Directory forest, all domain controllers automatically enroll for a domain controller certificate. For more information about requirements for domain controller certificates from a third-party CA, click the following article number to view the article in the Microsoft Knowledge Base: 291010 (http://support.microsoft.com/kb/291010/ ) Requirements for domain controller certificates from a third-party CA
NOTE: The domain controller certificate is used for Secure Sockets Layer (SSL) authentication, Simple Mail Transfer Protocol (SMTP) encryption, Remote Procedure Call (RPC) signing, and the smart card logon process. Using a non-Microsoft CA to issue a certificate to a domain controller may cause unexpected behavior or unsupported results. An improperly formatted certificate or a certificate with the subject name absent may cause these or other capabilities to stop responding.
5. Request a smart card certificate from the third-party CA.
Enroll for a certificate from the third-party CA that meets the stated requirements. The method for enrollment varies by the CA vendor.

The smart card certificate has specific format requirements:
  • The CRL Distribution Point (CDP) location (where CRL is the Certification Revocation List) must be populated, online, and available. For example:
[1]CRL Distribution Point
Distribution Point Name:
Full Name:
URL=http://server1.name.com/CertEnroll/caname.crl
  • Key Usage = Digital Signature
  • Basic Constraints [Subject Type=End Entity, Path Length Constraint=None] (Optional)
  • Enhanced Key Usage =
o Client Authentication (1.3.6.1.5.5.7.3.2)
(The client authentication OID) is only required if a certificate is used for SSL authentication.)
o Smart Card Logon (1.3.6.1.4.1.311.20.2.2)
  • Subject Alternative Name = Other Name: Principal Name= (UPN). For example:
UPN = user1@name.com
The UPN OtherName OID is : "1.3.6.1.4.1.311.20.2.3"
The UPN OtherName value: Must be ASN1-encoded UTF8 string
  • Subject = Distinguished name of user. This field is a mandatory extension, but the population of this field is optional.
6. There are two predefined types of private keys. These keys are Signature Only(AT_SIGNATURE) and Key Exchange(AT_KEYEXCHANGE). Smartcard logon certificates must have a Key Exchange(AT_KEYEXCHANGE) private key type in order for smartcard logon to function correctly.

7. Install smartcard drivers and software to the smartcard workstation.
Make sure that the appropriate smartcard reader device and driver software is installed on the smartcard workstation. This varies by smartcard reader vendor.

8. Install the third-party smartcard certificate to the smartcard workstation.
If the smartcard was not already put into the smartcard user's personal store in the enrollment process in step 4, then you must import the certificate into the user's personal store. To do so:
  • 1. Open the Microsoft Management Console (MMC) that contains the Certificates snap-in.
  • 2. In the console tree, under Personal, click Certificates.
  • 3. On the All Tasks menu, click Import to start the Certificate Import Wizard.
  • 4. Click the file that contains the certificates that you are importing.
NOTE: If the file that contains the certificates is a Personal Information Exchange (PKCS #12) file, type the password that you used to encrypt the private key, click to select the appropriate check box if you want the private key to be exportable, and then turn on strong private key protection (if you want to use this feature).
NOTE: To turn on strong private key protection, you must use the Logical Certificate Stores view mode.
  • 5. Select the option to automatically put the certificate in a certificate store based on the type of certificate.
9. Install the third-party smartcard certificate onto the smartcard. How to do this varies according to Cryptographic Service Provider (CSP) and by smartcard vendor. See the vendor's documentations for instructions.

10. Log on to the workstation with the smartcard.
Read More

Sunday, August 15, 2010

bench3

What To Do When Your Computer Or Server Got Hacked

So, you didn’t patch the system and it got hacked. What to do? Well, let’s see:
Patching Wont Work AnyMore:
You can’t clean a compromised system by patching it. Patching only removes the vulnerability. Upon getting into your system, the attacker probably ensured that there were several other ways to get back in.

You can’t clean a compromised system by removing the back doors. You can never guarantee that you found all the back doors the attacker put in. The fact that you can’t find any more may only mean you don’t know where to look, or that the system is so compromised that what you are seeing is not actually what is there.

You can’t clean a compromised system by using some “vulnerability remover.” Let’s say you had a system hit by Blaster. A number of vendors (including Microsoft) published vulnerability removers for Blaster. Can you trust a system that had Blaster after the tool is run? I wouldn’t. If the system was vulnerable to Blaster, it was also vulnerable to a number of other attacks. Can you guarantee that none of those have been run against it? I didn’t think so.

You can’t clean a compromised system by using a virus scanner. To tell you the truth, a fully compromised system can’t be trusted. Even virus scanners must at some level rely on the system to not lie to them. If they ask whether a particular file is present, the attacker may simply have a tool in place that lies about it. Note that if you can guarantee that the only thing that compromised the system was a particular virus or worm and you know that this virus has no back doors associated with it, and the vulnerability used by the virus was not available remotely, then a virus scanner can be used to clean the system. 

For example, the vast majority of e-mail worms rely on a user opening an attachment. In this particular case, it is possible that the only infection on the system is the one that came from the attachment containing the worm. 

However, if the vulnerability used by the worm was available remotely without user action, then you can’t guarantee that the worm was the only thing that used that vulnerability. It is entirely possible that something else used the same vulnerability. In this case, you can’t just patch the system.

You can’t clean a compromised system by reinstalling the operating system over the existing installation. Again, the attacker may very well have tools in place that tell the installer lies. If that happens, the installer may not actually remove the compromised files. In addition, the attacker may also have put back doors in non-operating system components.

You can’t trust any data copied from a compromised system. Once an attacker gets into a system, all the data on it may be modified. In the best-case scenario, copying data off a compromised system and putting it on a clean system will give you potentially untrustworthy data. In the worst-case scenario, you may actually have copied a back door hidden in the data.

You can’t trust the event logs on a compromised system. Upon gaining full access to a system, it is simple for an attacker to modify the event logs on that system to cover any tracks. If you rely on the event logs to tell you what has been done to your system, you may just be reading what the attacker wants you to read.

You may not be able to trust your latest backup. How can you tell when the original attack took place? The event logs cannot be trusted to tell you. Without that knowledge, your latest backup is useless. It may be a backup that includes all the back doors currently on the system.

Cleaning A Compromised System:
The only way to clean a compromised system is to flatten and rebuild. That’s right. If you have a system that has been completely compromised, the only thing you can do is to flatten the system (reformat the system disk) and rebuild it from scratch (reinstall Windows and your applications). Alternatively, you could of course work on your resume instead, but I don’t want to see you doing that.

This list makes patching look not so bad, yes? We may hate patches, but the alternative is decidedly worse.
Read More