Page 3 of 4 <1234>
Topic Options
#145772 - 2005-08-25 10:57 PM Re: Move My Documents via writevalue
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
WTF I'll just pretend I did not read that!
No need to say somebody is lazy. And if you think you should, maybe a little look in the mirror is needed.
Just trying to help someone and then you get this kind of crap


Edited by Mart (2005-08-26 12:04 AM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#145773 - 2005-08-30 10:02 PM Re: Move My Documents via writevalue
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
But.. If memory serves, you can simplify this quite a bit by using a Policy..

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#145774 - 2005-09-27 12:20 AM Re: Move My Documents via writevalue
endodave Offline
Starting to like KiXtart

Registered: 2005-08-17
Posts: 101
i'm interested in this synchronous thing so i have put the policy in and am trying to test it. explorer does not seem to wait for kix to finish. it just starts right up. is there something i am missing? does this only work on w2k machines? i am testing this on an xp machine in a 2k domain and it doesn't seem to do a darn thing. help!!
Top
#145775 - 2005-09-27 03:51 AM Re: Move My Documents via writevalue
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
If you are referring to RunLogonScriptSync GPO, I see no mention of it anywhere in this thread.

From my experience, it only works with legacy logon scripts, not GPO scripts. Are you running legacy or GPO scripts?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#145776 - 2005-09-27 06:17 PM Re: Move My Documents via writevalue
endodave Offline
Starting to like KiXtart

Registered: 2005-08-17
Posts: 101
The mention in this thread that I am referring to is:

When scripts run synchronised everything will wait until the script is finished.
Take a look here:
http://www.microsoft.com/resources/docum...n-us/gp/217.asp

--------------------
Mart

The problem with this is, I tried putting this policy in and the desktop still loads before Kixtart finishes. Maybe it's not designed for this purpose.

Top
#145777 - 2005-09-27 08:29 PM Re: Move My Documents via writevalue
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
It should do exactly as it says. Halt everything until the logonscript is done and then continue load the desktop and stuff.

If you just create a new test GPO with just the sync setting in it and apply it the proper group dies it get published to your system?

GPUPDATE /FORCE and GPRESULT helps in determining if it does.

The sync option has worked great for me in all sorts of combinations of NT4 server and workstation, Win2K server and pro, Win2K3 and XP boxes and servers.

[edit]
gpupdate is only fore XP. 2K has secupdate or something. Gpresult goes on both.
[/edit]


Edited by Mart (2005-09-27 08:32 PM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#145778 - 2005-09-27 09:26 PM Re: Move My Documents via writevalue
endodave Offline
Starting to like KiXtart

Registered: 2005-08-17
Posts: 101
hmmm, this will work with kixtart scripts too?

since i'm new to policies, i just want to make sure i understand. on the w2k server, i create the policy, assign/link it to an OU and then i have to issue a gpudate command? i thought policies were automatically pushed the next time a client logged on to the network??? is the gpupdate command issued on the server or on the xp clients? thanks! mart is a always a genious.

Top
#145779 - 2005-09-27 09:48 PM Re: Move My Documents via writevalue
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
No matter if it's batch, vb, kix or whatever if it's set as a login script in AD users and computers under each account or by GPO the sync option will work.

gpupdate is just to force an update (need to use the /force option for real forced update) and not wiat for the automatic update or do a reboot. Much faster testing using gpupdate on xp or secupdate on 2K.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#145780 - 2005-09-27 09:54 PM Re: Move My Documents via writevalue
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I still don't have a clue what you guys are talking about. The link endo gave does not work.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#145781 - 2005-09-27 10:13 PM Re: Move My Documents via writevalue
endodave Offline
Starting to like KiXtart

Registered: 2005-08-17
Posts: 101
okay, so here are some clarification questions:

1. when implementing a new policy on a w2k server for an OU that contains XP users, does that get pushed to the client at next logon/restart, or do i need to use gpudate?

2. if using gpudate, is that issued on the xp client? if so, will the client get the policies from the DC or from the local policies?

3. when creating policies in a 2K domain consisting of XP clients, should the policies be created using the xp adm files or the adm files that are on the w2k server? they are very different. for example, the synchronization setting is in w2k, but not in the xp adm. so, maybe that is why this is not working on our xp clients.

thanks!!!

Top
#145782 - 2005-09-27 10:18 PM Re: Move My Documents via writevalue
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
Dave,

Could you start a new topic on this and maybe refrence to the last part of this topic?
This is actually a topic about something else.

-1 gpupdate gives a refresh of the policy right now (wait for the doamin to sync before gpupdate or sync domain manauly in AD sites and services). Reboot also does aply new policies but reboot takes more time then gpupdate.
-2 yes. gpupdates should be done on the client. it refreshed both policies.
-3 use xp adm's. The sync option is in the xp adm's also.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#145783 - 2005-09-27 10:35 PM Re: Move My Documents via writevalue
masken Offline
MM club member
*****

Registered: 2000-11-27
Posts: 1222
Loc: Gothenburg, Sweden
I haven't read this thread completely, but if you've got an AD-domain, you really should use group policies for this instead. Why? It does all the necessary work, and it's easier when you want to do another update.
_________________________
The tart is out there

Top
#145784 - 2005-09-27 10:47 PM Re: Move My Documents via writevalue
endodave Offline
Starting to like KiXtart

Registered: 2005-08-17
Posts: 101
That's what I'm doing.

Okay Mart, here's an update. The reason why this pertains to this thread is because i am trying to remap the My Docs folder (which you helped me with previsouly - thanks a bunch!!!!). in kix, we are using a kill function to respawn the explorer.exr process to read the updated value from the reg. this is working fine, except i'd love to use a policy (i.e. the sync one which is supposed to wait for the logon script to finish before starting explorer). well, i've now got this put in the at the domain level, using the xp adm files and it is soooooo frustrating that it is not working. can anyone thing of anything i missed? i have tried both gpupdate /force and a reboot. As kixtart is running, the desktop appears and all the system tray icons are populated. explorer is finished way before the logon script finishes. therefore, the new My Docs value is not read from the reg after it has been modified by kixtart. grim!!!

Top
#145785 - 2005-09-27 10:55 PM Re: Move My Documents via writevalue
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
If the GPO is applied to the correct group and workstations in that group don't get the GPO or do get the GPO but the setting don’t work then something must be wrong with the GPO or the workstation.
When you run gpresult you see the GPO listed as applied?
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#145786 - 2005-09-27 11:06 PM Re: Move My Documents via writevalue
endodave Offline
Starting to like KiXtart

Registered: 2005-08-17
Posts: 101
Ouch!!! No! This is what it says:

The following GPOs were not applied because they were filtered out
-------------------------------------------------------------------
Test Synch
Filtering: Not Applied (Empty)

Fast Optimize Disable
Filtering: Not Applied (Empty)

Local Group Policy
Filtering: Not Applied (Empty)

Logon Sychronization
Filtering: Not Applied (Empty)

What the heck does that mean????

Top
#145787 - 2005-09-28 12:24 AM Re: Move My Documents via writevalue
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
Looks like this (never mind the SUS stuff the basics are the same):

Quote:


I understand whats going on here now. Your SUS policy defines Windows Update settings in Computer Configuration|Administrative Templates. This means that its a computer-specific policy. However, you have linked the GPO to the OU where your users are. Those user accounts will never process that GPO because they only process user-specific policy found under User Configuration. Since your machines are stored in the Computers container, you should have linked that GPO to the domain instead of your users OU.





Full info is here: http://x220.win2ktest.com/forum/topic.asp?TOPIC_ID=4901

So you got any computers in the OU the policy is linked to or is it just users in there?
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#145788 - 2005-09-28 12:30 AM Re: Move My Documents via writevalue
endodave Offline
Starting to like KiXtart

Registered: 2005-08-17
Posts: 101
just users.
Top
#145789 - 2005-09-28 12:38 AM Re: Move My Documents via writevalue
endodave Offline
Starting to like KiXtart

Registered: 2005-08-17
Posts: 101
i moved my computer from the computer container to the OU that has the policy, which is the same ou that has my user account in it. i gpupdated my machine and got the same gpresults.
Top
#145790 - 2005-09-28 12:55 AM Re: Move My Documents via writevalue
endodave Offline
Starting to like KiXtart

Registered: 2005-08-17
Posts: 101
okay, so here's what's going on... any policy i set in the users configuration runs fine. anything i set in the computer configuration doesn't process/run at all. there is something about creating a policy in the computer configuration (even though my computer is in that OU) that just won't run.
Top
#145791 - 2005-09-28 01:13 AM Re: Move My Documents via writevalue
endodave Offline
Starting to like KiXtart

Registered: 2005-08-17
Posts: 101
i read that post and i really thought we were going to solve this. i applied that gpo to the domain and unfortunately, it did not resolve the issue. i guess i'm going to have to keep the kill explorer function in my kix script. it appears as if computer-based policies will not run in my environment.
Top
Page 3 of 4 <1234>


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1662 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.081 seconds in which 0.033 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org