This conversation is currently closed to new comments. Check the login scripts to make certain that all of the tasks included are being performed. In my experience the only time the login script box remains on the screen is when one of the commands could not be completed, such as mapping a drive letterto a share that is not available. Remove any unnecessary commands. Try not to leave any blank lines in your script and make sure there is a carriage return at the end.
Another good policy is to put a defined wait period into your logon scripts. If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem.
Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended. If you are in windows explorer and right click on a file and choose 'send to' you are given the option of sending the file to a specific application. It is very useful to add notepad to the send to menu because if you double-click an html file, you will not edit it, you will bring up the browser and view it.
Kind of annoying if you just wanted to edit it Now all machines you play with will have notepad available in send to. If you admin win 9x machines, you need doskey to be available. If you don't know what doskey is, then you should probably learn some basic stuff before graduating to the level of login script hacker. This is also a great example of using a lopp in the login script. I personally set up a internal web server to display the usage statistics of our main web site, and had a hosts entry for 'stats' - you can add all sorts of personalized dns style entries this way Honestly this is not that great of a detection for back orifice, but it is a neat little hack - if someone does an off the shelf installation of BO on you, the file size will be in a certain range, and you can detect that file size and mail an alert to the sysadmin This is actually really silly bcase any number of programs could put a file there of that size, and you can wrap BO to be any size you want - but it is a neat little hack and shows some advanced grepping and looping that you can do in a batch file.
You will note that we call mailto. Ok here are some good registry hacks to put in the login script for use in the nt section of the script only So now when you hit ctrl-alt-del to login, you will get a nice little message that you have to say ok to first.
This is good because you can inform people of things like 'all usage is monitored' blah blah - mine looks like this:. This is a private computer system on a private computer network. ALL access is logged and monitored - you should not log on if you object to this policy. Unauthorized users are not allowed, and any attempt to enter the network or this system without permission will result in civil and criminal liabilities.
If you do a lot of messages and add nifty stuff like ascii art and go nuts like that my netowrk has a cool ascii art screen that comes up and pauses with the sleep command for a second or two you may want to clear the screen between messages or groups of messages - just add this command in your script wherever necessary:.
Also, the screen saver that I set in the windows nt portion of the script cannot be done in windows 95 - I tried it for weeks but it won't happen. You see, the win95 screen saver applet works a bit differently, and there is no registry entry for which screen saver to use even though there is a registry entry for all other aspects of the screen saver - it's weird but true Finally, I cannot stress enough how important it is to have a separate section for nt and 95 - as we saw drive mapping is different betwen the two, and there are some registry entries you can change in nt and not on Your email address will not be published.
Learn about the latest security threats, system optimization tricks, and the hottest new technologies in the industry. Over 1,, fellow IT Pros are already on-board, don't be left out! Many solutions to this problem have been suggested, but none I have seen have ever worked correctly as advertised. The solution that I propose has been tested and works in several different installations in many different companies, and the results have been excellent.
Novell and Banyan allow the use of special commands for their logon scripts. Windows NT only allows normal programs, usually contained within batch files. The script above maps four drives and sets the workstation time to match the server.
Simple, and generally effective. But does it do what we really want it to do? Well, mostly it does. Except for the home directory line. That is rather a pain to do every time you need to save a file. But it is also more than that. When I set up Microsoft Office or any other applications, I will configure them to save data to the network. That is one of the major reasons why you install a network. If, on the other hand, someone else needs to use my computer, when they go to save a document while logged on as themselves, errors occur, and you have to go out of your way to save the information.
And that is just with a program as forgiving as Microsoft Office is. If you ever have to roll out disk images on a large number of machines, now, you also have to change the default settings on each and every machine. Or even using the Microsoft Systems Management Server to deliver applications to each machine, you now have to visit each one still; just to make sure you set the right directory up for data.
Suddenly the simple capability is no longer good enough. So, our Holy Grail is to be able to map a drive that is the home directory itself. With this comes two problems.
0コメント