?
Solved

Group Policy logoff scripts

Posted on 2012-12-27
10
Medium Priority
?
837 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
  • 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
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 

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 400 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 recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

Question has a verified solution.

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

By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
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.

750 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