We use the wildcard delete, then add all shares, both win and IBM i.
I just listed and example of the add of the IBM I share

Paul

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Rob Berendt
Sent: Friday, October 23, 2020 2:58 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: CPIB682 - User profile &1 disabled for IBM i Support for Windows Network Neighborhood access.

The problem I have with the login script is IDC if they have other shares on various Windows servers. I just want to delete/rebuild the one(s) on IBM i. Thus NET USE * /delete /yes Might be a bit thermonuclear. Because then I would be responsible for adding the NET USE <rebuild stuff> for the other shares.
I did some testing. In your example I could replace that with NET USE Y: /delete /yes But now I think I can work with this. Thank you.

The log on script won't abort if it runs the following but it was not there, will it?
NET USE Y: /delete /yes

<snip>
We solved this by deleting/adding the mapped drives to our Win login scripts.
NET USE * /delete /yes
NET USE Y: \\LPAR name\folder name
</snip>

Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail to: 7310 Innovation Blvd, Suite 104
Ft. Wayne, IN 46818
Ship to: 7310 Innovation Blvd, Dock 9C
Ft. Wayne, IN 46818
https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=http%3a%2f%2fwww.dekko.com&umid=7075c3df-1b98-492d-afdf-5a6de7f97249&auth=438b0784514c1757bd202125ca4db8b0abdb021e-002a6449be9614e3c024ea25b3c4a980636311d0


-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Steinmetz, Paul via MIDRANGE-L
Sent: Friday, October 23, 2020 2:41 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Cc: Steinmetz, Paul <PSteinmetz@xxxxxxxxxx>
Subject: RE: CPIB682 - User profile &1 disabled for IBM i Support for Windows Network Neighborhood access.

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


We solved this by deleting/adding the mapped drives to our Win login scripts.

NET USE * /delete /yes

NET USE Y: \\LPAR name\folder name

Paul

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Mark Waterbury
Sent: Friday, October 23, 2020 1:59 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: CPIB682 - User profile &1 disabled for IBM i Support for Windows Network Neighborhood access.

________________________________
CAUTION: This email originated from outside of the PENCOR network. Do not click on any links or open attachments unless the sender is known, and the content is verified as safe.
________________________________

Rob,

I think that's the whole problem right there in a nutshell...

When you connect to a Windows share, you can specify to have it "automatically reconnect on re-boot."

So, what happens when a user changed their password in the meantime?

The next time they reboot Windows, when it tries to "auto-reconnect" the "shares," I think this is what ends up disabling the user profile... (or at least the "NetServer userID), -- it might not happen on the first "share", but if you have multiple shares defined ...? :-/

Perhaps we need an RFE for this, but I am not certain how to word that or how exactly it should be resolved or fixed?

Hope that helps,

Mark S. Waterbury


On Friday, October 23, 2020, 1:53:19 PM EDT, Rob Berendt <rob@xxxxxxxxx> wrote:

I was kind of hoping that a reboot would have done that but I'll keep that in mind.

Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail to: 7310 Innovation Blvd, Suite 104
Ft. Wayne, IN 46818
Ship to: 7310 Innovation Blvd, Dock 9C
Ft. Wayne, IN 46818
https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=http%3a%2f%2fwww.dekko.com&umid=f0f33a30-9d57-4409-a2e6-3afb62eae5ec&auth=438b0784514c1757bd202125ca4db8b0abdb021e-e094d44a877b91d6a68dee1003cc251f87508186

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2flists.midrange.com%2fmailman%2flistinfo%2fmidrange%2dl&umid=f0f33a30-9d57-4409-a2e6-3afb62eae5ec&auth=438b0784514c1757bd202125ca4db8b0abdb021e-a75f1dc202256ba888927ac325ae05e31803be61
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2farchive.midrange.com%2fmidrange%2dl&umid=f0f33a30-9d57-4409-a2e6-3afb62eae5ec&auth=438b0784514c1757bd202125ca4db8b0abdb021e-86ed07dc93e964db4a15daa3af57f9942b8ee624.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2famazon.midrange.com&umid=f0f33a30-9d57-4409-a2e6-3afb62eae5ec&auth=438b0784514c1757bd202125ca4db8b0abdb021e-72d4d5212f274dac2f16afd8a78e3c469e0443e2
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2flists.midrange.com%2fmailman%2flistinfo%2fmidrange%2dl&umid=7075c3df-1b98-492d-afdf-5a6de7f97249&auth=438b0784514c1757bd202125ca4db8b0abdb021e-e4a0e093873fc12a8ab1b37f61b5d46a5d646c49
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2farchive.midrange.com%2fmidrange%2dl&umid=7075c3df-1b98-492d-afdf-5a6de7f97249&auth=438b0784514c1757bd202125ca4db8b0abdb021e-72cb7fb39fb437f42287d9b086327f271aedb71a.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2famazon.midrange.com&umid=7075c3df-1b98-492d-afdf-5a6de7f97249&auth=438b0784514c1757bd202125ca4db8b0abdb021e-f1590a734200e9ddb4fd032d0c997ea8a7373a58

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.