Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Thursday, September 13, 2012

Disable/Prevent USB Storage Device Access in Windows


It might be necessary to restrict access to removable devices mainly due to security. By restricting the USB ports you can make sure that unauthorized contents remain safe in your computer. Another point is that USB thumb drives are a major source of viruses. You can achieve this in one of the following ways.

Disable Windows 7 Built-in CD and DVD Burning Features


For various reason you may need to disable the default CD/DVD burning feature in windows 7. One can be security concern so that people will not be able to burn unauthorized content from your computer. This can be accomplished in either of the following way.

Windows Error - The requested operation requires elevation


When trying to execute an administrative command in Windows 7 command prompt I came around the following error -

The requested operation requires elevation

Remote Desktop Connection Default Session Command

When I connect from Windows 7 PC to our Windows 2003 server using Remote Desktop Connection, RDC connect me to a different session. But I need to connect to the default admin session when I log in to the server physically because if I connect to a different session I could not access my software agents that are already running and I cannot run two agents at the same time.

To overcome this issue I used the following command


mstsc /admin
or
mstsc /v:IP /admin
where IP is Windows servers IP.

Windows Batch File To Delete Specified Files & Folders


To delete files and folders in G:\Test open notepad and copy the following command. Please take note that modify the path and date according to your requirement.