In a windows computer which have multiple user accounts how is it possible to give print permission to a specific user using powershell?
Thank You.
Related
My school has blocked literally everything on my windows laptop, I can't access cmd, gpedit.msc, regedit, setting/control panel and pretty much anything else you could think of that could disable admin restrictions. So how would i disable admin restrictions, i'm uses windows 10 (can find edition as info is blocked).i just need to be able to access one of the above mentioned things
You can not disable "admin restrictions" if you are not part of the admins group.
The Administrator is the account who can change any configuration in your computer.
There is a group called "Administrators" those accounts can change any configuration in your computer too if they have the administrator role asigned to that group.
By default the first account in your PC is the administrator.
Check this link for a better explanation.
try opening cmd using powershell by typing
"start cmd"
I have a software that do read and append a txt file that is located on the C:\ drive. It works perfect on Windows XP environment when a normal user in users group (not administrators) login and run the software.
However when using Windows 7 and login as a normal user in users group, I'm getting access denied even though I have modified the security of the text file to full access for that user and users group.
I have also change the ownership of the file to the users group and to the user itself.
If I change the path to the D:\ drive, there is no issue at all, but I need this to work on the C:\ drive.
I even tried changing ownership of the C:\ drive and adding write permissions as well and it didn't work.
I can't put the user into administrators group.
Thank you for your input.
Try opening the software as administrator and then open the txt file through the software. BTW where is it exactly located the txt file? (Sorry I cant comment , I havent 50 rep)
Can someone tell me how (in Windows 7 PRO) I can create a folder, so when I try to open it, User Account Control will ask for a Administrator's password. I need to restrict a folder on the C: drive, only be opened by administrators, and if a normal user tries to open it, he will need the Administrator's password.
You could go to Control Panel, then you go to User Account and Family Safety. Then go to Parental Control and unable it, or get your user off the list. After that, you should be able to do it.
(AT LEAST IT WORKS FOR ME!)
Assuming I am logged on as administrator, can I use PowerShell to assign a desktop background image to a specific user account?
I've seen answers similar to this one
Powershell script from shortcut to change desktop
where the following is used
RegistryKey key = Registry.CurrentUser.OpenSubKey("Control Panel\\Desktop", true);
Which, I assume, will work for the currently logged on user. How would I do that for the user that is not logged on (any user)?
The user did not have a desktop background set before.
Any other automated solution welcome, not limited to PowerShell.
The general consensus seems to be that you need to load the user's registry hive. I think this is what you're looking for: http://jrich523.wordpress.com/2012/03/06/powershell-loading-and-unloading-registry-hives/
Does anybody know how to check the permissions on the local system account on Windows Server 2008?
Right-Click My Computer-->Manage-->Local Users and Groups-->Right-Click User and Go to Properties-->Member of tab