We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Test NetLogon share is available & accessable using utility runing as "LocalSystem" Account

PaulGibson
PaulGibson asked
on
Medium Priority
516 Views
Last Modified: 2010-04-13
Hello,

    I have a requirement to test that the netlogon share is available & accessable,  in order to do this we have an application running as LocalSystem on the server which runs scripts to check its shared and accessable.

The scripts works fine when running as Administrator but it fails when runing using the local system account.

Any idea ?
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2005

Commented:
Hi PaulGibson,

Add the Domain Computers security Group to the share permissions.

Regards,

Netman66, MCSE, MCT
Microsoft MVP Team
CERTIFIED EXPERT
Top Expert 2007

Commented:
Does:
 
 Net View \\Servername|find /i "netlogon"

work for you from a command prompt? (Start->Run->CMD)

Author

Commented:
Netman66,

       Not an option,  security guy won't allow it :/

sirbounty,

      yes that works fine to verify that the share is shared but it doesn't tell me I can connect to it.

The script I'm running is doing  a   net view \\servname\netlogon |find /i "netlogon"  if it does find it it generates a message saying it doesn't exist
I then do I dir \\servername\netlogon and depending on the error level I'm either doing nothing or generating another message that its inaccessable.

both work fine from the admin account but the local system account doesn't want a bar of it.
CERTIFIED EXPERT
Top Expert 2005
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT
Top Expert 2007

Commented:
That's a problem with LocalSystem, I'm afraid...

Can you elaborate on your script?  Maybe there's another way.

One that comes to mind, if it's feasible is to schedule a report remotely...

Server1, 2 & 3 would all have the following schedule:

net share|find /i "netlogon" > c:\Netlogon.rpt

Then, you'd have to copy all rpt files from the remote servers, but you could do that with a script running as admin.

Otherwise - more details, please. :D

Author

Commented:
netman66,
               YEs that was my initial thought untill I met the guy face to face.....  lets just say the guy reminds me of brock lesner except a whole lot smarter  :)


sirbounty,

          The script is for ensuring the servers are up & users can connect as previously we have had quie a few issues where users could not connect to shares.  Its not so much a reporting thing is a monitoring thing,  if the shares are not available we want to know about it prefferably before the users do.
CERTIFIED EXPERT
Top Expert 2007
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Guys,

    No cigar but I at least had fun beating the security guy up!   ;)

Thanks for the ideas & suggestions
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.