+ Post New Thread
Page 5 of 5 FirstFirst 12345
Results 61 to 75 of 75
Windows Thread, Script to delete profile at log off? in Technical; Domain Guests is great, BUT the profile is not saved back to the server if this is set. So don't ...
  1. #61

    elsiegee40's Avatar
    Join Date
    Jan 2007
    Location
    Kent
    Posts
    10,786
    Thank Post
    1,789
    Thanked 2,180 Times in 1,615 Posts
    Rep Power
    771
    Domain Guests is great, BUT the profile is not saved back to the server if this is set. So don't do it on roaming profiles, otherwise you'll get complaints.

  2. #62

    Join Date
    Sep 2009
    Location
    Elkton, Maryland
    Posts
    13
    Thank Post
    0
    Thanked 6 Times in 1 Post
    Rep Power
    11
    Quote Originally Posted by elsiegee40 View Post
    Domain Guests is great, BUT the profile is not saved back to the server if this is set. So don't do it on roaming profiles, otherwise you'll get complaints.
    They are STUDENTS -- no roaming profile for them to save bandwidth. Thanks for the caution.

  3. #63

    elsiegee40's Avatar
    Join Date
    Jan 2007
    Location
    Kent
    Posts
    10,786
    Thank Post
    1,789
    Thanked 2,180 Times in 1,615 Posts
    Rep Power
    771
    Quote Originally Posted by LinuxGold View Post
    They are STUDENTS -- no roaming profile for them to save bandwidth. Thanks for the caution.
    I've got in on my students as well

  4. #64

    Join Date
    Sep 2009
    Location
    Elkton, Maryland
    Posts
    13
    Thank Post
    0
    Thanked 6 Times in 1 Post
    Rep Power
    11


    I've been having hard time trying to explain what "profile" means to teachers. They assign a number on laptop so student will return back to certain laptop to retrieve their files. It is a headache for them to keep up with which laptop go to whom. I need to figure out a way to explain why students have their OWN home drive, networked to a server and that students can log in ANYWHERE as long as they kept their files on H: drive. Is there any article on Internet that introduces a non-technical audience to Windows profile and how they are different to network drive? I find explaining "A-B-C" of basic computer jargons very difficult.

  5. #65

    elsiegee40's Avatar
    Join Date
    Jan 2007
    Location
    Kent
    Posts
    10,786
    Thank Post
    1,789
    Thanked 2,180 Times in 1,615 Posts
    Rep Power
    771
    As far as my teachers and students are concerned, nothing is stored on any computer and everything is stored on the servers. I demonstrate this by showing them that they can't see the C: drive in My Computer because 'it isn't there' (I know ) If the computer/laptop they are using can't talk to the servers, they can't access their files. I don't mention profiles and it's generally understood that anyone can log on anywhere... except the office because the computers there are different.

    The office computers aren't different, but it keeps the office staff happy!

  6. #66

    Join Date
    Mar 2010
    Location
    Leeds
    Posts
    418
    Thank Post
    77
    Thanked 46 Times in 41 Posts
    Rep Power
    18
    This worked a treat thank you very much.

  7. #67

    Join Date
    Dec 2010
    Location
    Ellensburg, WA
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by Behuck View Post
    I, too, want (need) a logoff script that will selective delete LOCAL profiles - selective as I want to delete the students' local profile, but not my admin1, administrator, or the teacher's profile.
    I have been looking for a method to do the same thing. We did not have this problem until we moved to Novell ZCM10.x.x. Prior to that change our students had volatile profiles (except grad students) and the profile was deleted at logoff. Now the system tries to delete the profile from Windows XP Pro at logoff. It deletes the registry entry but can not delete the directory. For that reason, when the student logs on next time it tries to create a new profile but because the directory already exists it makes a second profile such that a directory and profile now exists such as username, username.hostname.001, username.hostname.002. etc. Even admins are having that problem so even though their profile already exists it still tries to create another one and another one.

    We do not use domains and use Novell networking as our network os. Has anyone else moved to Zen10 and run into this same problem? How were you able to delete the profile crumbs?

    Thank you.
    Last edited by ChrisH; 6th December 2010 at 10:44 PM.

  8. #68
    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

    Just be careful and dont apply the script to laptops and machines with local profiles or you will not be popular.

    Richard

  9. #69
    OND
    OND is offline

    Join Date
    Jan 2012
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by elsiegee40 View Post
    Domain Guests is great, BUT the profile is not saved back to the server if this is set. So don't do it on roaming profiles, otherwise you'll get complaints.
    Thanks for the headsup!...
    Is there a way to delete all the profiles AFTER they are stored/saved on a server?

    That would help me out allot!

    Cheers,
    OND.

  10. #70
    36Degrees's Avatar
    Join Date
    Jan 2010
    Location
    Nottingham
    Posts
    1,059
    Thank Post
    165
    Thanked 153 Times in 124 Posts
    Rep Power
    52
    We run a startup script to clear the machine of profiles - that way they are saved to the server at log off but don't clog the machine.

  11. #71
    OND
    OND is offline

    Join Date
    Jan 2012
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by 36Degrees View Post
    We run a startup script to clear the machine of profiles - that way they are saved to the server at log off but don't clog the machine.
    36Degrees,

    Thanks for sharing that information.
    Is it possible to pm/show me that script...so we can learn from it and maybe also use?

    Thanks,
    OND.

  12. #72
    36Degrees's Avatar
    Join Date
    Jan 2010
    Location
    Nottingham
    Posts
    1,059
    Thank Post
    165
    Thanked 153 Times in 124 Posts
    Rep Power
    52
    No problem - pretty sure I found it on the web (here?) and amended it accordingly. Just amend as necessary where I've put notes (REM) and save as a batch file and run as a startup script.

    Code:
    @echo off
    c:
    cd\
    cd "c:\Documents and Settings\" REM Path to where profiles are on the local machine
    dir *.* /b /o:d > \dirs.txt
    for /f "tokens=*" %%a in (\dirs.txt) do call :DelFiles "%%a"
    del \dirs.txt
    exit /b
    
    :DelFiles %1
    set Flag=0
    if %1=="All Users" set Flag=1 REM Don't delete All Users profile
    if %1=="Administrator" set Flag=1 REM Don't delete Administrator profile
    if "%Flag%"=="0" ( 
    cd %1 
    attrib *.* -r /s
    cd..
    rem change rd %1 /s /q
    rem for no confirmation 
    rd %1 /s /q
    )
    Last edited by 36Degrees; 11th January 2012 at 01:08 PM.

  13. #73
    OND
    OND is offline

    Join Date
    Jan 2012
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thank you very much!
    I appreciate it very much...i will look into it and try to configure it for our use!

    Thanks again!
    OND.

  14. #74
    bio
    bio is offline
    bio's Avatar
    Join Date
    Apr 2008
    Location
    netherlands
    Posts
    520
    Thank Post
    16
    Thanked 130 Times in 102 Posts
    Rep Power
    37
    I wrote an article a while ago.. it might help others.

    bio..

  15. Thanks to bio from:

    speckytecky (25th January 2012)

  16. #75

    Join Date
    Jan 2010
    Location
    Colorado
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I'm trying to implement profile deletion using the local guests account. I have added the students group to the local guest account. The student profile that is created is a temp profile, but the temp profile is not being deleted at logoff. We are not using Roaming Profiles. Any ideas why the temp profile is not being deleted? Thanks
    Last edited by pesposit; 15th February 2013 at 02:29 PM.

SHARE:
+ Post New Thread
Page 5 of 5 FirstFirst 12345

Similar Threads

  1. Script to Delete Profiles - PLEASE HELP
    By Mr_M_Cox in forum Scripts
    Replies: 13
    Last Post: 22nd February 2013, 03:53 PM
  2. Replies: 8
    Last Post: 17th November 2007, 09:04 PM
  3. need a script to delete shortcuts
    By philtomo-25 in forum Scripts
    Replies: 2
    Last Post: 1st November 2007, 03:50 PM
  4. Delete Profile on LogOff
    By roland in forum How do you do....it?
    Replies: 11
    Last Post: 20th September 2007, 09:43 PM
  5. Script to delete printer
    By tosca925 in forum Scripts
    Replies: 2
    Last Post: 31st August 2005, 07:45 PM

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
  •