Unable to make file Filename available offline

Reading Time: < 1 minute

When you attempt to make your files and folders offline the below error appears:

Offline files (\\server\share): Unable to make file Filename available offline on \\server\share. Files of this type cannot be made available offline.

This error is usually caused when you try make one or more of the below files offline.

.db?
.ldb
.mdb
.mde
.mdw
.pst
.slm

If you are experiencing the above error, it is possible that the file extensions have been removed from the list of default excluded files. The above file extensions are exluded by default.
To check or re add the extensions, please follow the below:
1) Access the Policy which you wish to amend or create a new one and link as required
2) Expand Computer Configuration
3) Expand Administrative Templates
4) Expand Network
5) Click Offline Files
6) Click Files not cached
7) Next type the following extensions to exlude: *.slm;*.mdb;*.ldb;*.mdw;*.mde;*.db?
8.) Save

For further details, see Microsoft KB252509

I would recommend you test the above solution before applying live to the whole network.

Unable to open links within Outlook

Reading Time: < 1 minute

You come across an issue where when trying to click on a link within an email you receive the error below. You have tried resetting your Explorer settings, cleared cache but still not able to resolve the issue.

Error: “The operation has been canceled due to restrictions in effect on this computer. Please contact your system administrator”

Try this: Install another browser such as Firefox and set as your default browser. Next, close Firefox, reopen Internet Explorer and change your default browser back to Internet Explorer. Reopen Outlook and try clicking the link again.

Cannot delete folder: There has been a sharing violation

Reading Time: 2 minutes

If you come across a situation where you are unable to delete a file and receive one of the errors below:

Cannot delete file: Access is denied
Cannot delete folder: There has been a sharing violation
Cannot delete file: It is being used by another person or program
Cannot delete folder: Make sure the disk is not full or write-protected and that the file is not currently in use.

Try the following:

1) Check that the file is not being used by another person. Access the server where the file is stored, right click My Computer, click manage, expand shared folders, click open files and check to see if the file is open.

2) If you find no one has the file open, download and run unlocker. Can be downloaded at: http://ccollomb.free.fr/unlocker/ . Once installed, right click on the file and click unlocker. Unlocker will help you kill the process or give you the option to delete the file when the server is next rebooted.

3) If unlocker is unable to locate the process or after a reboot, you find files are still being locked, the issue may be your Anti Virus software. I have come across this issue with McAfee 8.5. Disable the on access scanner or stop the McAfee services. Test again. If the issue is AntiVirus, see the Anti Virus developers website for patches to resolve the issue.

If you’re using McAfee 8.5 and have not yet installed any patches, see https://kc.mcafee.com/corporate/index?page=content&id=KB60415

One of the issues resolved in the above McAfee fix is shown below:

    3.  ISSUE:
    Some files remain locked indefinitely. Third-party
    tools indicate that McShield.exe was leaking
    handles, thereby locking the file.

Please be careful when applying any updates, make sure you hold a successful backup of your server before attempting to update. If unsure, please see an I.T Professional.

Terminal Server License Expired

Reading Time: < 1 minute

If you find that a user is experiencing issues with accessing a server via RDP/Citrix as their terminal server license has expired, its most likely that they were using a temporary license.

If you believe that you have enough licenses, follow the below to resolve the issue:

1) Click start and run
2) Type regedit and click ok
3) Expand HKEY_LOCAL_MACHINE
4) Expand Software
5) Expand Microsoft
6) Rename the folder MSLicensing to MSLicensing.old

Ask the user to test again. A new folder named MSLicensing will be created.

Please be careful when editing the registy. Make a backup in case issues arise. If unsure, please get in touch with someone who knows what their doing.

Any questions, please get in touch by submitting a comment

Delete files older then a number of days

Reading Time: < 1 minute

If you wish to delete files older then a certain number of days, copy the code below and paste to a notepad file. Next, save the file with an extension of .vbs e.g. delete.vbs

Dim fso, f, f1, fc
Set fso = CreateObject(“Scripting.FileSystemObject”)
Set f = fso.GetFolder(“C:\WINDOWS\Temp”)
Set fc = f.Files
For Each f1 in fc
If DateDiff(“d”, f1.DateLastModified, Now) > 30 Then f1.Delete
Next

 

You can amend the file path on line 3 and the number of days on line 6. Currently the script is set to delete files from C:\WINDOWS\Temp which are older then 30 days.

I would highly recommend that you test the script before applying to a live environment. Once happy, you can run manually or add to a scheduled task to run automatically.

Please note: you will not be prompted to confirm yes or no, before the files are deleted.