Reply
Old January 21st, 2009 Top | #1
 
JasonPoS's Avatar
OSNN One Post Wonder
Joined: January 2009
Posts: 1
Reputation: 0
Power: 0

Default Logon Script for a given user

Hi All,

I am new to the log on script i need some advice

what i want to do is set up 2 log in scripts the first one would do the following

> Delete all temp files form the system
> set date format to DD/MM/YYYY
> set time format to HH:MM
> set PC time to the same time as the server
> Set the shell option to C:\BarPoS\BarPoS.exe

the second one would do the following
> Delete all temp files form the system
> set date format to DD/MM/YYYY
> set time format to HH:MM
> set PC time to the same time as the server

The second one is used by Admin user ID and the first one is by PoSUser (locked down)

While the script is running i would like it NOT To show the DOS window but show a graphcial HTML page

How can I do this?

advice or code MOST welcome as I have NO IDEA how to do this


Thanks

Andy
JasonPoS is offline   Reply With Quote
Old March 20th, 2009 Top | #2

OSNN Folding Team  
fitz's Avatar
XPista7eopard*ix
Joined: April 2004
Location: Chicagoland
Posts: 4,014
Reputation: 2947
Power: 164

Default Re: Logon Script for a given user

1) what language do you want to write your login script in?
2) Is this on a domain?

3) I would recommend using group policy to set the windows shell (see this for more info on setting the shell and a locked down desktop over group policies).

Actually, you can use group policies to delete the temp folder at logoff as well.. you could create a batch file to do a recursive search for all *.tmp files, but that's really over kill and will slow down your login significantly.

You could also create a custom ADM template to use in group policies to change the regional/time settings that you want to change.
fitz is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Logon Script: Creating a specific shortcut on all users desktop? Punkrulz Web Design & Coding 4 October 4th, 2007 12:12am
Another Logon Script Problem jonny813 Windows Server Systems 10 March 14th, 2007 4:19pm
a logon script to update/copy current antivirus def rsuguna1 Windows Desktop Systems 2 March 16th, 2005 5:45pm
Creating Logon script IDLE Windows Desktop Systems 0 March 30th, 2004 9:57pm
sending a message to MSN user w/java script the_music_man Web Design & Coding 6 March 6th, 2004 2:58pm