[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 516
  • Last Modified:

Logout Script to Delete file

I have a group of users who access remotely through rdc/terminal services.  I have recently been having a problem where the template file for Word (normal.dot) is constantly getting corrupted and causing Word and Outlook to bomb.

I can't figure out why this is happening, but I know if I delete the file and let it recreate itself the next time the user logs in, the problem goes away (at least for a period of time).  I want to try to figure out why this is happening, but in the meantime, I would like to insert a logout script for these users to delete normal.dot from their local Documents and Settings when they logout, thus creating a new one every time the user logs in.

I am not a programmer, but I think this is a fairly simple thing I want to do.

Can anyone give me some guidance as to how to attack this?

1 Solution
There is a lot of good information here:

Since this is a global template file, you might consider creating your settings and saving this as your template. Then, making this template a read only file.

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now