G
Guest
I've assigned a startup script via the local GPO and it runs fine. The
problem is that instead of running in the background before the logon screen
appears, the command window pops up after the logon screen appears and
displays the commands in the batch file.
If the "Run startup scripts visible" setting is disabled or not configured,
shouldn't the script run minimized before the logon window appears? It
doesn't seem to have any effect.
Here's the script:
rem Remove user profile directory
rem Copy new user profile
rem Set permissions on the new profile
rd /S /Q "F:\Documents and Settings\test1"
xcopy "F:\profiles\test1" "F:\Documents and Settings\test1" /E /C /I /H /K
/O /Y
cacls "F:\Documents and Settings\test1" /T /E /C /G test1:F
Any reason why it always runs visibly?
problem is that instead of running in the background before the logon screen
appears, the command window pops up after the logon screen appears and
displays the commands in the batch file.
If the "Run startup scripts visible" setting is disabled or not configured,
shouldn't the script run minimized before the logon window appears? It
doesn't seem to have any effect.
Here's the script:
rem Remove user profile directory
rem Copy new user profile
rem Set permissions on the new profile
rd /S /Q "F:\Documents and Settings\test1"
xcopy "F:\profiles\test1" "F:\Documents and Settings\test1" /E /C /I /H /K
/O /Y
cacls "F:\Documents and Settings\test1" /T /E /C /G test1:F
Any reason why it always runs visibly?