+ Post New Thread
Page 3 of 3 FirstFirst 123
Results 31 to 39 of 39
Windows Thread, Limit Offline Files for 1 user account in Technical; Stupid me :-(...
  1. #31

    Join Date
    Feb 2007
    Location
    Stockport
    Posts
    853
    Thank Post
    258
    Thanked 105 Times in 81 Posts
    Rep Power
    39
    Stupid me :-(
    Last edited by Iain.Faulkner; 10th December 2009 at 02:51 PM.

  2. #32

    Join Date
    Dec 2009
    Location
    Liverpool
    Posts
    26
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    hopefully i'll get chance to try it out somewhere and i'll let you guys know the outcome!

    Jsnetman, AiT, Iain... 10 scooby snax each for you guys.... You've been most helpful! I'm gonna be askin alot more technical stuff on here from now on (unlucky! haha)

    Jsnetman, you should defo look into what that loop-back offers.... it's mucho handy being able to set user settings based on the PC a user is sat at rather than just there username.
    Last edited by Andy_Corrin; 10th December 2009 at 02:58 PM.

  3. #33
    jsnetman's Avatar
    Join Date
    Oct 2007
    Posts
    887
    Thank Post
    23
    Thanked 134 Times in 126 Posts
    Rep Power
    39
    Think I have found the answer to the problem: http://support.microsoft.com/kb/811660

    Note This list of primary users affects only the Offline Files feature. No other Windows component uses this list, and Microsoft does not support any other use of this list.

    To apply this feature change, follow these steps:
    Click Start, click Run, type regedit, and then click OK.
    Locate and click the following registry subkey:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\NetCache
    Click Edit, point to New, and then click Key.
    Type PrimaryUsers, and then press ENTER to name the new key.
    Click PrimaryUsers, click Edit, point to New, and then click DWORD Value.
    Use one of the following formats to type a user name:
    domain\username
    S-1-5-21-397955417-626881126-188441444-2201386
    This is a user account security ID (SID) in text form.
    Click NetCache, click Edit, point to New, and then click DWORD Value.
    Type PurgeNonPrimaryUserFilesAtLogoff, and then press ENTER to name the value.
    Double-click PurgeNonPrimaryUserFilesAtLogoff.
    In the Value data box, type 1, and then click OK.
    Warning You must coordinate the addition of this registry key with the existing PurgeAtLogoff system policy. This policy is activated in Group Policy through the following path:
    Computer Configuration\Administrative Templates\Network\Offline Files\At logoff, delete local copy of user’s offline files

    If you enable this policy, the PurgeNonPrimaryUserFilesAtLogoff registry value is ignored, and files for non-primary users will not be removed.

    Now the trick would be to enter the reg value automatically for the primary user.

  4. Thanks to jsnetman from:

    teejay (10th December 2009)

  5. #34

    teejay's Avatar
    Join Date
    Apr 2008
    Posts
    3,176
    Thank Post
    284
    Thanked 773 Times in 583 Posts
    Rep Power
    335
    Quote Originally Posted by Andy_Corrin View Post
    If thats set in GPO.... does that mean i'd have to give each laptop account its own specific GPO? How else will it distinguish which users home drive to Sync and exclude every other user?

    Appreciate your help alot
    No, you can do it by setting the security permissions on the Group Policy so that only the members of staff you want to allow to do this can read the policy.

  6. #35

    Join Date
    Dec 2009
    Location
    Liverpool
    Posts
    26
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    jsnetman,

    That pretty much sounds bob on what we want to happen.... i like the the notion of a 'primary' users.

    just to clarify a few bits....

    "Use one of the following formats to type a user name:
    domain\username
    S-1-5-21-397955417-626881126-188441444-2201386
    This is a user account security ID (SID) in text form."

    so these are 2 methods? either 'domain\username' OR the SID? i think i could work with the 'domain\username' to automate something given enough play-time.

    I tell you what tho, if these features exists (which it obviously does judging by these regkeys) would it REALLY have been that hard for Microsoft to add a button in GUI to set it up properly???? i mean, c'mon Bill.... sort it out eh??? haha

    Cheers matey, I'll try your way first!

  7. #36

    Join Date
    Dec 2009
    Location
    Liverpool
    Posts
    26
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Teejay,

    The prob with that bud, is all teachers are in the same group membership and all exist in one OU.... i couldnt distinguish one teacher from another with restrictions based on a policy or distribution group.

    The problem is teachers using other teachers laptops.... not, say, pupils using teachers laptops.

    Cheers buddy

  8. #37
    jsnetman's Avatar
    Join Date
    Oct 2007
    Posts
    887
    Thank Post
    23
    Thanked 134 Times in 126 Posts
    Rep Power
    39
    You could use a vb script to write the registry key including pulling the logon name into the script at user logon then use regedit /s to add the key. But the downside is what happens if someone logs on who is not the primary user???

  9. #38

    teejay's Avatar
    Join Date
    Apr 2008
    Posts
    3,176
    Thank Post
    284
    Thanked 773 Times in 583 Posts
    Rep Power
    335
    Quote Originally Posted by Andy_Corrin View Post
    Teejay,

    The prob with that bud, is all teachers are in the same group membership and all exist in one OU.... i couldnt distinguish one teacher from another with restrictions based on a policy or distribution group.

    The problem is teachers using other teachers laptops.... not, say, pupils using teachers laptops.

    Cheers buddy
    You create a group policy for the setting you want, go to properties, security and remove Authenticated Users from the security list. Then add the Teacher or a secuirty group and give them Read and Apply Group Policy permissions.

    Edit: Ignore this, having a brain fade & didn't read your post properly !
    Last edited by teejay; 10th December 2009 at 03:24 PM.

  10. #39

    Join Date
    Dec 2009
    Location
    Liverpool
    Posts
    26
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Yeah,

    Think i'll just have to get all the right people to log onto their laptops at one particular time to set them as the primary user on their laptops. well worth the effort if it works.

SHARE:
+ Post New Thread
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Offline Files
    By spider6986 in forum Windows
    Replies: 3
    Last Post: 4th March 2009, 10:14 AM
  2. Replies: 14
    Last Post: 26th November 2008, 10:10 AM
  3. Setting a time limit a user can use a computer
    By FN-GM in forum Wiki Announcements
    Replies: 3
    Last Post: 20th August 2008, 03:23 PM
  4. offline files
    By browolf in forum Windows
    Replies: 2
    Last Post: 25th July 2007, 10:44 AM
  5. Limit processor/mem usage on per user basis
    By CyberNerd in forum *nix
    Replies: 4
    Last Post: 31st January 2007, 06: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
  •