Solved

Need to disable copy/paste in XP PRO sp2

Posted on 2009-04-06
2
1,352 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 8

Accepted Solution

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

831 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