Drive Error

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Thursday, February 21, 2013

How to Delegate Rights to Modify SPNs in Active Directory

Posted on 7:46 PM by Unknown
With Kerberos taking over as the preferred authentication protocol, system administrators need to be able to modify the SPN for their service accounts and computer objects in Active Directory. And you don't want to make all of your system administrators domain admins. To delegate this right, you can run the command below on your domain controller.

Before you run it, you need to change "OU=users,DC=domain,DC=suffix" to the distinguished name of the OU or object that you want to delegate the rights for. Then change "DOMAIN\GroupName" to your domain and the group or user that you want to grant the rights to.

dsacls "OU=users,DC=domain,DC=suffix" /I:S /G "DOMAIN\GroupName:RPWP;servicePrincipalName"

You can also limit this right to a specific class of object (e.g. user, computer, etc) by adding ";<InheritedObjectType>" immediately after "servicePrincipalName" in the command. Make sure to replace <InheritedObjectType> with the name of the class you want the right limited to, like this.

dsacls "OU=users,DC=domain,DC=suffix" /I:S /G "DOMAIN\GroupName:RPWP;servicePrincipalName;user"
Read More
Posted in Active Directory, dsacls, kerberos, rights delegation, service principle name, servicePrincipleName | No comments

You have not entered a valid product key or the key is incorrect

Posted on 7:07 PM by Unknown
The following two errors show up for Microsoft Office 2007 and 2003 users for a couple of reasons.

Error #1
The key is incorrect. Verify that you have the correct key, and then retype it.

Error #2
You have not entered a valid Product Key. Please check the number located on the sticker on the back of the CD case or on your Certificate of Authenticity.


The first, and most obvious reason you might get this error is because you entered the product key incorrectly. Check the key you entered, and make sure it's correct. Some characters can look a lot alike. For example, zeros and the letter O look alike, eights and the letter B, and so on.

If you already have another version of Microsoft Office installed, you can get this error. You need to decide which version on Microsoft Office you want to use, and uninstall the version of Office that you aren't going to use.


Read More
Posted in certificate of authenticity, error, key code, license key, Microsoft Office 2003, Microsoft Office 2007, product key | No comments

Saturday, February 16, 2013

Forceful Demotion of a Dead Domain Controller

Posted on 9:32 PM by Unknown
If one of your domain controllers dies on you, then you cannot gracefully demote it. So, when this happens there are a few things that you need to do to remove it from the domain and cleanup the mess that this failure created.

The first step is to jump on one of your remaining domain controllers that's running Windows 2003 SP1 or newer.

Make sure that you are a member of the "enterprise admins" group. If you weren't a member already, add yourself to the group, then log off of the domain controller and back onto it.
Open up a command prompt, and enter ntdsutil.

At the ntdsutl: prompt type metadata cleanup and hit enter.

At the metadata cleanup: prompt, type remove selected server <distinguished name of DC you want to remove> and hit enter. The distinguished name of the domain controller object in the configuration partition of Active Directory, not the directory services partition.

If you get a message like this, your probably pointing to the wrong object in Active Directory.
Binding to localhost ...
Connected to localhost using credentials of locally logged on user.
LDAP error 0x20(32 (No Such Object).
Ldap extended error message is 0000208D: NameErr: DSID-031001CD, problem 2001 (NO_OBJECT), data 0, best match of:
        'CN=DC-Name,OU=Domain Controllers,DC=domain,DC=local'
Win32 error returned is 0x208d(Directory object not found.)
)
Unable to determine the domain hosted by the DC (5). Please use the connection menu to specify it.
Disconnecting from localhost...
 
Look at the distinguished name and make sure it is something like this and try the command again:
CN=<DC Name>,CN=Servers,CN=<Site Name>,CN=Sites,CN=Configuration,DC=<Domain>,DC=<suffix>

When you do this correctly, it should look like this:

