Networking Forums

Networking Forums > Computer Networking > Windows Networking > Windows KERNEL Locking folders

Reply
Thread Tools Display Modes

Windows KERNEL Locking folders

 
 
Marcin S.
Guest
Posts: n/a

 
      04-21-2008, 07:32 AM
Hi,

This issue is for Windows 2008 but i did't find and other forum to post it.

The problem is that folders shared in Windows 2008 are locked by Windows
Kernel main process. We are sharing folders automaticly and deleiting share
and folder.

Issue:
The share is created by Net Share command
Wait about two hours
Remove the share using Net Share
Delete Folder <---ERROR Is in use by som program

I used the Handle command to find out what pids are locking the folder and i
found following: "System pid: 4 \<unable to open process>" this process is
the Windows Kernel process.

This issue does not applay if I remove the share immideatly. And the lock
takes up to two hours until it will be visible by handle command.

I dont think this is default behavior? Same script worked fine on Windows
2000 and 2003. Ii works fine on Windows 2008 if I delete the share before two
hours.


-----------------------
Marcin S.
 
Reply With Quote
 
 
 
 
Bill Grant
Guest
Posts: n/a

 
      04-21-2008, 08:03 AM
Windows Server 2008 forums are here

http://forums.microsoft.com/TechNet/...=161&SiteID=17

"Marcin S." <(E-Mail Removed)> wrote in message
news:B14D74ED-C90F-4707-9137-(E-Mail Removed)...
> Hi,
>
> This issue is for Windows 2008 but i did't find and other forum to post
> it.
>
> The problem is that folders shared in Windows 2008 are locked by Windows
> Kernel main process. We are sharing folders automaticly and deleiting
> share
> and folder.
>
> Issue:
> The share is created by Net Share command
> Wait about two hours
> Remove the share using Net Share
> Delete Folder <---ERROR Is in use by som program
>
> I used the Handle command to find out what pids are locking the folder and
> i
> found following: "System pid: 4 \<unable to open process>" this process is
> the Windows Kernel process.
>
> This issue does not applay if I remove the share immideatly. And the lock
> takes up to two hours until it will be visible by handle command.
>
> I dont think this is default behavior? Same script worked fine on Windows
> 2000 and 2003. Ii works fine on Windows 2008 if I delete the share before
> two
> hours.
>
>
> -----------------------
> Marcin S.


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 2008 R2 Shared folders Guido Windows Networking 1 02-06-2010 09:56 AM
Windows 2000 Pro, Windows Millenium Edition and shared folders David Christensen Windows Networking 4 11-16-2003 04:19 AM
IP Locking system in Windows 98 rakesh Windows Networking 1 10-18-2003 10:31 AM
windows 2000 locking out windows 98 after pc is idle for a bit Barbedwireman Windows Networking 1 08-11-2003 02:11 PM
offline folders in Windows ME Nicolas Windows Networking 1 07-09-2003 12:37 PM



1 2 3 4 5 6 7 8 9 10 11