Re: Writing a login script that attaches shares on a external domain
Tech-Archive recommends: Speed Up your PC by fixing your registry
<tlai909@xxxxxxxxx> wrote in message
news:5400ec31-f5a7-4d17-8a6f-15efbfbff550@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Just say I login to DOMAIN1 as normal.
But I want a script that will log onto shares on DOMAIN2
eg. here is the standard script:
net time \\server01 /set /y
rem net use h: /home
net use j: /delete
net use i: /delete
net use i: \\storage01\accounts$
********************************************
problem is \\storage01 resides on a different domain now
do i need to pop the passwords and stuff in the script
i do want to keep the permissions for users on the other domain
Without trusts you'd need eplicit credentials and should use the fqdn or ip
address;
net use i: \\storage01.domain.int\accounts$ domain\user password
Of course the user name and password is now in clear text on a login script
that anyone can read.
/kj
.
Relevant Pages
- Re: Create simple file share on the fly
... using just between the VMs and the host computer. ... The handmade shares show four items under the 'Group or user ... The shares that are created by the script sub below are ... You can place the command line below as the final line in your WMI ... (microsoft.public.windowsxp.security_admin) - Re: Create simple file share on the fly
... If you programatically add the 'Everyone' Group to the Folder, ... Descriptors, in WMI script. ... The sample command above would apply the group 'Everyone' to the folder ... The handmade shares show four items under the 'Group or user ... (microsoft.public.windowsxp.security_admin) - Re: Create simple file share on the fly
... continued to be resistant to access from within the VMs. ... If you programatically add the 'Everyone' Group to the Folder, ... but why not shell out of your Perl script and run a DOS command ... The handmade shares show four items under the 'Group or user ... (microsoft.public.windowsxp.security_admin) - Re: Create simple file share on the fly
... I'm familiar with the concepts of security descriptors from other ... the shares that I make from the Windows GUI, ... when using the script generated shares, ... share by the name that I specify, on the folder that I specify. ... (microsoft.public.windowsxp.security_admin) - Re: MCEX and Domain Login
... use your extender consider using a logon script and run this ... > accounts on the MCE 2005 with the same password as the Domain login. ... > I have to say the extender works pretty good - very stable. ... Domain shares don't show up unless you tweak your domain controller ... (microsoft.public.windows.mediacenter) |
|