I just used Lanman to set the login script to '' this way:
use Win32::Lanman;
Win32::Lanman::NetUserGetInfo( "\\\\PDC", 'User', \%Attrib );
$Attrib{'script_path'} = '';
Win32::Lanman::NetUserSetInfo( "\\\\PDC", 'User', \%Attrib );
When I went into UMFD, the login script entry box was empty.
Hope this helps,
--Chuck
--- "Ryan, David" <[EMAIL PROTECTED]> wrote:
> Thank you very much for the reply, but I still have the same question. What
> value do I set $scriptPath to so that it will delete the existing value in
> UMFD? Neither undef, " ", "" or anything else I have tried mimics the
> manual action of entering UMFD and deleting the existing value. Thanks
> again.
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin