automatically disconnect user from server

  • Thread starter Thread starter OM
  • Start date Start date
O

OM

Hi,

I have a stand-alone 2003 server that shares a access database on the
network. The backup job for the database fails once in awhile because
end user left their database open during the night. I am trying to
schedule the net stop server command to disconnect the user from the
server during the backup schedule. However, the command will prompt for
confirmation if it sees any connection made to the server. This happens
when I use net session /delete. Can someone advice if I can force the
disconnection without any prompting? Or is there any better approach for
this problem?

Thanks
 
You may need to give /y, for example NET SESSION /DELETE /y.

Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
"OM" <om@discussions.microsoft.com> wrote in message news:uFTPbAYvHHA.3588@TK2MSFTNGP06.phx.gbl...
Hi,

I have a stand-alone 2003 server that shares a access database on the
network. The backup job for the database fails once in awhile because
end user left their database open during the night. I am trying to
schedule the net stop server command to disconnect the user from the
server during the backup schedule. However, the command will prompt for
confirmation if it sees any connection made to the server. This happens
when I use net session /delete. Can someone advice if I can force the
disconnection without any prompting? Or is there any better approach for
this problem?

Thanks
 
Back
Top