Installation & Licensing
Welcome to Autodesk’s Installation and Licensing Forums. Share your knowledge, ask questions, and explore popular Download, Installation, and Licensing topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Who locked this file?????

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
276 Views, 5 Replies

Who locked this file?????

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
5 REPLIES 5
Message 2 of 6
Anonymous
in reply to: Anonymous

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
Message 3 of 6
Anonymous
in reply to: Anonymous

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
>
>
>
Message 4 of 6
Anonymous
in reply to: Anonymous

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
Message 5 of 6
Anonymous
in reply to: Anonymous

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
> >
> >
> >
>
>
Message 6 of 6
Anonymous
in reply to: Anonymous

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
>
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Administrator Productivity


Autodesk Design & Make Report