Solved

Refreshing Network Credentials

Posted on 2006-07-07
6
711 Views
Last Modified: 2008-02-01
Hi All,

The situation is I have some servers which are up 24/7 and I want to know how I can refresh their network credentials without rebooting.

Sometimes we make changes to our router or switches and if a mistake is made in the DNS we don't not see any DC (domain controller) errors until a couple days later when the cached network credentials have expired.

The DC's are all W2K3 and so is my local server. Across the network I have a mix of W2K and XP client machines. All machines are on active directory connecting to a remote DC I have no control over.

I want to refresh network credentials manually to check everything is OK, so I can go home after a small upgrade and not be awaken at 4AM to be called in.

I've asked some other IT guys around here and they haven't run across this problem yet.

Regards,
Alex
0
Comment
Question by:mordinad
  • 2
  • 2
6 Comments
 
LVL 11

Expert Comment

by:grsteed
ID: 17099547
Have you tried to repair the network connection?  This links shows what the repair refreshes.

http://www.windowsitpro.com/Article/ArticleID/41060/41060.html

Cheers,

Gary
0
 

Author Comment

by:mordinad
ID: 17100186
That could be it, I will try that next time we know of a DC/DNS upgrade. Are there any second opinions out there?

The credentials I'm referring to are the same as the ones that enable you to login through a domain without being connected to the network. However once expired the domain becomes unavailable and you must connect back to the network properly to get reauthenticated. The TTL for the creds can be limited in the local security policies or higher level GPO.

As long as the credentials are still good, you will see no effect on network shares or common services, however once they expire, you'll immediately be rejected of all these things. Thus is the problem because we have ours to expire every 2 days. Upon notification of upgrades, I would like to force the credentials to renew immediately so I can dectect failure early.

Regards,
Alex
0
 
LVL 11

Accepted Solution

by:
grsteed earned 500 total points
ID: 17100626
If it's the cached credentials your talking about then here's a few articles that talk about that.

http://support.microsoft.com/kb/172931/en-us
http://support.microsoft.com/kb/913485/en-us

There is a registry setting that allows you to effectively disable caching by setting the value to  zero as described in the first article.

It seems like if there a problem with the Domain Controller when the log on they should be getting the message

"A domain controller for your domain could not be contacted. You have been logged on using cached account information. Changes to your profile since you last logged on may not be available."

That should indicate that there will be a problem when they expire.

Cheers,

Gary
0
 

Author Comment

by:mordinad
ID: 17109258
Yeah that's what I've had to do, but there should be an easier way to "check" or "refresh/update" the cached credentials without modifying registry settings.

The items you talked about with repairing the network connection cannot be used, because I am breaking the network connection. The credentials can be refreshed without loss of connection. For these servers I must have constant connectivity thus, we can't reboot or flush the dns.

I'll accept your answers though if no one else out there has a better solution.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Subnetting: Network with six subnets 8 124
2 LAN/WAN on One Server 2 60
Domain Share problems 5 54
RRAS AND DNS 15 46
Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question