Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: How to PROPERLY restart server services on Win7 64-bit w'out reboot

23 Nov 2019   #1
ta man

Windows 7 Professional 64-bit
How to PROPERLY restart server services on Win7 64-bit w'out reboot

Sorry for the long post but this is not a simple thing to explain even though the question short.

I have a computer that runs Windows 7 Pro 64-bit. I use this primarily to host VMs.

One of those VMs is Windows XP run by Oracle VirtualBox. I use this continually for my internet browsing activties so I don't expose a real machine to any malicious software.

Another VM is Windows 7 32-bit run by Virtual PC Version 6.0.192 (*NOT* Windows 7 XP Mode). I use this VM about twice every 2 weeks because it hosts software used in a hobby activity that happens about once every two weeks.

Both the XP VM and the Win7 VM have a network share to a drive on the host machine. This is a true network share, not a "shared device" enabled by the VM software. I use an actual network share because I found that after a while, the VM software shared device fails to work. It fails to work sooner than the manifestation of the other problem I am trying to address, which is the subject of this post.

The problem that I am trying to address is that immediately after using the Win7 VM a couple of times, the XP VM can no longer access the network share. The error message I get inside the XP VM is:

"Not enough server storage is available to process this command."

I have looked up info on this message and the advice given to mitigate the problem is to increase (or set) the registry setting IRPStackSize in the registry key:


What I had read a while back was that the maximum setting is 0x0C (12 decimal). I have done this a long time (many months) ago. It has no effect on the manifestation of the problem.

Recently I read someplace else that the setting could be up to 50. So I tried it with a setting of 50 and the problem (no access to shares via XP clients) manifested itself in 2 days instead of 2 weeks, and without me running the Windows 7 VM.

I couple things to note when this happens:

1) The Win7 VM and a Win10 machine can still access this share
2) A native (real machine) instance of Windows XP which could access the share before the error occurs now gets the message:

System error 58 has occurred.

The specified server cannot perform the requested operation.

when attempting a NET USE on the share.

When I upped the IRPStackSize setting to 50 and the problem manifested itself, I got a different message:

System error 67 has occurred.

The network name cannot be found.

So pretty much, when this error occurs, XP clients can no longer access the share. I understand that XP is using an older protocol and that would account for why the error only manifests itself for XP clients.

I have found that rebooting the Win7 host fixes the problem but I would like to be able to avoid doing that because it means shutting down the XP VM on which I have likely accumulated various sessions I would like to keep using.

It took me a while to recognize that the access failure in the XP VM was at least somewhat related to the use of the Win7 VM (at least before I tried the IRPStachSize of 50), but something I did a few weeks ago in the XP VM made this apparent.

Some time ago I thought the solution might be just stopping and restarting the services that support the network shares. The only one obvious to me for this is the SERVER service (a.k.a "lanmanserver"). However when I stop this service and try to re-start it I get the error message:

System error 1068 has occurred.
The dependency service or group failed to start.

I get this error even if I try to stop and re-start the server service on a fresh re-boot (and on another Win7 real machine I have).

I looked at driver info and the dependencies for the server service and found these dependencies:

"Security Accounts Manager" listed as a service
"Remote Procedure Call (RPC)" listed as a service
"DCOM Server Process Launcher" listed as a service
"RPC Endpoint Mapper" listed as a service

"Server SMB Driver" Driver: srv.sys
"Server SMB Driver" Driver: srv2.sys
"srvnet" Driver: srvnet.sys

I did find that when I stopped the SERVER service, the "srv" driver got stopped. But I don't know how to re-start it. I found a program called serviwin that supposedly would let me stop and start drivers, yet when I try to re-start the "SRV" driver, I gen an error message that the file (srv.sys) cannot be found (even though I can go to the exact file location that it says "can't be found" and see the file).

So I'm hoping someone with more experience that myself can suggest what I can do to get the server stopped and successfully restarted so I don't have to reboot the host machine every other time I use the Win7 VM.

Yes, I know XP is old, but it does what I need doing in the VM so suggestions that I switch the VM OS will be disregarded. (Sorry if that seems impolite, but I've built up that environment over the years to suit my needs and I don't want to have to do that work over again when I *ought* to be able to solve the problem by starting services in the correct order with a simple batch file.)

My System SpecsSystem Spec
23 Nov 2019   #2

W7 home premium 32bit/W7HP 64bit/w10 tp insider ring


No vhd expert but do know they can either be a fixed or expanding set-up, if its fixed it will run out of space

My System SpecsSystem Spec
24 Nov 2019   #3

Windows 7 Professional 64-bit forum might be a 2nd place to try, there are many server users there also. If you do, alert both places upfront.
My System SpecsSystem Spec


 How to PROPERLY restart server services on Win7 64-bit w'out reboot

Thread Tools

Similar help and support threads
Thread Forum
Disabling Services- Apply/OK/Reboot, or just OK/Reboot?
I recently upgraded (transferred) my HDD System/slave drives, to SSD's- I deleted Consolidate in Task Scheduler/Reboot, and when I disabled Windows Defrag Apply/OK, a blue ball rolled around for quite awhile, and a Big HD flash when I closed Services/ Reboot. Seems to be OK. My question?-...
General Discussion
Need to restart computer for it to work properly
Hi everyone! I've just built a computer, with an Asrock 980DE3 US3 motherboard, an AMD FX6300 processor, and an MSI Radeon HD 7870. I have an Antec HCG 520w power supply in it. I've installed Windows 7 Home Ultimate SP1 on it. I am having a very weird problem. When I start the computer up from...
General Discussion
Win7 Server - not seen on LAN after reboot
I have a W7 pro PC acting as a file server on my LAN. If it ever reboots because of updates it is not seen on the network. I have to RD into it, open explorer, view the network and then other PCs on the LAN can see it. Actually....all that may not be necessary. Maybe simply RD'ng into and...
Network & Sharing
Windows Server Update Services and Windows Home Server -- worth doing?
Windows Updates have been a real thorn in my side since moving to the country where I have limited bandwidth ISP. I have 6-7 Windows PCs I (try to) keep updated, both XP and W7. I've tried downloading updates just ONCE using the Microsoft Update Catalog, but then I still have to note what pc needs...
Windows Updates & Activation
Restart network sharing services
Hello, I was searching for a way to restart all network services. I don't know all of them, I tried about 10 and no one did what I wanted. I'll give a little bit more information. Sometimes, my XP laptop stops being able to access my shared folders on my Win7 desktop. I didn't have this...
Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:12.
Twitter Facebook