How to Log DFS Errors on Windows Clients?

0
5
Asked By TechWhiz123 On

I've written a script that clears the DNS client and Kerberos caches until I hit an error when trying to access \domainname.comsysvol. At that point, a gpupdate operation fails with error 1030, indicating the username or password is incorrect, and the only fix seems to be signing out and back in.

I'm trying to dig deeper into what's causing this issue—could it be related to the DFS client cache? I also want to know if there's a way to enable DFS logging on the client side.

I've noticed that accessing SMB/DFS shares can be unreliable due to caching, meaning I can access them even without a full Kerberos cache being refreshed. However, browsing printer shares appears to behave differently, as after some time it just fails to work until the screen is locked and unlocked with a password.

3 Answers

Answered By MysteryCoder42 On

The script is just for testing purposes, right? Eventually, you'll enable Kerberos logging, which should give you a clearer picture of what's going wrong. Just keep an eye on the cache behaviors, especially with those printer shares!

Answered By QuietPineapple On

You might want to stop running your script for a bit and see if it helps. Just a thought! Sometimes those caches can be tricky, and it might just be a temporary glitch that resolves on its own.

Answered By CuriousNerd88 On

From what I gather, it seems like browsing SMB/DFS shares has a cache that’s a bit hit or miss. Even with an empty Kerberos cache, you might still get access, which is odd. Printer shares, on the other hand, just stop working at some point unless you refresh by locking and unlocking the screen.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.