Binding to localhost ...
Connected to localhost using credentials of locally logged on user.
Transferring / Seizing FSMO roles off the selected server.
Removing FRS metadata for the selected server.
Searching for FRS members under "CN=<DC Name>,OU=Domain Controllers,DC=<domain>,DC=<suffix>".
Removing FRS member "CN=<DC name>,CN=Domain System Volume (SYSVOL share),CN=File Replication Service,CN=System,DC=<domain>,DC=<suffix>".
Deleting subtree under "CN=<DC Name>,CN=Domain System Volume (SYSVOL share),CN=File Replication Service,CN=System,DC=<domain>,DC=<suffix>".
Deleting subtree under "CN=<DC Name>,OU=Domain Controllers,DC=<domain>,DC=<suffix>".
The attempt to remove the FRS settings on CN=<DC Name>,CN=Servers,CN=<Site Name>,CN=Sites,CN=Configuration,DC=<domain>,DC=<suffix> failed because "Element not found.";
metadata cleanup is continuing.
"CN=<DC Name>,CN=Servers,CN=<Site Name>,CN=Sites,CN=Configuration,DC=<domain>,DC=<suffix>" removed from server "localhost"
 Yes, there is a line in there that says:
The attempt to remove the FRS settings on CN=<DC Name>,CN=Servers,CN=<Site Name>,CN=Sites,CN=Configuration,DC=<domain>,DC=<suffix> failed because "Element not found."
This can be ignored. Microsoft actually says "Even though there was an error reported, the operation was successful. The error reported is misleading as the object in question was deleted by NTDSUTIL."

Now, go into Active Directory Sites and Services and delete the server object for the DC you are decommissioning. If it is the last DC in a particular site, you may need to reassign the subnets from that site to another site, depending on whether you are replacing that DC or not.



The DC should already be gone from the Domain Controllers OU in AD Users and Computers, but it's a good idea to check it anyway.
You will probably need to do some DNS cleanup too. Remove the “(same as parent folder)” Host(A) record from DNS for the IP address of the DC you removed. If that DC was a DNS server, there will probably be an NS record that you need to get rid of as well. Then, remove the A record for the computer name of the DC you removed. And finally, you will probably need to remove the A record for (same as parent folder) ender _msdcs > gs.

 
Read More
Posted in Active Directory, ADDS, DC, demotion, DNS, Domain Controllers, metadata cleanup, ntdsutil, remove selected server, Windows 2003, Windows 2008, Windows Server | No comments

Monday, February 11, 2013

How to Configure Windows Event Logs as SNMP Traps

Posted on 5:52 PM by Unknown
There are a lot of different monitoring suites out there that monitor servers by using SNMP traps. If you want to be alerted when a specific error or warning occurs in any of your event logs, you need to configure those events to send an SNMP trap.

To do this, you need to launch %windir%\system32\evntwin.exe to start configuring them. That opens up a window like this.


 
Select the Custom radial button, then click Edit.
 
 
That opens this "Event to Trap Translator". First, you need to expand the event log that you want to look in from the "Event sources" window. That shows you all of the event sources that have registered events in that event log. Select one of the event sources, and the related events shows in the events window. In the example image I selected Kerberos. Then, in the "Events" window you select the event that you want to start sending SNMP traps for. Click Add to configure that event send SNMP traps.

 
You can click OK for it to generate a trap every time that event occurs. Or, you can modify some the settings in the "Generate trap" section to limit the amount of traps it sends out.
 
 
 
Click OK, and you are done.

Read More
Posted in %windir%\system32\evntwin.exe, Event Logs, Event Sources, Event to Trap Translator, Generate Trap, Monitoring Suites, SNMP, SNMP Monitoring, SNMP Traps, Windows, Windows Server, Workstation | No comments
Newer Posts Older Posts Home
Subscribe to: Comments (Atom)

