A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Security and Administration with Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Script - Copy file(s) to %windir% during login



 
 
Thread Tools Display Modes
  #1  
Old May 25th 04, 03:59 PM
Carey Frisch [MVP]
external usenet poster
 
Posts: n/a
Default Script - Copy file(s) to %windir% during login

HOW TO: Distribute a Custom Desktop Theme to Users in Windows XP
http://support.microsoft.com/default...&Product=winxp

--
Carey Frisch
Microsoft MVP
Windows XP - Shell/User

Be Smart! Protect your PC!
http://www.microsoft.com/security/protect/

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

"Rick G" wrote in message:
...

| I'm trying to copy a default wallpaper to be used on desktops on computers in a Win2K domain. GPO will then
force this wallpaper to be used.
| Have successfully done this with Kixtart on computers where user has admin rights but not for restricted
users (Domain Users group). Windows folder has default Read-only permissions for restricted user group.
|
| Thanks.

Ads
  #2  
Old May 26th 04, 11:42 AM
Roger Abell
external usenet poster
 
Posts: n/a
Default Script - Copy file(s) to %windir% during login

Yes, cook up an msi, but then assign with GPO.

--
Roger
"ken" wrote in message
...
Use winstall (on win2k CD under deploy). Make before snapshot...install

..jpg where you want it...make after snapshot ...create .MSI file...heat,
serve and eat...add a line in the login script to run the .MSI file...(you
can also use SYSDIFF if you're using Win2k but that's really old stuff)

kgf



  #3  
Old May 26th 04, 11:43 AM
Roger Abell
external usenet poster
 
Posts: n/a
Default Script - Copy file(s) to %windir% during login

Yes, they are prevented from writing where they
should not. Use other means that were designed
to allow admins to get things installed there, like
software deployment via GPO.

--
Roger Abell
Microsoft MVP (Windows Server System: Security)
MCSE (W2k3,W2k,Nt4) MCDBA
"Rick G" wrote in message
...
I'm trying to copy a default wallpaper to be used on desktops on computers

in a Win2K domain. GPO will then force this wallpaper to be used.
Have successfully done this with Kixtart on computers where user has admin

rights but not for restricted users (Domain Users group). Windows folder has
default Read-only permissions for restricted user group.

Thanks.



  #4  
Old May 28th 04, 06:55 PM
Torgeir Bakken \(MVP\)
external usenet poster
 
Posts: n/a
Default Script - Copy file(s) to %windir% during login

Rick G wrote:

I'm trying to copy a default wallpaper to be used on desktops on computers in a Win2K domain. GPO will then force this wallpaper to be used.
Have successfully done this with Kixtart on computers where user has admin rights but not for restricted users (Domain Users group). Windows folder has default Read-only permissions for restricted user group.

Hi

You could do it in a computer startup script (with a GPO) that runs as
part of the boot up process (before the user logs in). It runs under the
system context and has admin rights.

If you need to access files over the network from the computer
startup script, you could put the file(s) on a network share and
grant read access for the AD group "Domain Computers" to the share.

Alternatively, you could map a drive on the fly, like this:

sDomainUser = "arp.corp\computer_fix"
sPswd = "something"

Set oNetwork = CreateObject("Wscript.Network")

oNetwork.MapNetworkDrive _
"Y:", "\\server\netlogon\some folder",, sDomainUser, sPswd


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/com...r/default.mspx
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 07:11 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.