?
Solved

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

Posted on 2004-03-22
8
Medium Priority
?
495 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 ?
0
Comment
Question by:PaulGibson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
8 Comments
 
LVL 51

Expert Comment

by:Netman66
ID: 10653928
Hi PaulGibson,

Add the Domain Computers security Group to the share permissions.

Regards,

Netman66, MCSE, MCT
Microsoft MVP Team
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 10653939
Does:
 
 Net View \\Servername|find /i "netlogon"

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

Author Comment

by:PaulGibson
ID: 10653975
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.
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
LVL 51

Accepted Solution

by:
Netman66 earned 195 total points
ID: 10653983
PaulGibson,

Beat him senseless then. :o)

Add the single machine account that is running the script then.

There is no security issue simply adding Read permission.
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 10653989
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
0
 

Author Comment

by:PaulGibson
ID: 10661428
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.
0
 
LVL 67

Assisted Solution

by:sirbounty
sirbounty earned 180 total points
ID: 10661896
Perhaps something like this will work?
==================
@echo off
net use \\myserver\netlogon >nul
if not %errorlevel%==0 goto down
REM Delay can be increased by increased 10 to a higher number
ping 127.0.0.1 -n 10
%0

:down
net send myPC "Shares offline"
===================
This would continually run and if the net use command failed, submit a broadcast message to your PC to alert you...
0
 

Author Comment

by:PaulGibson
ID: 10664146
Guys,

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

Thanks for the ideas & suggestions
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
We are witnesses that everyone is saying that our children shouldn't "play" with a technology because it is dangerous. This article is going to prove that they are wrong.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month10 days, 4 hours left to enroll

762 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