Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

2nd logon script permissions

Posted on 2003-11-13
9
Medium Priority
?
288 Views
Last Modified: 2010-04-11
My logon script calls to another logon script that Only has read permission to certian users. This is working ok on the windows 2000 machines. If they dont have permision to read the second logon script then its ignored. But the windows 98 machines are throwing a fit. If the windows 98 machine doesnt have permision to read the 2nd logon script it doesnt procede any farther and gives the error message "access denied xxxxx.bat" over and over forever.

Is there any work around for this?

Thanks,
AD
0
Comment
Question by:illtbagu
[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
  • 4
  • 3
9 Comments
 
LVL 1

Expert Comment

by:aelroy
ID: 9743526
Can you modify the first logon scripts to not include the embeded one?

I will start from 2 assumptions. One that the people authorized to access the second script are on Win 2000 pcs, the other that there is no dependency between the 2 scripts. If this is correct I would simply split the two, and then use the Task Scheduler to run the other one on the Windows 2000 machines upon logon.

Amos - THe Keymaker
0
 
LVL 1

Author Comment

by:illtbagu
ID: 9743710
No actually they are the windows 98 machines I am targeting here, I am giving permision to read the file by user name, everyone else that isnt specificaly given read rights is denied access to this batch file. that way if there username isnt specifically assigned read access to the batch file then they cant run it.

batch file 1 calls to batch file 2 and if you have been given permission to read batch file 2 then it is run. if you have not been given permision to read batch file 2 then it cant be run. And if the windows 98 machine doesnt have read access to this file its throwing a fit.

Thanks,
AD
0
 
LVL 35

Expert Comment

by:ShineOn
ID: 9745438
Can you add those specific users to a group, and only launch the secondary login script if the user is a member of the group?
0
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 
LVL 35

Expert Comment

by:ShineOn
ID: 9745441
I think the problem is relying on permissions as a boolean for the secondary script rather than natural booleans like group membership.
0
 
LVL 1

Author Comment

by:illtbagu
ID: 9748642
Not sure I will give it a try when I get a chance. What i was looking for was some sort of If variable that looks to see what permission the file has. Is this possible. Im sure I have read somewhere that you can do this with "read only attributes (attributes in right click on a file and select read only or hidden)" but im not sure about permisions (hope that made sense).

Thanks,
AD
0
 
LVL 35

Expert Comment

by:ShineOn
ID: 9749038
It's easier to have an "IF" that checks for group membership...
0
 
LVL 1

Author Comment

by:illtbagu
ID: 9751897
Can't do that our anti virus is constantly changing the logon script this would make it a pain for me. The anti virus uses the logon script to do updateing. I just need a simple solution so when windows 98 tries to run a batch file if it doesnt have access to it doesnt flip out.
0
 
LVL 35

Accepted Solution

by:
ShineOn earned 500 total points
ID: 10026769
I gave the only answer I could think of.  I don't really get why it wouldn't work for the questioner, or what the antivirus would have to do with it, but they have to be the judge.

0

Featured Post

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

730 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