K
kevin bailey
I have a domain with dozens of Windows XP Pro PC's.
The users log on to the domain.
When they logon the batch file logon.bat is run.
I want to put something is this file which will defrag the users C: drives
as they log on.
1. please don't answer
defrag.exe c:
The users do not have administrator permissions (obviously) as they are
users. Also we have enabled group policies to only allow the users certain
privileges.
2. Please do not mention anything which involves running around to all the
PC's. I want a command/commands which I can add to the logon.bat file
only.
3. Please do not criticise running defrag every time a user logs on. We had
this for the Win98 PC's and the system worked so well (with other things)
that we had stable Win98 PC's running for years.
So - commands in the logon.bat file - and that's it.
Cheers,
Kevin
For a Brucie bonus I'd appreciate the code which means we can choose to run
Win98's defrag for the Win98 PC and the new defrag for the Win XP PC's.
Probably some sort of conditional based on ver.
The users log on to the domain.
When they logon the batch file logon.bat is run.
I want to put something is this file which will defrag the users C: drives
as they log on.
1. please don't answer
defrag.exe c:
The users do not have administrator permissions (obviously) as they are
users. Also we have enabled group policies to only allow the users certain
privileges.
2. Please do not mention anything which involves running around to all the
PC's. I want a command/commands which I can add to the logon.bat file
only.
3. Please do not criticise running defrag every time a user logs on. We had
this for the Win98 PC's and the system worked so well (with other things)
that we had stable Win98 PC's running for years.
So - commands in the logon.bat file - and that's it.
Cheers,
Kevin
For a Brucie bonus I'd appreciate the code which means we can choose to run
Win98's defrag for the Win98 PC and the new defrag for the Win XP PC's.
Probably some sort of conditional based on ver.