Quantcast
Channel: Group Policy forum
Viewing all articles
Browse latest Browse all 19997

Logon script issue for windows 8

$
0
0

I get following error, The same GPO works well for other computers (Win XP, 7 2008).. Test1.bat is a simple script to copy a file to system32 or SysWOW64 folder based on architecture. It does copy the file when I run the code manually from the win 8 computer but not through GPO.

----------------------------------------------------------------------------------------------------------------------------------------------

Log Name: System
Source: Microsoft-Windows-GroupPolicy
Date: 12/18/2013 12:53:13 PM
Event ID: 1130
Task Category: None
Level: Error
Keywords:
User: SYSTEM
Computer: LA1008.test.domain.com
Description:
Startup script failed.
GPO Name : GP_WP_Test
GPO File System Path : %7D/Machine">file://test.domain.com/SysVol/test.domain.com/Policies/%<GUID>%7D/Machine)
Script Name: Test1.bat

----------------------------------------------------------------------------------------------------------------------------------------------Test1.bat content is following..

if "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto 64BIT

IF NOT EXIST "%windir%\system32\test.ini" COPY \\Server\test\test.ini"%windir%\system32"

:64BIT
IF NOT EXIST "%windir%\SysWOW64\test.ini" COPY \\Server\test\test.ini"%windir%\SysWOW64"


-Edatha-


Viewing all articles
Browse latest Browse all 19997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>