Changing outlook logos in AD - outlook

i'm trying to find a way to change the logo (png) contained in appdata\microsoft\signatures for all the users in an active directory.
I want to do that automatically with a batch or powershell script. The only problem is that the users in this AD do not have the permission to read and modify inside the Signatures folder.
Does anyone have an idea of how can i do this?
Thank you all
I did try some script but the problem is the fact that not all the computers in the AD are on.

Related

My Google add-on script is no longer recognizing me as the owner

I don't believe there's any way to contact a human being at Google to help with this, unfortunately.
I have an add-on that I developed years ago: https://chrome.google.com/webstore/detail/doc-variables/ggigadkkljhdchdhpliohdcokbnpcnjn?hl=en
In the last few weeks (last publish 5/29/17) I can no longer publish from the script editor. It says, "Only the owner of a script can publish the script as an add-on.".
I know I own the app/script:dashboard screenshot
One item to mention is that our organization (the account associated with it) recently changed our domain. Is it possible this disconnected my ownership some how? Anyone have any ideas on what I can do?
The screenshot shows that you own the webstore item but not that you own the script itself.
If it's a standalone script, then make sure you also own the script document in Google Drive. Perhaps, the ownership has been changed or you've opened Script Editor with a different account. If the ownership has been changed and you cannot change it back, you can make a copy of the script that you'll own.

is it possible to set the windows login icon to match active directory photo?

Pretty much right there in the title. We are going to be placing employee photos into active directory. What we also want to do is use that photo as the login avatar for windows. Is there a straight forward way to do sync the two or does it have to be a script that is run any time the photo is changed?
I'm not aware of any in-box solution. You'd have to come up with some sort of scripted solution - perhaps on logon.
I'd think about your risk here though - is copying employee photos to laptops, for example, a good idea?

Adding files to all users 'My Documents' folders in Windows

I am creating an installer (using Inno Setup) for a windows application. The app has initial documents that I need to store in the users 'My Documents' folder.
Here is the issue, I install it as an Admin, but there may be one or many non admin users on that machine. How can i add that same folder to all the possible current (and future user's) My Documents folder?
Here is what i have tried so far-
1) I could try to pick up all usernames - This however, wont work for future user creations :(
2) I have tried to add it to the systems %allusersprofile%\Documents folder. It does not get reflected to individual My Documents folders.
I believe there should be a way, but have been unable to find a clean solution off the internet till now. Can anyone direct me towards the right path?
Mucho Thanks!
There isn't really a construct for this in Windows. You have a few options:
Put the document in some common place (like %allusersprofile%\Documents, or %program files%\yourCompany\yourApp\documents) and create a start menu link/icon that points to either the folder with the documents or the document itself.
Put the document into the Default User documents folder. When a new user is created, their profile is setup to mirror that of the default user. This doesn't help you with current users, but it does help you for users who haven't been created (logged on)
I'd go with option 1 because it's relatively standard and its what your average user is going to expect.
Look at Inno Setup Shell Folder Constants : {commondocs}

WIndows file access control

I have a file on a Windows 2003 NTFS file system. It is called C:\MyFolder\MyFile.txt. First grant a user read access to the file. Then I remove the user's read access to the parent folder.
Now the user cannot use Windows Explorer to browse the folder and double click to open in Notepad. The user can go to Start (menu) Run and enter "C:\MyFolder\MyFile.txt" and the file will load in Notepad.
Can someone point me to some MSDN documentation that explains why this is? I've tried all the google and bing queries I can think of.
thanks much
See the 'Traverse Folder' permission in the table on this page:
http://technet.microsoft.com/en-us/library/cc787794(WS.10).aspx
It sounds more like a TechNet article than an MSDN one to me.
If you think about a directory/folder as not a file cabinet folder but rather a index card stuck to the front of the cabinet to say what is in the cabinet. This is effectively what a folder is on the file system (a index to where the files are.)
Because you have denied the user rights to what is in the folder you have denied them access to the index card. However, if they know the precise file they want then they can still access to the file which they have permissions for as this doesn't require a check on the index card.
Behind the scenes it is obviously a little more complicated but that is the basic view. I saw this technique used quite a bit on the *nix environments when I was at Uni to hide previous years assignments from the current batch of students. However, because they hadn't removed permissions from some files the tutors could still direct them to specific examples from previous years.

Where Does Windows Vista Store The Profile Image?

I was just wondering if anyone knows where vista stores the profile images for each user account. I know in XP it is stored in C:\Documents and Settings\All Users\Application Data\Microsoft\User Account Pictures, but when I browse the equivalent path in vista, all I have is a user.bmp and a guest.bmp. I understand that these are the defaults IF I don't allow any custom user profile images, but that is not the route that I want to follow. I am assuming that vista is the same as XP where the profile image names are .bmp, but when I do a search, I cannot find any images anywhere. Has vista moved the profile image storage into the registry?
I also know that there is a temp directory, C:\Users\<username>\AppData\Local\Temp, that has the files that I am looking for, but everything I modify them, when I load the profile, they are overwritten. I assume that this is happenning because it is a temp dir. This leads me to believe that there is a master directory with all these images.
Thanks,
Johnathan
This useful post has a vb script that modifies the SAM with the help of SysInternals psexec to set the User Account Picture (aka UserTile).
I wanted to do the same, but I found out, that it is not possible under Vista to change the User Picture programmatically.
I have found the answer here:
Change user picture?

Resources