+ Post New Thread
Results 1 to 15 of 15
Scripts Thread, advice on speeding up logon times. in Coding and Web Development; maybe a script to delete all those temp files from users areas ,any help will be much appreciated. how do ...
  1. #1
    MrPstv's Avatar
    Join Date
    Jun 2007
    Location
    Birmingham
    Posts
    267
    Thank Post
    32
    Thanked 13 Times in 9 Posts
    Rep Power
    17

    advice on speeding up logon times.

    maybe a script to delete all those temp files from users areas ,any help will be much appreciated. how do you guys get round this problem.

  2. #2
    jamin100's Avatar
    Join Date
    Feb 2008
    Location
    Birmingham
    Posts
    1,036
    Thank Post
    141
    Thanked 98 Times in 78 Posts
    Rep Power
    33
    whats in your current startup script?
    Adding more thing at startups will only slow it down.

    I'm having trouble with a printer vbs script runing at startup. Seems to be slowing the logins down considerably.

  3. #3
    MrPstv's Avatar
    Join Date
    Jun 2007
    Location
    Birmingham
    Posts
    267
    Thank Post
    32
    Thanked 13 Times in 9 Posts
    Rep Power
    17
    logon script is fine,problem seems to be with temp files, i cant exactly run ccleaner on every logon to delete temp files but need something similar.

  4. #4

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,568 Times in 1,250 Posts
    Rep Power
    340
    I presume you're using roaming profiles? How big are the profiles? And how many users do you have?

  5. #5
    jamin100's Avatar
    Join Date
    Feb 2008
    Location
    Birmingham
    Posts
    1,036
    Thank Post
    141
    Thanked 98 Times in 78 Posts
    Rep Power
    33
    delprof ?

    This will delete all the profiles on the machines so that they are re-downloaded from the server the next time a user logs on

  6. #6

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,708
    Thank Post
    3,244
    Thanked 1,048 Times in 970 Posts
    Rep Power
    364
    Quote Originally Posted by Hamzah View Post
    logon script is fine,problem seems to be with temp files, i cant exactly run ccleaner on every logon to delete temp files but need something similar.
    Define temp files - which temp files are you reffering to ( can you give us exact or aprox paths )

    Also what about in group policy to enable :

    Computer Configuration\Administrative Templates\System\Logon\

    Always wait for the network at computer startup and logon

  7. #7
    MrPstv's Avatar
    Join Date
    Jun 2007
    Location
    Birmingham
    Posts
    267
    Thank Post
    32
    Thanked 13 Times in 9 Posts
    Rep Power
    17
    delprof is not the way i want to go,will delete profiles at end of academic year,just need to delete temp files all the students have individual logons ,unlike my other school where it is just year band i.e. year6 or year5 ,of which it is so much easier to delete temp files while logged on as them with the help of ccleaner.

  8. #8

    Join Date
    May 2007
    Location
    Suffolk
    Posts
    145
    Thank Post
    2
    Thanked 19 Times in 17 Posts
    Rep Power
    18
    Try adding the logon server IP address and fully qualified domain name into %systemroot%\system32\drivers\etc\hosts

    It's a "It works for us" tip. As there are no doubt good and bad point to doing it.

  9. #9
    MrPstv's Avatar
    Join Date
    Jun 2007
    Location
    Birmingham
    Posts
    267
    Thank Post
    32
    Thanked 13 Times in 9 Posts
    Rep Power
    17
    temp internet files ,well anything that i can delete, needed as space on server is limited at the moment.

  10. #10

    elsiegee40's Avatar
    Join Date
    Jan 2007
    Location
    Kent
    Posts
    10,702
    Thank Post
    1,784
    Thanked 2,169 Times in 1,604 Posts
    Rep Power
    769
    Consider using mandatory profiles. Thread here: Creating a small mandatory profile

    And deleting old cookies - script here: clear old cookies on log off (or log on)

    Emptying the recycle bin by script: Empty recycle bin after n days

    This thread may also be handy: Trimming the size of profiles

    PS Don't have too many scripts, otherwise you'll end up spending ages logging on/off because of the scripts!
    Last edited by elsiegee40; 3rd March 2009 at 01:58 PM.

  11. Thanks to elsiegee40 from:

    MrPstv (3rd March 2009)

  12. #11
    ricki's Avatar
    Join Date
    Jul 2005
    Location
    uk
    Posts
    1,475
    Thank Post
    20
    Thanked 164 Times in 157 Posts
    Rep Power
    52
    HI

    I had a problem once with just certain staff who had roaming profiles. It baffelled me for ages till I saw that the people with problems were storing huge files on the desktop that had to be downloaded every time they log on.

    I had to stop them writing to the desktop and remove all the files back to the persons my documents on the server.

    Just an Idea.

    Richard

  13. #12

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Quote Originally Posted by ricki View Post
    I had to stop them writing to the desktop and remove all the files back to the persons my documents on the server.

    Better than that: I redirect the desktop, application data, favourites etc folders all to equivalent folders on the homedrive, so stuff gets pulled across as required during a session instead of at the beginning of it. Got the profile down to about 500K.

  14. #13

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,708
    Thank Post
    3,244
    Thanked 1,048 Times in 970 Posts
    Rep Power
    364
    instead of emptying recycle bin cant you set GPO to just delete items straight away instead of moving them to recycle bin and then emptying them and make all users fully aware of this

  15. #14

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,154
    Thank Post
    114
    Thanked 527 Times in 450 Posts
    Blog Entries
    2
    Rep Power
    123
    Quote Originally Posted by Polski View Post
    Try adding the logon server IP address and fully qualified domain name into %systemroot%\system32\drivers\etc\hosts

    It's a "It works for us" tip. As there are no doubt good and bad point to doing it.
    If you need to do that then it suggests that your DNS is broken. If you do
    Code:
    ipconfig /all
    at a prompt, what address do you get for your DNS? Is it the correct address for a DNS server on your network (not one external to your network).

    If you then type:
    Code:
    nslookup fullnameofserver.yourdomain.name 11.22.33.44
    where 11.22.33.44 is replaced by the IP you got above, what do you get?

    You can also use DNSLint from Microsoft to get a fuller check of the DNS settings.

  16. #15
    azrael78's Avatar
    Join Date
    Sep 2007
    Location
    Devon
    Posts
    383
    Thank Post
    47
    Thanked 37 Times in 33 Posts
    Rep Power
    20

    Cool

    Quote Originally Posted by jamin100 View Post
    whats in your current startup script?
    Adding more thing at startups will only slow it down.

    I'm having trouble with a printer vbs script runing at startup. Seems to be slowing the logins down considerably.
    Do you mean startup (as in PC startup) or login?
    I've had similar issues with printer scripts, particularly when said printers or print-servers have been turned off by staff...

    A good thing to do at logoff is to remove the mappings for all shared printers, this prevents the shared printers from being dragged around with users, however this is only 'good' when you DON'T want to store printers in user profiles - are using profiles and actually make use of print servers (be it PC boxes as print servers or dedicated endpoint devices).

    I forgot to do the above - and printers from all and sundry followed our roaming profile users (staff) - took me a while to work that one out.

    Peace.

    Az

SHARE:
+ Post New Thread

Similar Threads

  1. Logon Times/Speed
    By mattpant in forum Wireless Networks
    Replies: 86
    Last Post: 6th November 2007, 10:24 AM
  2. Replies: 7
    Last Post: 30th November 2006, 06:57 PM
  3. Logon times
    By wesleyw in forum How do you do....it?
    Replies: 4
    Last Post: 25th September 2006, 06:45 AM
  4. Slimming Down Mandatory Profile Speeding Up Logon
    By ryan_powell in forum Wireless Networks
    Replies: 7
    Last Post: 1st September 2006, 04:08 PM
  5. Logon Times
    By Snuffkins in forum Windows
    Replies: 1
    Last Post: 31st January 2006, 09:48 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •