ICT Stuff

Here's a list of handy ICT information, useful for after our computer migration:

Manually mapping a netowrk drive

Running commands as localadmin

Fixing lmgrd.exe error

Accessing SMB network shares on old TNW network Mapping printers as localadmin

Maping a network drive manually:

If you are logged into an installed PC as localadmin, you will not have any of the network drives mapped for you automatically. However, as long as you are on the managed, installed, or SetupPC networks, you can always manually map a network drive.

For example, to map the group drive using your netid, go to "My Computer", then to "Tools/Map Network Drive", and enter the following:

Drive:    K:
Folder:   \\tudelft.net\staff-groups\TNW

Then click on "Connect using a different user name" and enter:

User name:   DASTUD\(your netid)
Password:    (your password)

This will stay connected until you log out of the computer. If you log out and log back in again, you will have to reneter your username and password to reconnect the drive.

You can also map subdirectories: for example if you want the "K:" drive to start directly at "\ns\qt\nanotubes" so that you don't have to browse through stuff you don't care about, enter

\\tudelft.net\staff-groups\TNW\ns\qt\nanotubes 

as the folder instead of

\\tudelft.net\staff-groups\TNW 

Other useful network locations are:

Folder location Description
\\tudelft.net\staff-homes\D\johndoe John Doe's personal data directory
\\srv125\staff-bulk\TNW Bulk storage
\\srv127\ghost Ghost images
\\srv052\package$ Software Packages

You can also browse to these directly without mapping a network drive by typing the folder location directly into the address bar on "My Computer", or into the windows "Run" dialog box.

You can also write some simple batch files for mapping and unmapping drives such as these: map_drives.bat and unmap_drives.bat.

Running commands as administrator

You can run a command as administrator by opening the "Run..." dialog box (WindowKey-R) and typing

 runas /user:localadmin c:\my_program.exe 

You can also install these registry keys, which will give you a "Run-as" menu item when you right-click on executable files in explorer.

For an excellent overview of other Windows XP commands, see http://www.ss64.com/nt/.

Note: you will not be able to access network drives as localadmin, so the program you want to execute must be stored on the local drive.

Fixing lmgrd.exe error

The default matlab install has a badly configured setting for the license manager, which results in a error about "lmgrd.exe" on startup. You can fix this in the "Computer Management\Services"

Accessing SMB network shares on old TNW network

Through some magic of tunneling SMB through an SSH connection, it is in fact possible to access network shares and map network drives from the old TNW network on a migrated computer! To do this, follow the directions on this website:

http://www.security-hacks.com/2007/05/18/tunneling-smb-over-ssh-secure-file-sharing

In order to map a network drive from an old TNW machine such as "qtfock", you will have to enter "qtfock:139" instead of "localhost:139" the remote port part of the tunnel settings.

Note that you will have to be local administrator to add the Microsoft loopback hardware device.

If you want to have network drives mapped from more than one old TNW network computer at the same time, you will have to add a new loopback device for each remote computer.

Mapping printers as localadmin

In the same way as you can map network drives, you can also connect to network printers as localadmin: all you need to know is the proper network location.

Currently, the printers on TU-Delft are mapped from "SRV609". To connect to such a printer, go to "Add printers" and enter the following in the "Name:" box:

 \\SRV609\TN-B050 

You will then be asked for your username and password. For your username, make sure to enter something like:

 DASTUD\netid 

You will remain connected to the printer (and printing costs charged to your netid account) as long as you are logged in. When localadmin logs out and back in again, the first time you try to print you will be prompted for a username/password again.