Solved

Need to disable copy/paste in XP PRO sp2

Posted on 2009-04-06
2
1,348 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
ID: 24079084
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
ID: 24093201
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update 11/3/2014 - Although the below article will get you to relocate the WINSXS folder, Microsoft has finally released a utility to reduce the size of the WINSXS folder. For some reason, it's not that straightforward. It only works on Windows 2008…
The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

911 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

24 Experts available now in Live!

Get 1:1 Help Now