Link to home
Start Free TrialLog in
Avatar of sypder
sypder

asked on

Logon Script

I am looking for a script/program to automatically log into my computer at a specific time. Essentially. I want my Windows computer to be locked from the time I leave the office till say 9am the next morning.

What is the best way to automatically logon to my computer? Thanks.
Avatar of younghv
younghv
Flag of United States of America image

Hi sypder,
You may get some responses about how to do this, but I would strongly recommend against it.
What happens if you're not in the office at 9am?
Anyone who walks by at 9:01 will see your workstation wide open and can perform any function they want - as you.

Do you really want the big boss getting a rude email from YOU?
Is there no file anywhere on your computer that you would rather keep private from anybody who sits down.

If you could describe a little more about what your end goal is, maybe there is a different way to approach it.


Vic
Avatar of sypder
sypder

ASKER

Oh yes.

The office staff comes in at 9am, and I do want them to have access to the computer. I just don't want some stranger that comes in in the middle of the night to have access.

I am not really concerned by the lack of security of having my computer unlock at a specific time.
ASKER CERTIFIED SOLUTION
Avatar of Ian Meredith
Ian Meredith
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
if you want to give access to your data only on your pc, then you can share that data so that others can access it while you are not in office but if you want to give access to the programs on your computer then you may use remote desktop connection or VNC like software so that people can access your pc remotely
you will find VNC here -

http://www.realvnc.com/

http://www.tightvnc.com/

expanding on phadke's comment:

if you're running a windows domain environment you can set "logon hours" or you can set your workstations to "lock" after (x) amount of inactivity. so that way they can walk away and the computer will be protected.

if this is your computer you're sharing (and  not in a domain) then you should probably follow phadke's idea and set up a login for them to use on your computer...

are you running windows xp?

-neo
also, there is no script that can lock/unlock a computer...

so that's out.
You have searche the net for time time or reminder software
Other than asking the cleaner to logon for you, or VNC in to logon, then the software might be the go.
sypder,

Please elaborate on what you want your co-workers to be able to do. Is it data access as has been asked? If others do not have to be able to interactively run programs on this SPECIFIC machine using YOUR account then I highly recommend against setting this up for all the reasons others mentioned above.

With that said I recognize that there are times you do what you have to do.

I have a program I need running that must be interactive in a console session to perform properly. So I set up a script to do what you are trying to accomplish. However, I lock the desktop immediately upon logon but you could skip that step. I accomplished this on an XP Pro system using the freeware program AutoIt.

Krompton
sypder,
As I mentioned last night, automatic (or blank) logons need to be discouraged in any circumstance.

This simplest (and most secure) means to accomplish what you need is to create separate accounts for any of these office workers and let them log on when they arrive.

If you are really - really not concerned at all with security, then make a 'generic' account (with "strong" password) and let the first one in the door log on (then go make coffee).

The 'log on hours' concept is worth looking at, because you can just have the computer available to that 'generic' account from 0900-1700 (or whatever your normal business hours are).

Good Luck,
Vic
Avatar of sypder

ASKER

Thanks everyone for the input. Ian's program looks perfect. In this case, security isn't really an issue.