Startup script
i have single forest single domain windows server 2003 environment. i'm trying run following startup script:
echo off
rem
rem important: change server name (myserver) required.
rem
set server_client_dir=\\chee-dc1\pcclient\win
rem ----------------------------------------------------------
rem not change below line.
rem
set install_dir=%systemdrive%\pc-client
set local_client=%install_dir%\pc-client-local-cache.exe
rem client exists, start local copy.
if exist "%local_client%" (
echo installed. starting pc-client-local-cache.exe...
cmd /c "start %local_client% --silent --minimized"
)
rem if client not exist on local drive, copy now.
if not exist "%local_client%" (
echo copying client local drive. may take minute...
mkdir "%install_dir%"
xcopy /q /s /e /r /h /y "%server_client_dir%" "%install_dir%"
echo starting pc-client-local-cache.exe...
cmd /c "start %local_client% --silent --minimized"
)
on gpo, need elevate privileges run? if run rsop, see icon not appear in tray indicates not running. there startup script runs simultaneously follows:
net localgroup administrators obps\bsp-cheesequake /add
i'm wondering if there conflict somewhere. not see errors in event logs. appreciated.
i explain startup script uses system account run, not necessary elevate privileges.
based on current situation, please use psexec –e syntax run script system account manually check if works. download psexec, please refer following link:
psexec v1.98
http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
if not work normally, script can written incorrect. if case, you may submit new question in official scripting guys forum! best resource scripting related issues.
the official scripting guys forum!
http://social.technet.microsoft.com/forums/en/itcg/threads
if works fine, please describe how did configure , apply startup script in detail can try analyze issue?
if issue persists, please send me more information analyzing. convenience, have created workspace you. can upload information files following link. (please choose "send files microsoft")
workspace url: https://sftasia.one.microsoft.com/choosetransfer.aspx?key=ca4edcf7-37f5-43bd-a513-68af9f00c7fe
password: oth{bwaydwpa
note: due differences in text formatting various email clients, workspace link above may appear broken. please sure include text between '(' , ')' when typing or copying workspace link browser. meanwhile, please note files uploaded more 72 hours deleted automatically. please ensure notify me timely after have uploaded files. thank understanding.
collect gpmc log
==============
1. on domain controller, click start -> run, type gpmc.msc, load gpmc console. if gpmc snap-in not installed.
2. right click on "group policy result" , choose wizard generate report problematic computer , user account (please place appropriately). (choose computer , select proper user in wizard)
3. right click resulting group policy result , click "save report…" => save report , upload link provided.
collect gpresult output
==============
1. run command gpresult /v >c:\gpresult.txt.
2. upload c:\gpresult.txt above link.
collect userenv.log
==============
subkey: hkey_local_machine\software\microsoft\windows nt\currentversion\winlogon
entry: userenvdebuglevel
type: reg_dword
value data: 0x00030002 (hexadecimal)
after issue reoccurs, find , upload %windir%\debug\usermode\userenv.log file.
regards,
arthur li
technet subscriber support in forum
if have feedback on our support, please contact tngfb@microsoft.com.
please remember click “mark answer” on post helps you, , click “unmark answer” if marked post not answer question. can beneficial other community members reading thread.
- marked answer by arthur_limicrosoft contingent staff, moderator wednesday, january 19, 2011 7:55 am
Comments
Post a Comment