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

Need to disable copy/paste in XP PRO sp2

I looked in the database and online. I cant seem to find a viable way of disabling paste functionality. I need to do this for all apps and Explorer. I did find a script but need to find another way, no third party tool either. This is on a local machine, can I do it through a local policy- have'nt found that option either.
Someone has a group policy that locks this down- is there perhaps a way to apply/copy a group policy to a local machine (not part of a Domain)

thanks in advance
0
geewizzz
Asked:
geewizzz
1 Solution
 
SCCMCanuckNetwork AnalystCommented:
Hi Geewizz,

Create a .vbs script with the following code, by creating a new text document through notepad

On Error Resume Next
Set objIE = CreateObject("InternetExplorer.Application")
objIE.Navigate("about:blank")
l=0
DO
objIE.document.parentwindow.clipboardData.SetData "text", ""
Loop until (l>1)

Save the script as the following, in a folder on the server where you store your scripts. For the purpose of this example i am saving the script on the root of C:

C:\disablecopypaste.VBS

Then i would open notepad again and paste this into it:

cmd /c start /LOW wscript.exe "C:\disablecopypaste.VBS"

Save the file as

startcopypaste.bat

I would then attach this batch file to the GPO responsible for this functionality. Since the script is running in low priority mode it should not hog the CPU to terribly much.

Let me know how you make out :)
0
 
geewizzzAuthor Commented:
tx! for the quick response

I found that one online, it was crashing when I tested rapid copy/paste attempts. The script works much better using '.setdata clear'.
User cant use the shortcut key, r click - copy/paste, or the printscreen button...
However, if you r-click drag and drop, selecting 'copy here' --- they can still copy/paste a file to a new location...
Almost there. I guess next is figure a way stop that functionality...

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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