Questions tagged [logon-scripts]

80 questions
1
vote
2 answers

Bat file in another account

I have a bat file which will delete files in some folder (Profile Folder). But i do-not have access to that folder. But another account has access to the folder. How to run a batch file from one account by login into the another account which has…
Jaison
1
vote
1 answer

Looking for Ideas and reasons to move from a single log on script to Group Policy

So currently our senior VP in IT has a single log on script that is run via ADUC and does things like install 3rd party updates, maps networked drives, inventories computers, copies files to desktop, among other things. I'm looking for some solid…
Ericrobert
  • 171
  • 1
  • 1
  • 12
1
vote
1 answer

How to map drives to a specific user (rather than security group)?

We use a logon script to map drives for our domain users based on their security group membership. Here is an excerpt from the script, showing how anyone in the "_development (W)" group automatically gets the "\servername\development" share mapped…
Austin ''Danger'' Powers
  • 1,180
  • 6
  • 21
  • 51
1
vote
5 answers

Windows 2003 User folder mapping issue

We have a windows 2003 standard domain server/client network with about 450 users. Each user has a login script that maps shares, and syncs the time to the server. Each user account also has a user folder mapped - \\server\users$\username. Every so…
Keith
1
vote
2 answers

users unable to add registry keys to HKCU

I may not have this 100% correct so need some clarification. Are normal users on a 2003 terminal server allowed to add registry keys the their own HKCU section in the registry, or are they only allowed to edit existing ones? The reason I ask is that…
James Edmonds
  • 1,733
  • 10
  • 37
  • 59
1
vote
2 answers

Getting Windows 7 to run Scripts from Other Shares then NETLOGON

I have several Windows Server 2003 Environments I administer. These are separate disparate domains with their own structures and policies. I generalize as much as possible when I administer these environments, so I have a suite of general scripts I…
1
vote
4 answers

net use mapping not working in batch files but works in cmd

Ok so here's the problem : I've got users using logon script in the domain (username.bat). The script simply lists 4 or 5 (net use letter: \\SERVER\directory\). However, when they open their session, the logon script doesnt work and returns system…
1
vote
4 answers

NETLOGON scripts not being executed

Each user on our new domain needs to have drives mapped according to a batch file. The problem is, I have a GPO rule set to execute the following command on all domain logins: \\servername\netlogon\%username%.bat Executing this after the session…
codewario
  • 548
  • 3
  • 16
  • 36
1
vote
1 answer

Help me exorcise my demon possessed logon script

I have a user logon script that copies a file over to a subfolder of the current user's profile path: Script (only showing the line that isn't working): copy /Y c:\records\javasettings_Windows_x86.xml "%USERPROFILE%\Application…
Detritus Maximus
  • 336
  • 2
  • 4
  • 14
1
vote
0 answers

Logon script on windows server 2008 fails to run

I'm setting up two servers with windows server 2008, one running file, printer and application services, with the other one running Norman Endpoint Security. I've set up a logon script that in turn runs a kixtart script which sets up a network share…
Iron_wofle
  • 11
  • 3
1
vote
1 answer

Azure equivalent for logon script or Group Policy to launch programs on user login

We have a tool (portable exe) that runs from an on premises server in a traditional domain that launches on user login via GP (and can also run from logon script). It references a location on the domain server in the traditional manner of…
1
vote
0 answers

Location of the log for Windows first logon commands

I have PowerShell script that's set up to run as the first logon command via the unattend.xml file. The script actually does run on the first logon but I would like to know if somewhere I can find the logs from the script execution i.e. output from…
Utkarsh
  • 11
  • 1
1
vote
5 answers

Replce Kix script with Powershell

We are looking to replace our current Kix scripts with Powershell scripts and I was curious how to test group membership to map network drives. Our current kix script basically just does an if statement on every user group and tests if the user is a…
Justin Garrison
  • 293
  • 2
  • 5
  • 11
0
votes
1 answer

windows 10 local logon scripts issues

I am trying to work out how to best use Windows 10 logon scripts on a computer that is NOT domain joined: I know that I can apply a .bat file for 'all users' in this location: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp and I can…
lee
  • 13
  • 1
  • 5
0
votes
1 answer

Logon scripts from linux to linux

I have some linux desktop boxes and I would like to launch different logon scripts depending on which user logs to each computer. I would like to manage it from a centralized place, like windows gpo in active directory. Which opensouce/GNU solution…
Marc Riera
  • 1,637
  • 4
  • 23
  • 38