Installation & Licensing

Reply
*Romkeys, Shawn
Message 1 of 6 (148 Views)

Who locked this file?????

148 Views, 5 Replies
04-10-2002 07:37 PM
To anyone

I have several DLL files that I wrote to function inside AutoCAD but have a
network related problem. Does anyone know of anyway besides the NT server
manager to find out who (or is it whom?) has a DLL file locked (loaded) so I
can get them out of it and place an updated file on the server? I have
looked for some utility that will give me at least a hint of which machine
is the culprit (we have many users that walk away with CAD still running and
when I say all users exit they aren't there to) but nothing that can tell me
which user or machine has the file locked. Now I load up server manager and
have to go through several thousand files to find the exact one that is
causing the problem!

AHGA

Shawn
*Lars Sandberg, TechSolution dba IMAGINi
Message 2 of 6 (148 Views)

Re: Who locked this file?????

04-19-2002 06:34 PM in reply to: *Romkeys, Shawn
In article , romkeys@NOSPAMnbnet.nb.ca
says...
> To anyone
>
> I have several DLL files that I wrote to function inside AutoCAD but have a
> network related problem. Does anyone know of anyway besides the NT server
> manager to find out who (or is it whom?) has a DLL file locked (loaded) so I
> can get them out of it and place an updated file on the server? I have
> looked for some utility that will give me at least a hint of which machine
> is the culprit (we have many users that walk away with CAD still running and
> when I say all users exit they aren't there to) but nothing that can tell me
> which user or machine has the file locked. Now I load up server manager and
> have to go through several thousand files to find the exact one that is
> causing the problem!
>
> AHGA
>
> Shawn
>

Hi, Windows Commander, which is a superior filehandling utility, can do this.
A shareware version without functionality- /time-limits can be downloaded from www.ghisler.com

In WC you have to access the hidden commandset which is huge. You can du that through menu:
Configuration - Button Bar - Command. Here you have to choose a toolbutton that activates the
command: cm_ShowFileUser
And besides WC can do so much more, so take a look.



--
Best regards

Lars Sandberg
TechSolution
dba IMAGINiT Technologies
*Support], Chris Dodge [Americas Product
Message 3 of 6 (148 Views)

Re: Who locked this file?????

04-22-2002 01:02 AM in reply to: *Romkeys, Shawn
Hi Shawn,

Thanks for bringing this up again... I knew there had to be a good tool to
accomplish this, and I finally found it.

Check out "PSFILE" which is a part of SysInternal's freeware "PsTools" kit:
http://www.sysinternals.com/ntw2k/freeware/pstools.shtml

Here is the command line usage:

PsFile lists or closes files opened remotely.

-----------------------------------------------
Usage: psfile [\\RemoteComputer [-u Username [-p Password]]] [[Id | path]
[-c]]
-u Specifies optional user name for login to
remote computer.
-p Specifies password for user name.
Id Id of file to print information for or close.
Path Full or partial path of files to match.
-c Closes file identified by file Id.
Omitting a file identifier has PsFile list all files opened remotely.
-----------------------------------------------

And here is an example of files in use:

-----------------------------------------------
PsFile v1.01 - local and remote network file lister
Copyright (C) 2001 Mark Russinovich
Sysinternals - www.sysinternals.com

Files opened remotely on SOMEPC:

[38] E:\transfer\1230-DA-001.dwg
User: SOMEUSER
Locks: 0
Access: Read Write
[90] E:\transfer
User: SOMEUSER
Locks: 0
Access: Read
[159] E:\transfer\us_dk2ptr_6.exe
User: SOMUSER
Locks: 0
Access: Read
-----------------------------------------------

It even lets you close specific files!

Let me know if this works for you.

Chris

"Shawn Romkeys" wrote in message
news:E095D22486B5E1471AFC47B55095E6CE@in.WebX.maYIadrTaRb...
> To anyone
>
> I have several DLL files that I wrote to function inside AutoCAD but have
a
> network related problem. Does anyone know of anyway besides the NT server
> manager to find out who (or is it whom?) has a DLL file locked (loaded) so
I
> can get them out of it and place an updated file on the server? I have
> looked for some utility that will give me at least a hint of which machine
> is the culprit (we have many users that walk away with CAD still running
and
> when I say all users exit they aren't there to) but nothing that can tell
me
> which user or machine has the file locked. Now I load up server manager
and
> have to go through several thousand files to find the exact one that is
> causing the problem!
>
> AHGA
>
> Shawn
>
>
>
*Romkey, Shawn
Message 4 of 6 (148 Views)

Re:

04-22-2002 02:42 AM in reply to: *Romkeys, Shawn
Lars

Thanks for the location! It works but is there a way to remotely check what
files are locked on the server and by whom. In order to find this I need to
install WC on the server and then it will tell me who has it locked. I
would like to be able to list it remotely from my system?

It does work and is saving me a lot of time, just looking for a little more
info!

TFTH

Shawn

; "TechSolution dba IMAGINiT Technologies"
wrote in message news:MPG.172b5486e001e0be9896d5@discussion.autodesk.com...
> In article ,
romkeys@NOSPAMnbnet.nb.ca
> says...
> > To anyone
> >
> > I have several DLL files that I wrote to function inside AutoCAD but
have a
> > network related problem. Does anyone know of anyway besides the NT
server
> > manager to find out who (or is it whom?) has a DLL file locked (loaded)
so I
> > can get them out of it and place an updated file on the server? I have
> > looked for some utility that will give me at least a hint of which
machine
> > is the culprit (we have many users that walk away with CAD still running
and
> > when I say all users exit they aren't there to) but nothing that can
tell me
> > which user or machine has the file locked. Now I load up server manager
and
> > have to go through several thousand files to find the exact one that is
> > causing the problem!
> >
> > AHGA
> >
> > Shawn
> >
>
> Hi, Windows Commander, which is a superior filehandling utility, can do
this.
> A shareware version without functionality- /time-limits can be downloaded
from www.ghisler.com
>
> In WC you have to access the hidden commandset which is huge. You can du
that through menu:
> Configuration - Button Bar - Command. Here you have to choose a toolbutton
that activates the
> command: cm_ShowFileUser
> And besides WC can do so much more, so take a look.
>
>
>
> --
> Best regards
>
> Lars Sandberg
> TechSolution
> dba IMAGINiT Technologies
*Romkey, Shawn
Message 5 of 6 (148 Views)

Re:

04-22-2002 02:43 AM in reply to: *Romkeys, Shawn
Chris

That does exactly what I was looking for!

Thanks for the help!

Shawn

"Chris Dodge [Americas Product Support]"
wrote in message
news:B39EE7AFB60A2D2A6E81280ED14BE950@in.WebX.maYIadrTaRb...
> Hi Shawn,
>
> Thanks for bringing this up again... I knew there had to be a good tool to
> accomplish this, and I finally found it.
>
> Check out "PSFILE" which is a part of SysInternal's freeware "PsTools"
kit:
> http://www.sysinternals.com/ntw2k/freeware/pstools.shtml
>
> Here is the command line usage:
>
> PsFile lists or closes files opened remotely.
>
> -----------------------------------------------
> Usage: psfile [\\RemoteComputer [-u Username [-p Password]]] [[Id | path]
> [-c]]
> -u Specifies optional user name for login to
> remote computer.
> -p Specifies password for user name.
> Id Id of file to print information for or close.
> Path Full or partial path of files to match.
> -c Closes file identified by file Id.
> Omitting a file identifier has PsFile list all files opened remotely.
> -----------------------------------------------
>
> And here is an example of files in use:
>
> -----------------------------------------------
> PsFile v1.01 - local and remote network file lister
> Copyright (C) 2001 Mark Russinovich
> Sysinternals - www.sysinternals.com
>
> Files opened remotely on SOMEPC:
>
> [38] E:\transfer\1230-DA-001.dwg
> User: SOMEUSER
> Locks: 0
> Access: Read Write
> [90] E:\transfer
> User: SOMEUSER
> Locks: 0
> Access: Read
> [159] E:\transfer\us_dk2ptr_6.exe
> User: SOMUSER
> Locks: 0
> Access: Read
> -----------------------------------------------
>
> It even lets you close specific files!
>
> Let me know if this works for you.
>
> Chris
>
> "Shawn Romkeys" wrote in message
> news:E095D22486B5E1471AFC47B55095E6CE@in.WebX.maYIadrTaRb...
> > To anyone
> >
> > I have several DLL files that I wrote to function inside AutoCAD but
have
> a
> > network related problem. Does anyone know of anyway besides the NT
server
> > manager to find out who (or is it whom?) has a DLL file locked (loaded)
so
> I
> > can get them out of it and place an updated file on the server? I have
> > looked for some utility that will give me at least a hint of which
machine
> > is the culprit (we have many users that walk away with CAD still running
> and
> > when I say all users exit they aren't there to) but nothing that can
tell
> me
> > which user or machine has the file locked. Now I load up server manager
> and
> > have to go through several thousand files to find the exact one that is
> > causing the problem!
> >
> > AHGA
> >
> > Shawn
> >
> >
> >
>
>
*Hervet, franck
Message 6 of 6 (148 Views)

Re:

04-22-2002 02:55 AM in reply to: *Romkeys, Shawn
Hi,

In W2000 server you have the possibility to remotely administer your server.
The other solution is to use VNC (freeware).
http://www.uk.research.att.com/vnc/download.html

Best regards
--
Franck Hervet
Responsable Informatique

Aricad
ZA de l'observatoire
4 avenue des trois peuples
78180 Montigny le bretonneux
Tel : 0139441818
Fax : 0130575885
http://www.aricad.fr
"Shawn Romkey" a écrit dans le message news:
E94EF28924BCD961CA30E76DA494C41E@in.WebX.maYIadrTaRb...
> Lars
>
> Thanks for the location! It works but is there a way to remotely check
what
> files are locked on the server and by whom. In order to find this I need
to
> install WC on the server and then it will tell me who has it locked. I
> would like to be able to list it remotely from my system?
>
> It does work and is saving me a lot of time, just looking for a little
more
> info!
>
> TFTH
>
> Shawn
>
> ; "TechSolution dba IMAGINiT Technologies"
> wrote in message
news:MPG.172b5486e001e0be9896d5@discussion.autodesk.com...
> > In article ,
> romkeys@NOSPAMnbnet.nb.ca
> > says...
> > > To anyone
> > >
> > > I have several DLL files that I wrote to function inside AutoCAD but
> have a
> > > network related problem. Does anyone know of anyway besides the NT
> server
> > > manager to find out who (or is it whom?) has a DLL file locked
(loaded)
> so I
> > > can get them out of it and place an updated file on the server? I have
> > > looked for some utility that will give me at least a hint of which
> machine
> > > is the culprit (we have many users that walk away with CAD still
running
> and
> > > when I say all users exit they aren't there to) but nothing that can
> tell me
> > > which user or machine has the file locked. Now I load up server
manager
> and
> > > have to go through several thousand files to find the exact one that
is
> > > causing the problem!
> > >
> > > AHGA
> > >
> > > Shawn
> > >
> >
> > Hi, Windows Commander, which is a superior filehandling utility, can do
> this.
> > A shareware version without functionality- /time-limits can be
downloaded
> from www.ghisler.com
> >
> > In WC you have to access the hidden commandset which is huge. You can du
> that through menu:
> > Configuration - Button Bar - Command. Here you have to choose a
toolbutton
> that activates the
> > command: cm_ShowFileUser
> > And besides WC can do so much more, so take a look.
> >
> >
> >
> > --
> > Best regards
> >
> > Lars Sandberg
> > TechSolution
> > dba IMAGINiT Technologies
>
>

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Up & Ready Blog

Boldly Install, Configure and Deploy Autodesk Software.

AutodeskHelp Blog

Your one-stop shop for the latest solutions, breaking news, and behind the scenes access to the world of Autodesk support.

Connect with Us

Twitter

Pinterest

Blog

Youtube