Computing.Net > Forums > Networking > Router and Printer Question

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Router and Printer Question

Reply to Message Icon

Original Message
Name: scj6771
Date: August 31, 2005 at 11:04:47 Pacific
Subject: Router and Printer Question
OS: xp
CPU/Ram: 1.6
Comment:

I have 2 questions and since they both pertain to networking I thought I would post them at once.

1. This question I am sure has been posted before, but after working on this problem and doing some research I still have some issues.

What will it take for me to run the Add a Printer Wizard on a remote machine? if I run this "rundll32 printui.dll,PrintUIEntry /il /c\\machine" it will no doubt run the wizard on that machine, however it will not give me the option to install a network printer, only a local printer. As I am sure you all know that when a user logs into a Win XP machine and configure a printer that printer does not stick when the next user logs in, installing printers for every user that uses that same machine becomes quite daunting task.

2. Is there a way for me to find out exactly what ports are open and closed on my DLINK DL-524 router? I know how to open and close them manually but I would like to see a list of all the ports that are used and un-used. Also my daughter like to abuse her AIM rights, what I would like to do is time out that port (5190) after 30 minutes of use. Can that be done? using the GUI interface of my router config page I can either shut down the port or specify a time when that port can be used, since I never know when exactly she will ask to use the computer I would like to just "time out" that port after a certain amount of time has passed if possible. Even if a third party software needs to be addressed I would be interested. Thank you all for your time.


Report Offensive Message For Removal


Response Number 1
Name: OrionCA
Date: August 31, 2005 at 14:58:03 Pacific
Reply: (edit)

You'd have to set up a domain server using Windows 2003 or something like that to gain that level of remote control over another client. From an Administrator account on that client, however, you can set up a printer to be available to every user account on the machine. Simply enable "file and printer sharing" and make that printer available to the "Everyone" group. Every user account on that PC and in the "Everyone" group will be able to use it.

Unless you've explicitly set up port forwarding on your router all ports should be "closed" and even "stealthed" to external access. There are several websites that will run free security scans on your network that will confirm this.

It's not really possible to limit your daughter's AIM usage automatically. You can install "Net Nanny" or one of the other monitoring programs that will shut her off after 30 minutes but ONLY from a machine monitored by NN. She can go over to a friend's house and use his PC to chat all night long. It's better to discuss a schedule with her where (this) is study time, (this) is TV time, (this) is quiet time, and (this) is online time while she's in the house. Then monitor her usage yourself through (gasp) checking up on what she's doing.

Being the Gestapo is part of a parent's job, sorry.


Report Offensive Follow Up For Removal

Response Number 2
Name: wanderer
Date: August 31, 2005 at 17:18:30 Pacific
Reply: (edit)

I have my home router on a schedule. Kids get internet from 5pm to 9:30pm and that is it.

If I want to get punitive I have configurations that I can load via the backup/restore settings that will allow myself and other family members internet access while denying the address of the problem child.

Quite effect I might add in getting compliance.

Golly gee wilerkers everyone. Learn to Internet Search


Report Offensive Follow Up For Removal

Response Number 3
Name: scj6771
Date: September 2, 2005 at 04:53:46 Pacific
Reply: (edit)

Could someone take a look at this (thanks for the link)http://members.shaw.ca/bsanders/NetPrinterAllUsers.htm and see if they can figure it out? not sure what I am doing wrong, put in the destination then print server\printer name.......I get an error that states "Unable to add the per machine printer connection" Or if I simply go this route "rundll32 printui.dll,PrintUIEntry /ga /in /c\\"destination"\ /n\"PrintServer"\PrinterName" Nothing happens? no error or anything?


@Echo off
REM this command file will add a network printer to a computer remotely

REM the parameters are:

REM 1 - the name of the computer to which the network printer is to be added
REM 2 - the UNC name of the printer to be added

REM for example, to add the printer called ThePrinter that is shared from the computer PrintServer
REM to the computer called TheClient:

REM key this command in a Command Prompt window:

REM addglobalprinterremotely theclient printserver\theprinter


REM add the specified printer to the specified computer
@Echo On
rundll32 printui.dll,PrintUIEntry /ga /c\\%1 /n\\%2
@Echo off
REM stop the print spooler on the specified computer and wait until the sc command finishes
@Echo On
start /wait sc \\%1 stop spooler
@Echo off
REM start the print spooler on the specified computer and wait until the sc command finishes
@Echo On
start /wait sc \\%1 start spooler


Report Offensive Follow Up For Removal

Response Number 4
Name: scj6771
Date: September 2, 2005 at 07:40:13 Pacific
Reply: (edit)

UPDATE:

I did get this command to work:
rundll32printui.dll,PrintUIEntry /ga/c\\"COMPUTERNAME" /n\\"SERVERNAME"\"PRINTERNAME"

I successfully added a printer remotely to another machine, as I stopped and started the print spooler service the printer did show up but I could not print to it, could not get the printer to communicate, said it was offline.


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home








Do you own an iPhone?

Yes
No, but soon
No


View Results

Poll Finishes In 7 Days.
Discuss in The Lounge
Poll History




Data Recovery Software