SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

While following instructions here to add a custom template for a document library I uploaded the wrong file. (Basically I opened the list in Windows Explorer and navigated to the "Forms" subdirectory, where I pasted the file).

I am now unable to delete the file via Explorer - explorer will remove the file from view but if I "refresh" then it returns into view.

How do I delete the unnecessary file?

share|improve this question

All site templates are saved in Content Database however you can un install then using the Uninstall-SPSolution powershell command

Uninstall-SPSolution [-Identity] <SPSolutionPipeBind> [-AssignmentCollection <SPAssignmentCollection>] [-Confirm [<SwitchParameter>]] [-Language <UInt32>] [-Local <SwitchParameter>] [-Time <String>] [-WhatIf [<SwitchParameter>]]

MSDN tutorial for Uninstalling SPsolution

Hope it helped :)

share|improve this answer
Thanks for responding. Unfortunately I don't see how that will help since I did not use a solution to install the templates. – Chloraphil Aug 24 '12 at 21:20
you should give it a try tho it doesn't matter which way you installed it or uploaded it but you should try all ways you can un install it. – Learner Aug 28 '12 at 8:10
I don't have a solution! Just a file I copied into a folder via WebDav, per my question. – Chloraphil Aug 28 '12 at 12:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.