Information for the IT Community - Tweaks and Solutions for the Microsoft Windows Systems and Linux.

Sep 13, 2011

Software: Virtual CloneDrive

This one allows you to mount an image of a CD/DVD into a Drive and works with XP, Vista and Windows 7.


http://www.slysoft.com/en/virtual-clonedrive.html

Virtual CloneDrive works and behaves just like a physical CD/DVD drive, however it exists only virtually. Image files generated with CloneDVD or CloneCD can be mounted onto a virtual drive from your hard-disk or from a network drive and used in the same manner as inserting them into a normal CD/DVD drive.

Obtaining the Machine Serial Number in command-line

There is a simple command-line command that can return the machine serial number (and other information of-course).
The command:

wmic bios get SerialNumber

Returns:
SerialNumber
TheSerialNumber


Sep 12, 2011

Powershell: Enable running unsigned scripts

To enable Powershell profile (it's an unsigned ps1) you must set the policy to either:
- RemoteSigned – Downloaded scripts must be signed by a trusted publisher before they can be run.
- Unrestricted – No restrictions; all Windows PowerShell scripts can be run.

Execute the command in a PS shell, with an administrative user:

Set-ExecutionPolicy Unrestricted

Mar 30, 2011

Debian Tips - sudo

How to add a regular user to the list of sudoers?


run the following command (with root):
usermod user -G sudo

Note: You must finish the user session if you want the sudo command to work.