Solved

Temporarily Disable Windows Server Shares

Posted on 2008-10-23
8
6,227 Views
Last Modified: 2013-11-05
I'm looking for a way to temporarily disable user access to shares I have setup on servers. This is to restrict access to users using them while I'm doing a migration.

I still need to have the Server service available in order for the migration software to work correctly. I also don't want to remove the shares or remove any groups from the server.

Any ideas would be helpful. Thanks!
0
Comment
Question by:gregca80
8 Comments
 
LVL 95

Expert Comment

by:Lee W, MVP
ID: 22791428
Since you effectively eliminate the two options you could use, the only other option I can think of is to change the IP address/remove the server(s) from the network and do your migration in a separate network.

Of course, this migration method does not seem very good if it forces you to interrupt your staff like this.  I would suggest instead you use this opportunity to TEST your backups.  The migration would then be very simple and likely, very fast with little interruption to your users.

1. Backup your existing server's data using a FULL backup
2. Restore your full backup to the new server.
3. Alter your logon scripts so they now map to the new server for the data
4. Perform a differential backup on the old server
5. Restore the differential backup on the new server.
0
 
LVL 5

Accepted Solution

by:
gratex_ssd earned 125 total points
ID: 22791470
export registry
HKLM\SYSTEM\CCS\Services\LanmanServer\Shares
Then delete shares that you don't want during migration (compmgmt.msc)
After migration -> import that regitry hive back
restart server service
0
 

Author Comment

by:gregca80
ID: 22791478
gratex: Will that maintain all the permissions as well?
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

Expert Comment

by:dwetmore
ID: 22791504
Could you remove users from the groups that have access to the shares?  Then add them back in after the migration?  If the groups do more than provide access to the shares, then consider a 'blackout' period to do the migration after-hours.
0
 

Author Comment

by:gregca80
ID: 22791522
There are a lot of groups. Also if i remove groups then I'll have to reset all the permissions again which i don't want to do.

So far Gratex's answer seems great if it will maintain the permissions.

I wish there was a way to Pause a share in Windows.
0
 
LVL 95

Expert Comment

by:Lee W, MVP
ID: 22791650
Exporting the registry key will work fine but you cannot import it to the new server UNLESS you use the same drive letter on the new server.
0
 

Author Comment

by:gregca80
ID: 22791871
0
 

Author Closing Comment

by:gregca80
ID: 31509467
hey great answer, thanks.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now