Jump to content

Dos Help For Script


Recommended Posts

i am currently the admin of a novell network, and we have casel, and deepfreeze installed on everycomputer, students log in as power users, some of the students have been abusing the net send command in dos, i do not want to go to every computer in the school and log in, unthaw it, delete the net.exe , reboot, and freeze them... i had an idea of adding somthing to the login bat file that runs whenever a user boots, is there a command that i can make it so when they type net in dos, it dosn't reffer to C:\system32\net.exe, and make it run to a file on the network?

Link to comment
Share on other sites

Actually, I have just been thinking about this, and you should be able to use a batch file to run cacls to change the file attributes for net.exe, so it is for admin only.

I think the line should go something like this

cacls c:\system32\net.exe /E /D user

replace user with whatever the poweruser account is called (I assume you have single computer accounts which are force logged in), eg student

I am not able to verify that syntax at the moment, so I suggest you check properly prior to using it. Have a play, you may prefer to revoke or simply change some of the rights, rather than removing them.

Good Luck.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy