The other half of the problem was the new Win7 security which wouldn't
allow
me to run the "net use" command unless I clicked in as an
administrator, which
I don't want to do EVERY time I log in.
What I finally did was create a batch file named:
c:\bat\setlpt1.bat
which contained the commands:
net use lpt1: /delete /y
net use lpt1: "\\MyLocalComputerName\MyPrinterShareName" /
persistent:yes
which I call from the Task Scheduler with highest privileges, with the
trigger
as "At log on of any user". It works, but seems a bit insane. Is
there a more
direct way to proceed?
I find the need to create a "Base Task" rather confusing since I have
mine
calling nothing. Wonder why it is setup that way?
----- Original Message ----
> From: Friar Broccoli
> Is there a more direct way to proceed?
Maybe check (also) 'Compatibility mode' (that should guarantee backwards compatibility with e.g. Microsoft Windows XP, Vista, ...)?
E.g.
http://www.google.com/search?hl=en&q=Windows%207%20compatibility%20mode
with friendly greetings,
Knud van Eeden
An interesting feature that I am glad to know about, although in this
case,
since I made all sorts of both hardware and software changes, it was/
is not
clear to me how I could have used it to solve my printing problem.
OTOH,
knowing that this feature exists is sure to help me in the very near
future.
I was upgrading from Win98.
===
PS
Further check out the DOS program 'runas.exe' (default present in XP) that allows you to do the runas e.g. administrator also
in batch files and from the command line.
with friendly greetings,
Knud van Eeden
In case anyone is interested what I have so far found most useful was
this page:
http://www.petri.co.il/bypass-uac-using-desktop-shortcut.htm
which showed how to create a link on the desktop to a "scheduled" task
that would run IMMEDIATELY as an administrator without having to click
OK on an approval pop-up.
The link command looks like this:
C:\Windows\System32\schtasks.exe /run /tn "UAC_Bypass"
where "UAC_Bypass" is the name of the task created in the Task
Manager.
(The only thing missing is an explanation of the need to and how to
create a basic task.)
Sure am glad OTHER people have spent two years mucking about with
Vista to find these solutions :-).