Popular Posts

  • Resolved: IDRAC Drive Error Either Virtual Media is detached or redirection for the selected virtual disk drive is already in use
    I haven't used Dell servers much in an enterprise environment, so working with their IDRAC (Integrated Dell Remote Access Controller) co...
  • The Distributed Transaction Coordinator service terminated with service-specific error 3221229584 (0xC0001010).
    If you get the following error in the system event logs while trying to start the Distributed Transaction Coordinator service, we can help. ...
  • Resolution: Visual Studio Test Agent Unable to Connect to the controller. There is no agent registered...
    Problem: I discovered a weird quirk with the Visual Studio Test Agents (a.k.a. TFS Test Agents). We were trying to set them up to do some l...
  • How to Setup Visual Studio (TFS) Test Agents in the Cloud
    We ran into some issues trying to get the Visual Studio Test Agents to register and communicate with the Visual Studio Test Controller when ...
  • Fix Event ID# 7043 Load control template file /_controltemplates/TaxonomyPicker.ascx failed: Could not load type
    This is an error that's a little misleading. At first it might seem that the file is missing or that there is a permissions issue, but t...
  • How to Delegate Rights to Modify SPNs in Active Directory
    With Kerberos taking over as the preferred authentication protocol, system administrators need to be able to modify the SPN for their servic...
  • Error! Windows - No Disk: Exception Processing Message c0000013 Parameters 75a851d8 979a26dc 75a851d8 75a851d8
    This is one of those errors that doesn't really give you any information to go on. All you really get is this popup message that say Win...
  • How to Turn On Debug Logging for Group Policy
    When you are troubleshooting group policy issues, it's helpful to turn on some additional logging. Unfortunately, it's not just a si...
  • How to Configure Windows Event Logs as SNMP Traps
    There are a lot of different monitoring suites out there that monitor servers by using SNMP traps. If you want to be alerted when a specific...
  • Resolution: Error during encryption or decryption. System error code 997 in SharePoint
    I was recently ran into an issue in SharePoint where my Central Administration web app disappeared. When I tried to redeploy Central Adminis...

