Solved

Group Policy logoff scripts

Posted on 2012-12-27
10
804 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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

772 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