?
Solved

Need to disable copy/paste in XP PRO sp2

Posted on 2009-04-06
2
Medium Priority
?
1,356 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
SCCMCanuck earned 1500 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Determining the an SCCM package name from the Package ID
An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
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.
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…

800 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