Solved

Script to enable shares on windows 7 after reboot

Posted on 2011-03-13
2
401 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

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…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
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.

791 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