New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GIAC GSEC Exam - Topic 5 Question 70 Discussion

Actual exam question for GIAC's GSEC exam
Question #: 70
Topic #: 5
[All GSEC Questions]

Dilbert wants to have a script run on his Windows server every time Wally logs into it. Where should he place this script?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Weldon
2 months ago
Wait, can you really run scripts like that? Sounds risky!
upvoted 0 times
...
Sharen
2 months ago
D is for computer startup, not user logon.
upvoted 0 times
...
Nikita
2 months ago
I think A is a better option for one-time scripts.
upvoted 0 times
...
Albina
3 months ago
C looks wrong, it should be "HKEY_LOCAL_MACHINE" not "HKEY.LOCAL MACHIN".
upvoted 0 times
...
James
3 months ago
Definitely B, that's the right place for user logon scripts.
upvoted 0 times
...
Celeste
3 months ago
I keep mixing up the registry paths. I think C looks wrong because of the spelling errors, but I can't remember if D is for user or computer scripts.
upvoted 0 times
...
Ashlee
3 months ago
I feel like I saw a question similar to this where we had to choose between user and computer settings. I think B is the right answer for user logins.
upvoted 0 times
...
Rosio
4 months ago
I'm not entirely sure, but I remember something about RunOnce being for one-time scripts. So maybe option A isn't the best choice?
upvoted 0 times
...
Ciara
4 months ago
I think the script should go in the User Configuration section, like in option B. That sounds familiar from our practice tests.
upvoted 0 times
...
Shenika
4 months ago
I've got this one! The script needs to run every time Wally logs in, so the answer is B. Putting it in the user's logon/logoff scripts in the group policy is the way to go.
upvoted 0 times
...
Tiffiny
4 months ago
I'm a little confused by the options here. Is it supposed to be in the registry, or in the group policy settings? I'll have to review my notes to make sure I understand the difference between those two approaches.
upvoted 0 times
...
Ashley
4 months ago
Ah, I remember learning about this in class. The script needs to run when Wally logs in, so the answer is definitely B. Placing it in the user's logon/logoff scripts is the way to go.
upvoted 0 times
...
Ligia
4 months ago
Hmm, I'm a bit unsure about this one. I know it has something to do with running a script on login, but I'm not sure if the right place is in the user or computer configuration. I'll have to think this through carefully.
upvoted 0 times
...
Carin
5 months ago
This one seems pretty straightforward. I think the answer is B - Default Domain Policy > User Configuration > Windows Settings > Scripts (Logon/Logoff).
upvoted 0 times
...
Jeff
7 months ago
I think the answer is B, but I'm just hoping Dilbert doesn't try to use Wally's password to log in and accidentally run the script. That could end badly, like a 'cat' command in the wrong directory.
upvoted 0 times
...
Junita
7 months ago
I'm going with D. If Dilbert wants the script to run on the server itself, not just when Wally logs in, the Default Domain Policy > Computer Configuration > Windows Settings > Scripts (Startup/Shutdown) is the way to go.
upvoted 0 times
Shawnna
6 months ago
User3: I'm not sure, but I'll go with D as well. It seems like the best choice for running the script on the server.
upvoted 0 times
...
Socorro
6 months ago
User2: Yeah, I agree. D is the way to go if Dilbert wants the script to run on the server.
upvoted 0 times
...
Daniela
7 months ago
User1: I think D is the correct option. It will run the script on the server itself.
upvoted 0 times
...
...
Javier
7 months ago
Hmm, I'm torn between B and C. Maybe I should ask Wally for his input, since he's the one logging in. Oh wait, he's probably busy looking for the 'any' key on the keyboard.
upvoted 0 times
...
Fannie
7 months ago
C looks good to me. Running the script in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run registry key will ensure it runs every time the server starts up.
upvoted 0 times
Hollis
5 months ago
User 2: Yeah, that's the right place to put it. Good choice.
upvoted 0 times
...
Sabina
5 months ago
User 1: C looks good. It will run the script every time the server starts up.
upvoted 0 times
...
Janna
5 months ago
User 2: That's correct. It's important to place the script in the right location for it to run successfully.
upvoted 0 times
...
Clarinda
7 months ago
User 1: C looks good to me. Running the script in the HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run registry key will ensure it runs every time the server starts up.
upvoted 0 times
...
Meghan
7 months ago
User 2: Yeah, that makes sense. It's important to place it in the right location for it to work properly.
upvoted 0 times
...
Tamekia
7 months ago
User 1: I think C is the correct option. It will run the script every time the server starts up.
upvoted 0 times
...
...
Leota
8 months ago
I'm not sure, but I think option D could also work. It's worth considering.
upvoted 0 times
...
Blair
8 months ago
I agree with Lura, placing it in the Default Domain Policy seems like the right choice.
upvoted 0 times
...
Corrina
8 months ago
I think the answer is B. It makes sense to run the script when the user logs in, and the Default Domain Policy > User Configuration > Windows Settings > Scripts (Logon/Logoff) is the right place for that.
upvoted 0 times
Gwen
7 months ago
User4: So, we all think the script should be placed in Default Domain Policy > User Configuration > Windows Settings > Scripts (Logon/Logoff).
upvoted 0 times
...
Mose
7 months ago
User3: I agree, putting it in the Logon/Logoff scripts would run it when Wally logs in.
upvoted 0 times
...
Samira
8 months ago
User2: I agree, placing the script in the logon/logoff scripts section of the Default Domain Policy makes the most sense for running it when Wally logs into the server.
upvoted 0 times
...
Lavonna
8 months ago
User1: I think the answer is B. It makes sense to run the script when the user logs in, and the Default Domain Policy > User Configuration > Windows Settings > Scripts (Logon/Logoff) is the right place for that.
upvoted 0 times
...
Krystina
8 months ago
User2: Yeah, that makes sense. It should be in the User Configuration section.
upvoted 0 times
...
Lili
8 months ago
User1: I think the answer is B.
upvoted 0 times
...
...
Lura
8 months ago
I think the script should be placed in option B.
upvoted 0 times
...

Save Cancel