Solved

Need to disable copy/paste in XP PRO sp2

Posted on 2009-04-06
2
1,347 Views
Last Modified: 2012-08-14
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
Comment
Question by:geewizzz
2 Comments
 
LVL 7

Accepted Solution

by:
Christopher Nienaber earned 500 total points
Comment Utility
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
 

Author Comment

by:geewizzz
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now