Categories

  • %windir%\system32\evntwin.exe
  • $TOPS
  • 0x80300001
  • 2010
  • 404
  • 997
  • Active Directory
  • Active Directory Federation Services
  • ADDS
  • ADFS
  • ADFSRelyingPartyTrust
  • adminvs
  • Adsense
  • Adsense Association
  • Advertising Income
  • AIDS
  • Amazon AWS
  • Android
  • Apple
  • associate an adsense account
  • Attribute objecttypecode
  • Authentication is Required
  • AxQuickMksAxCtl
  • bcdedit
  • block
  • BYOD
  • cell phone
  • certificate of authenticity
  • Channel
  • Ciphers
  • Citrix
  • cloud
  • commerce server 2007
  • commerce server 2009
  • configure
  • connection pooling
  • ControlTemplates
  • corrupt
  • could not load type
  • crash
  • credential caching
  • CurrentNavSiteMapProvider
  • Data Execution Prevention
  • dbo.DependencyBase
  • DC
  • debug
  • decryption
  • definition files
  • Dell
  • demotion
  • DEP
  • Destop
  • detached
  • devices
  • devmgmt.msc
  • devmgr_show_nonpresent_devices
  • Disable ADFS Credential Caching
  • discovery service
  • disk drive
  • disk space
  • distributed computing
  • Distributed Transaction Coordinator service
  • DNS
  • domain
  • domain account
  • Domain Controllers
  • Drivers
  • dsacls
  • duplicate key
  • DynamicChildLimit
  • EC2
  • education
  • email router
  • encryption
  • enterprise
  • error
  • error code 997
  • error status: 1603
  • event ID# 1033
  • event ID# 16192
  • Event ID# 26234
  • event id# 7024
  • event ID# 7043
  • Event Logs
  • Event Sources
  • Event to Trap Translator
  • Exception
  • exception processing message
  • facebook
  • failed
  • FarmAdmin
  • fight aids
  • FightAIDS@Home
  • filter
  • fix
  • free
  • free disk space
  • free download
  • freeware
  • fsutil
  • game
  • games
  • Generate Trap
  • ghost devices
  • Google
  • Google Adsense
  • google-corpeng
  • GPO
  • gpresult
  • grid computing
  • group policy debug logging
  • group policy logging
  • hard drive
  • Hashes
  • HBA
  • hiberfil.sys
  • hibernation
  • hidden devices
  • hotfix
  • how to
  • IDRAC
  • IIS
  • index
  • Install
  • Integrated Dell Remote Access Controller
  • invalid code received
  • invalid operation exception
  • invites
  • IP Address
  • ISA
  • iso
  • KB
  • kerberos
  • key code
  • Key Exchange Algorithms
  • libraries
  • license key
  • limit
  • list
  • lists
  • load testing
  • lockdown
  • Log Management
  • LogFiles
  • logons per second
  • loopback
  • LSA
  • LsaLookupCacheMaxSize;
  • Mac OS X
  • Macs
  • management
  • menu
  • metadata cleanup
  • Microsoft
  • Microsoft Dynamics CRM 2011
  • Microsoft Dynamics CRM 4.0
  • Microsoft Office 2003
  • Microsoft Office 2007
  • Microsoft TechEd
  • Microsoft.VisualStudio.TestTools.Exceptions.EqtException
  • mobile phone
  • Monetization
  • Monitoring Suites
  • MSCRMEmail
  • msdtc. resetlog
  • Multiple Logins
  • Navigation
  • ndx_UniqueDependencyNodes
  • network adapter
  • Network connections
  • news feed
  • NIC
  • no disk
  • ntdsutil
  • open source
  • Operating System
  • OS
  • package management
  • page file
  • pagefile
  • pagefile.sys
  • pages
  • Passive Income
  • patch
  • patch management
  • patches
  • PCT
  • performance tuning
  • picklist
  • PortalSiteMapProvider
  • powercfg
  • powershell
  • PrincipalObjectAccessReadSnapshot
  • product key
  • psconfig
  • query group policy
  • r2
  • RAID controller
  • reclaim disk space
  • redirection
  • reference
  • registry key
  • remove
  • remove selected server
  • resolution
  • resource unavailable
  • rights
  • rights delegation
  • root hints
  • RSPO
  • run error detected
  • sasl profiles
  • SCCM
  • schannel ciphers
  • schannel protocols
  • script
  • scripting
  • SCSI controller
  • Security
  • security event logs
  • security providers
  • server
  • Server Administration
  • service account
  • Service Control Manager
  • service principle name
  • servicePrincipleName
  • services
  • session
  • shadow copy storage
  • SharePoint
  • sharepoint 2007
  • Sharepoint 2010
  • sharepoint 2013
  • shrink
  • Simian
  • sitemap
  • sites
  • smart phone
  • SNMP
  • SNMP Monitoring
  • SNMP Traps
  • social networking
  • software
  • software deployment
  • solution
  • sql
  • SSL
  • STIGS
  • stsadm
  • subsites
  • Symantec Endpoint Protection
  • system event logs
  • TaxonomyPicker.ascx
  • temporary internet files
  • Test Agents
  • Test Controller
  • Test Tools
  • TFS
  • the farm is unavailable
  • timeout
  • TLS
  • TMG
  • TokenLifetime
  • tops file
  • training
  • transaction resource manager
  • troubleshooting
  • troubleshooting group policy
  • UAG
  • unexpected error
  • update rollups
  • UpdateFarmCredentials
  • upgrade
  • user
  • users
  • videos
  • virtual adapter
  • Virtual Infrastructure Client
  • virtual media
  • virus definitions
  • Visual Studio
  • VM
  • VMWare
  • VSphere client
  • vss storage
  • Walk-Through
  • wcat
  • wcat.wsf
  • wcclient
  • wcctl
  • wdigest
  • Weak SSL
  • web services
  • web.config
  • webs
  • website
  • Windows
  • Windows 2000
  • Windows 2003
  • Windows 2008
  • Windows 2008 R2
  • Windows 2012 R2
  • Windows 7
  • Windows 8.1
  • Windows Azure
  • windows desktop
  • Windows Live ID Sign-in Assistant
  • Windows Server
  • windows update service
  • Windows Vista
  • Windows XP
  • Windwos DNS
  • WMI
  • wmic
  • work around
  • Workstation
  • world community grid
  • xml
  • YouTube
  • YouTube Publishing

Blog Archive

  • ▼  2013 (42)
    • ►  October (4)
    • ►  September (3)
    • ►  July (2)
    • ►  June (1)
    • ►  May (1)
    • ►  April (4)
    • ►  March (10)
    • ▼  February (4)
      • How to Delegate Rights to Modify SPNs in Active Di...
      • You have not entered a valid product key or the ke...
      • Forceful Demotion of a Dead Domain Controller
      • How to Configure Windows Event Logs as SNMP Traps
    • ►  January (13)
  • ►  2012 (1)
    • ►  December (1)
Powered by Blogger.

About Me

Unknown
View my complete profile