Solved

Group Policy logoff scripts

Posted on 2012-12-27
10
815 Views
Last Modified: 2012-12-27
Hello,

I have a Group Policy logoff vbs script that runs successfully when users log off of the network. The vbs script deletes all user and system temporary files, folders and internet temporary files when they log off of the network daily. My plan is to add to vbs script to also remove user's desktop files and local profile files when users logoff the network.

What i'm trying to figure out is .... do group policy logoff scripts execute before or after a copy of the local profile is written back up to the server. What is the normal order? If i'm going to modify the vbs script as mentioned above I would like to ensure that the local profile is written back up to the server first before the group policy executes the logoff script. My internet research so far has not provided me a decent answer.

thanks in advance.
0
Comment
Question by:jslaught
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
10 Comments
 
LVL 9

Expert Comment

by:newmath
ID: 38724849
0
 

Author Comment

by:jslaught
ID: 38724919
Thanks for your feedback but I think you misunderstood my question. I don't have a problem with the vbs script as it works successfully from the Group Policy. I'm just trying to get an answer on if local profiles get saved up to the network before a group policy script is ran during logoff.
0
 
LVL 9

Expert Comment

by:newmath
ID: 38724932
Are you using roaming profiles?
0
Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

 

Author Comment

by:jslaught
ID: 38724958
Yes we use roaming profiles.
0
 
LVL 9

Expert Comment

by:newmath
ID: 38725025
Ah, ok. Logoff scripts run before profile data is copied.
0
 
LVL 9

Accepted Solution

by:
newmath earned 100 total points
ID: 38725030
I'm not sure if this helps you, but there's GPO setting that you can set to not cache a local copy of a user's profile.
0
 

Author Comment

by:jslaught
ID: 38725078
Thanks. So now that I know that logoff scripts run before profile data is copied... there is no way to reverse that? allow profile data to be copied and then delete it? If not then i'll have to think about my other options with this.
0
 
LVL 9

Expert Comment

by:newmath
ID: 38725100
Not that I am aware of. That's baked into AD. Not interested in the local cache disable GPO?
0
 

Author Comment

by:jslaught
ID: 38725157
I just did a quick read on your disable local cache via the GPO suggestion above and that will handle what i'm trying to do. Thanks again for your assistance and knowledge.
0
 
LVL 9

Expert Comment

by:newmath
ID: 38725194
Sounds good. No problem.
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question