Re: Batch script deployed through GPO hangs at logon



Howdie!

pk schrieb:
I've deployed a painfully simple batch logon script and it hangs every
time I test it. Here are the contents of the batch script:
--------------

xcopy "\\serverA\DesktopShortcuts\Scanning.lnk" "%homeshare%\desktop" /
Y
xcopy "\\serverA\DesktopShortcuts\CRM.url" "%homeshare%\desktop" /Y

--------------
The batch works fine when I run it in a command prompt or by double-
clicking it. I know the script works. It is not a permissions issue;
both the NTFS permissions and Share-level permissions are set to allow
everyone to access the files.

Try the following Group Policies that change Windows' boot behavior :

CompuConf\AdmTempl\System\Logon\ - "Always Wait for the
Network at Computer Startup or User Logon"

cheers,

Florian
--
Microsoft MVP - Windows Server - Group Policy.
eMail: prename [at] frickelsoft [dot] net.
blog: http://www.frickelsoft.net/blog.
Use a newsreader! http://www.frickelsoft.net/news.html
.



Relevant Pages

  • Re: Batch script deployed through GPO hangs at logon
    ...  Here are the contents of the batch script: ... both the NTFS permissions and Share-level permissions are set to allow ... Try the following Group Policies that change Windows' boot behavior: ...
    (microsoft.public.windows.group_policy)
  • Re: i want to add a promt to a batch command.
    ... OldDomain\OldUser and NewDomain\NewUser part eveytime.. ... When i run the batch script on command prompt c:>Migrate.cmd I want the ... Windows Server MVP ...
    (microsoft.public.windows.server.scripting)
  • Re: i want to add a promt to a batch command.
    ... OldDomain\OldUser and NewDomain\NewUser part eveytime.. ... When i run the batch script on command prompt c:>Migrate.cmd I want the ... Windows Server MVP ...
    (microsoft.public.windows.server.scripting)
  • Re: i want to add a promt to a batch command.
    ... But i don't want to edit the ... OldDomain\OldUser and NewDomain\NewUser part eveytime.. ... When i run the batch script on command prompt c:>Migrate.cmd I want the ...
    (microsoft.public.windows.server.scripting)
  • Re: Modifying folder permissions with script?
    ... Easiest way is to use a batch script and the XCACLS.exe utility. ... It will set permissions or display existing ones. ... I need to give the authenticated users full access to this one folder. ...
    (microsoft.public.scripting.wsh)