Solved

Script to enable shares on windows 7 after reboot

Posted on 2011-03-13
2
408 Views
Last Modified: 2012-05-11
Hi,
This is my situation:
I got a windows 7 desktop with truecrypt encryption where I share all my data with the other computers at home. But every time when I reboot my computer and mount the encrypted drives, I need to set the share permission on the folders again...
Is there anyone who has a solution for this....?
Thank you in advance...
0
Comment
Question by:ITBenelux
2 Comments
 
LVL 12

Accepted Solution

by:
Amick earned 500 total points
ID: 35121326
You can probably use the Net Share command in a batch file to mount the shares and set the permissions you commonly grant.
0
 
LVL 2

Expert Comment

by:prerakg
ID: 35121560
As those are the encrypted drives and needs to be mounted everytime after boot, the permission goes with reboot.

as stated earlier in post above you have to do this by making a startup script in bacth or anything else and then set the permissions.

Also you can use default bitlocker drive encryption in windows 7 and then give users accross network permssions in security settings of a folder/drive...
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hi Friends, These registry tweaks will help you optimizing your Windows 7 system for any VDI. This will improve the machine performanance and can be used on normal systems also. These are few registry tweaks which will add value by enhancing the …
Article by: Lee
Windows 7 Ultimate and Enterprise (and 2008 R2) introduced a new feature you may not be aware of - Boot from VHD.   Boot from VHD (or what Microsoft refers to asNative Boot allows you to install Windows to a VHD (Virtual Hard Disk) file that is t…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.

685 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