Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Script to enable shares on windows 7 after reboot

Posted on 2011-03-13
2
Medium Priority
?
419 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 2000 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

OfficeMate Freezes on login or does not load after login credentials are input.
Assume you have an outside contractor who comes in seasonally or once a week to do some work in your office, but you only want to give him access to the programs and files he needs and keep all other documents and programs private. Can you do this o…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
Suggested Courses

916 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